MCP server and REST API
Lyrics API and songwriting agent for your AI agents
The AISongAgent.com MCP server gives your assistant the same songwriting sessions as the studio: start a session, send messages, read the draft and its versions, pin lines, check meter and rhymes, and render the song. It spends your own credits at the studio's prices.
Server URL (Streamable HTTP)
https://aisongagent.com/mcp
Tools your assistant can call
start_session- Start a session (free), optionally from the user's own draft and with a style sheet.
send_message- One agent turn, Quick (24 credits) or Deep (74). Returns the reply, the new version and a line diff.
get_draft- The current lyrics, pins, style sheet and a link to open the session in the studio.
list_versions- Every version of a session with its note.
list_sessions- The user's sessions, newest first.
pin_lines- Pin up to 12 lines the agent must keep word for word.
check_meter- Syllables and stress per line from the pronouncing dictionary. Free.
find_rhymes- Perfect, slant and multi-syllable rhymes for a word or phrase. Free.
render_song- Sing the current version: demo 134 credits, or studio 114 per 10 s. On the top plan, pass genres (up to 4) to sing the draft once per genre.
get_render- The state of a render, with its audio link once ready.
list_prices- Credit prices for every action and the limits.
get_credits- Remaining balance and plan.
Credits are taken only by send_message and render_song, at the studio's prices, and a turn or render that fails is refunded. Everything is saved to your library.See credit prices
Connect AISongAgent.com to Claude, ChatGPT or Cursor
Choose your client, copy its config, and approve the sign-in window that opens.
In claude.ai or Claude Desktop go to Settings → Connectors, choose to add a custom connector, call it AISongAgent.com and paste the server URL. Press Connect and approve access.
https://aisongagent.com/mcp
A browser tab opens on AISongAgent.com: log in, or make a free account, then allow access. The assistant never sees your password.
Signing in once with your AISongAgent.com account
- The first call gets a 401 from the server, with a pointer to the OAuth metadata.
- The client registers (via a Client ID Metadata Document or dynamic registration) and starts a PKCE sign-in.
- You log in to AISongAgent.com and grant access to that single client on the consent screen.
- The token it receives works for https://aisongagent.com/mcp alone; it refreshes on its own and you can revoke it whenever you like.
From code: the REST API
Create an API key in Settings → API keys and call any tool as POST /api/v1/tools/<name> with a JSON body; GET /api/v1/tools lists them. The answers match the MCP tools. Co-Write and Staff Writer plans get the full hourly limit; other accounts can send a few turns an hour.
curl -X POST https://aisongagent.com/api/ v1/ tools/ start_session \ -H "Authorization: Bearer sk_..." \ -H "Content-Type: application/ json" \ -d '{"title":"Lisbon"}' curl -X POST https://aisongagent.com/ api/ v1/ tools/ send_message \ -H "Authorization: Bearer sk_..." \ -d '{"session_id":"…","message":"A hopeful song for my sister"}'
Questions from assistant users
Does the MCP server cost extra?
No. Connecting is free; agent replies and renders cost the same credits as in the studio, and meter and rhyme checks are free.
What can my assistant do?
Start a session, talk to the songwriting agent, read the draft and every version, pin lines, check meter and rhymes, and render the song. You can open the same session in the studio at any time.
What happens if a turn fails or my balance is too low?
A failed turn or render is refunded on its own. With too few credits the tool says so before charging anything.
Can my assistant ask for lyrics in an artist's style?
No. On AISongAgent.com, naming artists, asking for sound-alikes and reusing published lyrics are refused over MCP, the API and in the studio alike.
My client keeps asking me to sign in. What do I do?
Remove the server from your client and add it again; the next tool call starts a fresh sign-in.
Can I use the API without an MCP client?
Yes. Create a key under Settings → API keys and call POST /api/v1/tools/TOOL_NAME with a JSON body.
Last updated: