kie-suno6-mcp
Provides tools for interacting with Suno's AI music generation platform via Kie.ai, including generating songs, extending tracks, creating covers and personas, uploading audio, polling task status, downloading results, and checking credits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kie-suno6-mcp Create an upbeat pop song with lyrics about summer"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kie-suno6-mcp
Suno V6-first MCP server for Kie.ai. 13 tools, zero dependencies, stdio JSON-RPC. Pluggable provider registry (Kie.ai default).
Features
All 13 tools live-verified against Kie.ai (generate, wait, poll, download, download_url, upload, upload_extend, cover, persona, extend, credits, tasks, info)
Dual V6 result parser (
resultJson+sunoData), per-take candidate URL lists (asset URL first — stream URLs observed serving 0 bytes post-SUCCESS)Browser-UA downloads with sha256 two-take CDN-collision detection + auto-retry
KIE error-code mapping (400/402/409/422/429/433/451) with actionable hints
Key self-heal:
KIE_SUNO_CONFIG>KIE_SUNO_ENV_FILE(.env) > spawn env — rotated keys need no re-registrationLocal, opt-in telemetry (0.5.0): per-call usage log, deduped API-error corpus, terminal result-shape fixtures — off by default, zero network, the API key is never written
45 zero-credit unit tests (local HTTP server + fixtures + telemetry)
Related MCP server: Suno-MCP
Requirements
Node.js >= 18.17.0 (tested on 22). No npm install.
Kie.ai API key: https://kie.ai/api-key
Install
git clone https://github.com/jk123/kie-suno6-mcpMCP client (stdio) — Hermes config.yaml style:
kie-suno6-mcp:
command: node
args: ["/path/to/kie-suno6-mcp/server.js"]
env:
KIE_AI_API_KEY: "sk-..." # or KIE_SUNO_ENV_FILE: /path/to/.envmcpm:
mcpm new kie-suno6-mcp --type stdio --command node --args /path/to/kie-suno6-mcp/server.jsConfiguration
Variable | Default | Purpose |
|
| Provider registry key |
| — | Kie.ai key (any of the 3 resolution paths) |
| — | Path to JSON config overriding env |
|
| .env with |
| cwd | Where |
|
| Collision-retry delay |
|
| Set |
|
| Where telemetry files are written |
Tools (credit cost)
Free: suno_info, suno_credits, suno_poll, suno_tasks, suno_download, suno_download_url, suno_wait.
Paid: suno_generate (~12 cr/task, 2 takes), suno_extend, suno_upload, suno_upload_extend, suno_cover (≈2 × generate, source-dependent), suno_persona (≈2 × generate).
Known behaviors
suno_personaupserts ontaskId+audioId(no 409; re-calls overwrite name/description in place)suno_downloadprefers persistenttempfile.aiquickdraw.comasset URLs overaudiostream.kie.aistream URLssuno_extend/suno_upload_extend:defaultParamFlag=falseinherits source params;truerequiresprompt+style+title+continueAtFresh V6 tasks return results via
sunoData, notresultJson
Telemetry (0.5.0)
Local, opt-in, zero-network usage + debug capture for driving the next dev
cycle. Everything writes to <repo>/.telemetry/ (gitignored) and nothing
ever leaves the machine.
Default: OFF for anyone who clones. Enable with
KIE_SUNO_TELEMETRY=on(spawn env, or aKIE_SUNO_TELEMETRY=online in yourKIE_SUNO_ENV_FILE.env— same self-healing source as the API key).What it captures:
usage-YYYY-MM-DD.jsonl— one line per boot + per tool call: tool, sanitized args, duration, ok/error, and a compact result summary. Pruned after 30 days.errors.json— a deduped index of API-error responses (code + msg hash → count, first/last seen, URL, 2 KB body excerpt). This is where a live 433/402/451/429 gets its real shape captured.shapes/*.json+shapes-index.jsonl— terminal record-info payloads, deduped by structural signature, so a first-ever V6_WILD (or a newresultJsonshape) becomes a drop-in unit-test fixture. Capped at 60 files.
Privacy floor: the API key is never written (only its source label, e.g.
env-file(~/.hermes/.env));fileBase64becomes a byte-length stub;prompt/descriptionare truncated to 80 chars + total length.Self-disarm: a failed write disables telemetry for the process lifetime instead of ever breaking a tool call.
Digest for the next version:
node telemetry-report.js(add--jsonfor machine output) → per-tool call/error counts + p50/p95 latency, top captured errors, and a test-candidates list (error codes / result shapes seen live but not yet fixture-tested).
Test
node test/unit.js # 45/45, no API access needed
node smoke.js # JSON-RPC handshake, free
node telemetry-report.js # digest of .telemetry/ (if enabled)Not yet tested live
433/402/451/429 error paths and the V6_WILD resultJson shape are still
unit-mapped/fixture-only — with telemetry on, the first live occurrence is
now captured automatically into .telemetry/ (see node telemetry-report.js
→ test candidates), so they can be promoted to fixtures as they happen.
A/B persona quality remains an ear test.
MIT. No secrets in this repo.
Available Tools
13 toolssuno_coverC
Cover generation from an uploaded source (upload-cover). Supports personaId. Costs credits. Returns task_id.
Inputs: uploadUrl (required), model, style, title, +10 more.
suno_creditsA
Current credit balance. Free, no-credit check for 402/433 triage.
Inputs: no named parameters.
suno_downloadA
Download all takes of a finished task with browser-UA (Cloudflare 403 avoidance) + sha256 two-take collision check (CDN race ~30s). Free.
Inputs: taskId (required), hint, destDir.
suno_download_urlC
Download a single asset URL (browser-UA).
Inputs: url (required), hint, destDir.
suno_extendA
Extend an existing Suno task's take (generate/extend). Omit custom fields to inherit source params (only audioId+model needed). In custom mode (any of prompt/style/title/continueAt set, or defaultParamFlag=true) ALL of prompt+style+title+continueAt are required — model must match the source model version. Costs credits. Returns task_id.
Inputs: taskId (required), audioId (required), model, style, +12 more.
suno_generateA
Submit text-to-music (Suno). Costs credits immediately (~12 for V6). Returns task_id. One task = 2 takes — do NOT submit twice for options. suno_poll/wait parse results from either resultJson (V6) or sunoData (observed live shape) automatically.
Inputs: model, style, title, prompt, +9 more.
suno_infoB
Server self-description: provider, default model, download dir, available providers. Free.
Inputs: no named parameters.
suno_personaA
Create a persona (voice fingerprint) from a SUCCESSFUL task's take. Costs credits. OBSERVED (2026-09-22): re-calling with the same taskId+audioId does NOT 409 — it returns the same personaId and OVERWRITES name+description in place. Always send the full intended description; a careless re-call pollutes it.
Inputs: name (required), taskId (required), audioId (required), description (required), +7 more.
suno_pollB
Check a task (record-info). V6-aware: parses resultJson, gates on terminal status + non-empty audio, warns instead of tempting re-submission. Free.
Inputs: taskId (required).
suno_tasksB
Summarize poll status for a list of task ids in one call (free).
Inputs: task_ids (required).
suno_uploadA
Upload an MP3 to the kie.ai CDN (file-stream-upload). Required first step before suno_cover or suno_upload_extend — third-party URLs fail with 'File fetch failed'. Free (no generation credits).
Inputs: fileName, filePath, fileBase64, uploadPath.
suno_upload_extendB
Extend uploaded audio (upload-extend). continueAt is REQUIRED (seconds, 0 < continueAt < source duration). defaultParamFlag=false: uploadUrl+prompt+continueAt. defaultParamFlag=true: also style+title (instrumental=false). Model must match source model version. Costs credits. Returns task_id.
Inputs: uploadUrl (required), continueAt (required), model, style, +5 more.
suno_waitA
Block until a task is terminal (default poll 12s, max 900s). Returns final status + audio URLs.
Inputs: taskId (required), timeoutSeconds, intervalSeconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools target clear distinct actions: upload, generate, cover, extend, persona, poll/wait/download, credits. Some boundary overlap exists between suno_poll, suno_wait, and suno_tasks, and between suno_extend and suno_upload_extend, but descriptions clarify the different use cases.
All tools share the consistent suno_ prefix and use lowercase snake_case. The pattern mixes verbs (generate, upload, poll, wait) with nouns (info, tasks, persona, credits), which is a minor deviation from a strict verb_noun scheme.
13 tools is well-scoped for a Suno API server covering generation, extension, uploads, personas, status polling, downloads, and credit checks. Each tool addresses a meaningful part of the workflow without redundant bloat.
The toolset covers the full generation lifecycle: upload sources, create covers/extensions, submit text-to-music, create personas, poll/wait for results, and download outputs. Minor gaps like canceling in-progress tasks or listing previous tasks are not covered, but agents can complete primary workflows without dead ends.
Maintenance
Related MCP Connectors
Generate full songs with vocals, instrumentals and sound effects from text. One server for Suno, Google Lyria, Mureka, MiniMax, ACE-Step, YuE and ElevenLabs. Your agent can quote the credit cost before generating, start a song, wait for it to finish and return download links. Sign in with OAuth; optional daily credit caps; retries never charge twice.
Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
AI songwriting studio: lyrics, Suno prompts, cover art, lyric and music videos, release planning.
AI music studio: song generation with vocals, covers, stems, voice conversion, mastering, editing.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI music generation through Suno, allowing users to create songs with custom lyrics or AI-generated content, wait for completion, and download MP3 files.7ISC
- AlicenseAqualityDmaintenanceEnables music generation through Suno AI, providing tools for account authentication, prompt-based track creation, and automatic downloading of audio files. It facilitates seamless AI music production workflows within Claude Desktop via Playwright-driven browser automation.103MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI music generation via Suno AI, allowing users to generate tracks with prompts and styles, and download them as MP3.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI music generation and management through the Suno API, supporting text prompts, custom lyrics, track status monitoring, and credit management.16-