Model Context Protocol
Compose classical music from Claude, ChatGPT or Cursor
The sonatai.net MCP server lets your assistant compose movements in classical forms on your account and hand you the links. Editing the form map and choosing takes stay on the website.
Server URL (Streamable HTTP)
https://sonatai.net/mcp
Composer tools your assistant can call
list_prices- Credit prices for each engine and the length limits.
compose_movement- Compose a movement in a classical form: 126 credits on Sketch, 266 on Chamber or 116 per 10 s on Concert.
retake_section- Render one section of a finished movement again as a new take: 266 credits.
get_movement- The state of one movement, with its audio link once ready.
list_movements- Your latest movements and retakes, newest first.
get_credits- Remaining balance and plan.
Your balance only moves once a movement starts rendering; if the engine gives up, those credits come straight back. The finished movement lands in your library.See credit prices
Connect sonatai.net to Claude, ChatGPT or Cursor
Choose your assistant below, copy its config, and approve the sign-in window that follows.
In claude.ai or Claude Desktop, go to Settings → Connectors and add a custom connector called sonatai.net with the URL above. Connect, then approve the request.
https://sonatai.net/mcp
A sonatai.net window opens in your browser; sign in or make a free account, then choose Allow access. The assistant never sees your password, and no key changes hands.
Signing in once with your sonatai.net account
- The first call to the server comes back 401, with a pointer to the OAuth metadata.
- The assistant introduces itself, by Client ID Metadata Document or by dynamic registration, and starts a PKCE sign-in.
- On sonatai.net you sign in and approve that single client on the consent page.
- The assistant receives a token limited to https://sonatai.net/mcp; it renews itself, and you can revoke it whenever you want.
Composing from code without a browser
Sign-in is OAuth only for now, with no API keys. Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf all support it.
{
"mcpServers": {
"sonatai-net": {
"url": "https://sonatai.net/ mcp"
}
}
}Questions from assistant users
Is composing through an assistant priced differently?
No. Linking your assistant costs nothing, and each movement it renders is charged at the same credit price as the Compose page.
Which parts of a composition can the assistant handle?
Pick a form, ensemble, key and length, compose the movement, retake a section, check on jobs and read back the audio links. Editing the form map section by section and choosing takes happen on the website.
What if a movement fails to render, or I run short of credits?
A job takes credits only when it starts, and a render that fails comes back as credits on its own. With too few credits the tool says so and points to the pricing page.
Can my assistant imitate a named composer?
No. On sonatai.net, over MCP and in the studio alike, public-domain composer names become era words, and living composers, work titles and catalogue numbers are refused.
The assistant keeps sending me back to the sign-in page. How do I fix it?
Remove sonatai.net from your assistant's server list and add it back; the next tool call starts a fresh sign-in.
How soon is a movement ready, and where can I hear it?
Usually one to three minutes, so the assistant may check back once. Every movement is saved in your library with its form map.
Last updated: