# Your practice pieces in Claude, ChatGPT or Cursor

> The TrySonata.net MCP server lets your assistant write an etude or sonatina for your instrument and level, aimed at the patterns you miss, and read your progress. Pieces land in your library on TrySonata.net, where you play them with scoring.

Server URL (Streamable HTTP): `https://trysonata.net/mcp`

## Connect your chat app

### Claude

In claude.ai or Claude Desktop go to Settings → Connectors → Add custom connector. Call it TrySonata.net, paste the URL, then press Connect and approve.

```
https://trysonata.net/mcp
```

### Claude Code

Run this in a terminal, then type /mcp inside Claude Code and pick the server to sign in.

```
claude mcp add --transport http trysonata-net https://trysonata.net/mcp
```

### ChatGPT

In ChatGPT open Settings → Apps & Connectors → Advanced and turn on developer mode, then Create a connector with this URL and OAuth authentication.

```
https://trysonata.net/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login trysonata-net to sign in.

```
[mcp_servers.trysonata-net]
url = "https://trysonata.net/mcp"
```

### Cursor

Add the server to ~/.cursor/mcp.json (or Settings → MCP → Add new server). Cursor shows a Login button for it.

```
{
  "mcpServers": {
    "trysonata-net": {
      "url": "https://trysonata.net/mcp"
    }
  }
}
```

### VS Code

Save as .vscode/mcp.json in your workspace (or run MCP: Add Server). VS Code asks you to sign in on the first tool call.

```
{
  "servers": {
    "trysonata-net": {
      "type": "http",
      "url": "https://trysonata.net/mcp"
    }
  }
}
```

### Windsurf

Add it to ~/.codeium/windsurf/mcp_config.json and refresh the MCP panel in Cascade.

```
{
  "mcpServers": {
    "trysonata-net": {
      "serverUrl": "https://trysonata.net/mcp"
    }
  }
}
```

A TrySonata.net tab opens in your browser: log in, or make a free account, then choose Allow access. The assistant never sees your password, and there is no key to paste.

## What happens during sign-in

1. The first call from your client gets a 401 reply that names our OAuth metadata URL.
2. The client then registers (via a Client ID Metadata Document or dynamic client registration) and opens a sign-in page protected by PKCE.
3. On TrySonata.net you log in and grant access to that single client on the consent page.
4. The token it receives is scoped to https://trysonata.net/mcp, renews on its own and can be revoked whenever you like.

## Automations without a chat window

There are no API keys. Every client signs in through OAuth, and Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf all support it.

## What your assistant can call

- `create_practice_piece`: Write an etude (76 credits) or a sonatina (286) for an instrument and level, aimed at your misses.
- `create_practice_set`: Batch, Pro only: write a set of up to 6 etudes in one run (needs an active Recital Ready plan).
- `check_practice_piece`: Check a piece that is still being written. Free.
- `list_practice_pieces`: Your latest pieces, newest first. Free.
- `get_practice_piece`: One piece as ABC notation. Free.
- `get_practice_progress`: Accuracy trend, streak and most-missed patterns. Free.
- `get_credits`: Your balance and plan. Free.

Credits are taken only when an AI piece is written, at the same prices as the site, and failed jobs are refunded automatically. Reading pieces and progress is free.

## Troubleshooting

- Stuck on 'needs authentication': remove the server and add it again so the client restarts OAuth.
- “Not enough credits”: top up on the pricing page, then ask again. Nothing was charged.
- A piece is still “running”: ask the assistant to check it again in a minute.
- 401 with a key starting sk_: this site has no API keys. Remove the header and sign in with OAuth.

## Connector questions

### Is the connector priced separately?

No. Linking an assistant costs nothing; an etude it writes spends the same 76 credits it would on the site.

### What can I ask my assistant to do?

Write an etude or sonatina for an instrument and level, aimed at your misses or a focus you name; check a piece in progress; list and read your pieces as ABC notation; and read your progress and most-missed patterns.

### What if a piece fails or I run out of credits?

A failed piece hands its credits back on its own. With too small a balance the tool says so and charges nothing.

### Can my assistant review a recording?

Not through the connector. Piano take reviews record in your browser on TrySonata.net; the takes and progress they produce are available to your assistant.

### Why does my client keep asking me to sign in again?

Delete the server in the client and add it back; that forces a new OAuth sign-in from scratch.

### How fast is a piece, and where do I find it?

Most etudes are ready within a minute. Each one is saved to your library on TrySonata.net; the assistant gets the ABC notation and the link.


---

Source: https://trysonata.net/mcp-server · Site index for AI agents: https://trysonata.net/llms.txt · Full content: https://trysonata.net/llms-full.txt
