Quickstart (Under 60 Seconds)
Connect Your AI Client With One-Click OAuth
Select your client below. Every OAuth-capable MCP host discovers our authorization server automatically via /.well-known/oauth-protected-resource, registers itself via PKCE S256, and redirects you to a clean Song Maker Online approval card:
https://songmakeronline.com/api/mcpCursor natively supports Streamable HTTP MCP with OAuth 2.1 + PKCE. Adding this entry triggers a one-time browser sign-in prompt.
{
"mcpServers": {
"songmakeronline": {
"url": "https://songmakeronline.com/api/mcp"
}
}
}- 1Open .cursor/mcp.json in your project (or global ~/.cursor/mcp.json).
- 2Paste the server block below and save.
- 3Click Connect in Cursor Settings → Tools & MCP and approve the browser authorization prompt.
Execution Architecture
How the Async Song Generation Lifecycle Works
Full stereo songs with vocals take 45–90 seconds to render—longer than many MCP client HTTP read timeouts. To guarantee zero dropped requests, generation tools are strictly non-blocking and split cleanly into submit + poll:
Preflight & Prompting (0 Credits)
Optional · InstantYour agent can inspect remaining credits via get_account_credits, pull genre/structure formulas via get_song_prompt_guide, or draft bracketed lyrics with generate_lyrics before spending a single credit.
Submit Async Job (3 Credits Song · 2 Credits SFX)
~1s ResponseCalling create_song (or create_sound_effect) validates inputs, reserves credits atomically, starts SongMaker V6/V7 synthesis, and immediately returns a task_id UUID along with recommended poll interval guidance.
Poll get_song_status Every 10–15 Seconds (0 Credits)
45–90s Typicalget_song_status refreshes upstream job progress and verifies strict per-user ownership. While rendering, it returns status: "processing". Once complete, status flips to "success" with permanent Cloudflare R2 MP3 URLs, cover art, durations, lyrics, and shareable song pages (https://songmakeronline.com/song/<id>).
Specification
Complete MCP Tool Reference (8 Production Tools)
All tools are exposed via JSON-RPC 2.0 tools/list and tools/call at https://songmakeronline.com/api/mcp and mirrored in our public OpenAPI 3.1 document (/openapi.json) and MCP Server Card (/.well-known/mcp.json).
create_songOAuth / Bearer KeySubmits an asynchronous SongMaker V6 or V7 generation job producing two complete vocal or instrumental tracks.
| Parameter | Type | Description |
|---|---|---|
| prompt* | string | Song description (simple mode) or concise concept summary (when custom lyrics are supplied). Max 500 chars. |
| lyrics | string | Exact lyrics with [Verse], [Pre-Chorus], [Chorus], [Bridge] tags. Supplying lyrics switches the job to Custom Lyrics mode. |
| style | string | Genre, BPM feel, instruments, and vocal character (e.g., "80s synthwave, warm pads, female vocals, 110 bpm"). Max 1000 chars. |
| title | string | Optional song title (max 80 chars). |
| instrumental | boolean | Set true for pure instrumental tracks with zero vocals (default: false). |
| model | "v6" | "v7" | SongMaker model version ("v6" default, or "v7"). |
| vocal_gender | "f" | "m" | Optional vocal register hint ("f" female or "m" male). |
Returns: { task_id, status: "processing", model, credits_used: 3, estimated_seconds, poll_tool: "get_song_status" }
get_song_statusOAuth / Bearer KeyPolls live status for a task_id owned by the authenticated user and returns finished permanent MP3 URLs and share links.
| Parameter | Type | Description |
|---|---|---|
| task_id* | string | UUID returned by create_song or create_sound_effect. |
Returns: { task_id, status, songs: [{ id, title, audio_url, image_url, duration, lyrics, share_url }] }
create_sound_effectOAuth / Bearer KeyGenerates custom Foley, game UI cues, transitions, or cinematic audio effects asynchronously from text.
| Parameter | Type | Description |
|---|---|---|
| prompt* | string | Detailed acoustic description (e.g., "crisp glass UI chime with gentle sub bass, 1 second"). Max 500 chars. |
| title | string | Optional label for the audio clip (max 80 chars). |
Returns: { task_id, status: "processing", credits_used: 2, poll_tool: "get_song_status" }
generate_lyricsOAuth / Bearer KeyWrites structured [Verse]/[Chorus]/[Bridge] lyrics ready to pass directly into create_song.
| Parameter | Type | Description |
|---|---|---|
| topic* | string | Story, recipient name, theme, or memories (max 300 chars). |
| genre | string | Musical genre hint (e.g., indie folk, hip hop, pop). |
| mood | string | Emotional tone (e.g., joyful, nostalgic, cinematic). |
| pov | string | Narrative point of view (e.g., first person, second person). |
| locale | "en" | "es" | "pt" | "fr" | "de" | Output language code (default: "en"). |
Returns: { title, lyrics, style_suggestion, remaining_daily_lyric_runs }
get_account_creditsOAuth / Bearer KeyChecks the signed-in user’s exact credit balance and remaining song runs before kicking off generation.
Returns: { remaining_credits, estimated_song_runs, estimated_song_versions, pricing_url }
get_song_prompt_guidePublic or OAuthReturns curated prompt recipes, BPM/vocal cues, and lyric structure rules tailored to a genre or occasion.
| Parameter | Type | Description |
|---|---|---|
| genre | string | Target genre (e.g., pop, synthwave, acoustic folk, lo-fi, country, hip-hop). |
| occasion | string | Target occasion (e.g., birthday, wedding, podcast intro, indie game bgm). |
Returns: Structured style formula, recommended structure tags, and do/don’t guidelines.
get_pricing_and_licensingPublic or OAuthReturns live pricing plans, non-expiring credit packs ($9.90 Mini / $50 Starter / $100 Creator), and retroactive commercial licensing terms.
Returns: Structured pricing catalog, credit math, free allowances, and commercial rights policy.
list_audio_toolsPublic or OAuthLists canonical URLs for Song Maker Online’s AI music generators, AI post-production tools, and 25+ local zero-upload browser audio tools.
| Parameter | Type | Description |
|---|---|---|
| category | "all" | "ai-music" | "ai-audio" | "free-browser-tools" | Optional category filter (default: "all"). |
Returns: Categorized directory of canonical tool URLs and descriptions.
Machine Discovery
Well-Known Discovery, OAuth 2.1 & OpenAPI Endpoints
Every discovery document is served over HTTPS with CORS enabled so MCP registries, agent frameworks, and developer tools can introspect Song Maker Online automatically:
| Criterion | Endpoint Path | Purpose & Standard |
|---|---|---|
Remote MCP Server | https://songmakeronline.com/api/mcp | Streamable HTTP JSON-RPC 2.0 server (GET metadata, POST JSON-RPC, 401 OAuth challenge) |
MCP Server Card | https://songmakeronline.com/.well-known/mcp.json | Machine-readable MCP registry metadata, capabilities, and OAuth links |
OAuth Protected Resource | https://songmakeronline.com/.well-known/oauth-protected-resource | RFC 9728 resource metadata advertising authorization server & mcp:tools scope |
OAuth Authorization Server | https://songmakeronline.com/.well-known/oauth-authorization-server | RFC 8414 metadata: /api/oauth/authorize, /api/oauth/token, /api/oauth/register, /api/oauth/revoke |
OpenAPI 3.1 Schema | https://songmakeronline.com/openapi.json | OpenAPI 3.1 specification for GPT Actions and custom HTTP integrations |
Public Agent Skill | https://github.com/mellowrsa03/awesome-ai-song-prompts | Installable via npx skills add mellowrsa03/awesome-ai-song-prompts (+ /.well-known/agent-skills/index.json) |
Service Health & LLMs Index | https://songmakeronline.com/status.json · /llms.txt | Live service status JSON and AI routing index with clean Markdown alternates |
Trust & Safety
OAuth 2.1 Security Model, Credit Guardrails & Instant Revocation
Connecting an AI assistant to a paid creative studio should never mean pasting a permanent master credential into random config files. Our OAuth 2.1 implementation enforces S256 PKCE challenges on every authorization flow, binds signed authorization codes to single-use atomic redemption, restricts callback URIs to HTTPS, loopback, and known desktop IDE schemes, and enforces strict owner verification on every get_song_status lookup so one user can never inspect another user’s tasks.
Every approved OAuth connection appears cleanly in your Account Settings → API Keys panel (/settings/apikeys) labeled with the client name (for example, "MCP · Cursor" or "MCP · ChatGPT"). Deleting the token—or calling POST /api/oauth/revoke per RFC 7009—invalidates access instantaneously. Your agent can never charge your payment card directly: it only spends credits already in your balance (starting with free sign-up/check-in credits or a $9.90 non-expiring Mini pack).
Questions & Answers
Frequently Asked Questions
Does connecting via MCP cost extra on top of normal Song Maker Online credits?
No. Remote MCP access is completely free to connect and uses the exact same credit math as the web studio: 3 credits per create_song run (2 full songs), 2 credits per create_sound_effect run, and 0 credits for generate_lyrics, get_account_credits, and get_song_status.
Why does POST /api/mcp return HTTP 401 when tested without credentials?
That is required by the official MCP OAuth 2.1 specification (RFC 9728). Returning HTTP 401 with a WWW-Authenticate header pointing to /.well-known/oauth-protected-resource tells ChatGPT, Cursor, Codex, and Claude Code to automatically launch the 1-click OAuth browser login flow. Public discovery metadata is always available via GET /api/mcp and GET /.well-known/mcp.json.
Can I still use a manual Bearer API key for headless scripts or CI?
Yes. Sign in to https://songmakeronline.com/settings/apikeys, create a personal API key (sk-...), and pass Authorization: Bearer sk-... in your HTTP headers. OAuth and manual keys share the exact same revocation controls and credit accounting.
What happens if a generation fails—do I lose my 3 credits?
No. Song Maker Online’s task guard leases credits safely and automatically refunds failed upstream provider generations back to your balance.
Are MP3 URLs returned by get_song_status temporary or permanent?
Permanent. Once a task completes, Song Maker Online persists the audio and cover artwork to our R2 CDN and returns stable MP3 download URLs alongside shareable player pages (https://songmakeronline.com/song/<id>).
What is the difference between the Remote MCP server and the Agent Skill?
The Remote MCP server (/api/mcp) gives your AI assistant live tools to actually render MP3 songs and sound effects on your account. The Agent Skill (npx skills add mellowrsa03/awesome-ai-song-prompts) gives coding and writing agents domain knowledge—how to write singable syllable counts, choose V6 vs V7, pick non-vocal style tags, and poll async tasks cleanly. They work best together.
Can MCP-generated songs be used commercially in apps, games, and videos?
Yes, whenever your account has any paid plan or one-time credit pack (including the $9.90 non-expiring Mini pack for 120 credits / 80 song versions). Commercial rights apply identically to web-studio and MCP-triggered generations.
Which MCP protocol versions does Song Maker Online support?
The Streamable HTTP server negotiates MCP protocol versions 2025-06-18, 2025-03-26, and 2024-11-05 over JSON-RPC 2.0, including tools, resources (llms.txt, pricing.md, agents.md, skill.md), and reusable songwriting prompts.
Build With Real Audio
Connect /api/mcp in 30 seconds and render your first track from chat
Start free with sign-up and daily check-in credits, or load 120 non-expiring commercial credits for $9.90—zero monthly subscription required.
Further Reading & Guides
Step-by-step ChatGPT walkthrough plus four copy-ready prompt recipes for vocals and instrumentals.
Hear four playable studio demos and see how Song Maker Online compares to Suno and Udio.
Non-expiring $9.90 credit math and retroactive commercial rights explained.
Compare monthly/yearly subscriptions and never-expiring credit packs.