# Your scores in Claude, ChatGPT or Cursor

> The Sonato.net MCP server lets your assistant write a new score from a brief, harmonise or arrange one of yours, transpose it for any instrument and share a link. The scores open in the editor on Sonato.net to play and export.

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

## Add Sonato.net to your assistant

### Claude

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

```
https://sonato.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 sonato-net https://sonato.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://sonato.net/mcp
```

### Codex

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

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

### Cursor

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

```
{
  "mcpServers": {
    "sonato-net": {
      "url": "https://sonato.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": {
    "sonato-net": {
      "type": "http",
      "url": "https://sonato.net/mcp"
    }
  }
}
```

### Windsurf

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

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

A Sonato.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.

## How the browser sign-in works

1. Your client asks the server for a tool list, gets a 401 answer, and reads where to sign in from our OAuth metadata.
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 Sonato.net you log in and grant access to that single client on the consent page.
4. Its token only works on https://sonato.net/mcp, refreshes itself, and you can revoke it at any time.

## Scripts and agents with no chat app

API keys are not offered yet. Every client authorises through OAuth, and Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf all support that.

## Score tools your assistant gets

- `generate_score`: Write a new piece from a short brief, for melody, piano, choir, strings or a duo. 66 credits (Pro 266).
- `edit_score`: Harmonise, arrange, simplify or extend a saved score; the old version is kept. 66 credits (Pro 266).
- `transpose_score`: Transpose by semitones or write a part for B♭, E♭ or F instruments. Free.
- `get_score`: Read a saved score as ABC notation, with its bars and voices. Free.
- `create_score`: Save ABC notation as a new score; imports need a rights answer. Free.
- `share_score`: Make or turn off a read-only share link. Free.

Credits are taken only when an AI tool runs, at the same prices as the editor, and failed runs are refunded automatically. Reading, saving, transposing and sharing are 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 score 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.

## MCP server FAQ

### Does the MCP server cost extra?

No. Linking an assistant costs nothing; a score it writes spends the same 66 credits it would in the editor.

### Which score tasks can I hand to my assistant?

Writing a score from a brief, and harmonising, arranging, simplifying or extending one. It can also transpose a score for an instrument, read it as ABC, save ABC as a new score, and share or delete scores.

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

A score that fails the notation check hands its credits back on its own. With too small a balance the tool says so and charges nothing.

### Can my assistant upload a MusicXML or MIDI file?

Not as a file. Import files in the editor on Sonato.net; every score you save there is available to your assistant with list_scores. Your assistant can save ABC text with create_score.

### My client asks me to sign in every time. What fixes it?

Remove the Sonato.net server from the client, add it again and allow access once more; the client then starts a clean sign-in.

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

Most scores finish within a minute. Each one is saved to My scores on Sonato.net and opens in the editor; the assistant gets its link.


---

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