About SunoBoard
SunoBoard is an open-source MCP server that lets AI assistants generate music through Suno and, with a SunoBoard key, create sound effects and use additional models. It is for people producing audio for games, videos, and other projects.
Key features
- 01Generate music from prompts
- 02Poll generation tasks and retrieve audio URLs
- 03Create sound effects with a SunoBoard key
- 04Browse models and recent tracks
- 05Check credits and usage
Use cases
- 01Create background music for a game or video
- 02Generate instrumental tracks or songs with lyrics
- 03Produce batches of game sound effects
- 04Check generation status and remaining credits
MCP support
The server exposes music-generation and status tools to MCP clients, plus extra sound-effect, model, and account tools when using a SunoBoard key. It can run locally or connect through the hosted connector.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.sunoboard.com/mcpclaude mcp add --transport http com-sunoboard-sunoboard https://mcp.sunoboard.com/mcp{"mcpServers":{"com-sunoboard-sunoboard":{"type":"http","url":"https://mcp.sunoboard.com/mcp"}}}Open in Cursor{"servers":{"com-sunoboard-sunoboard":{"type":"http","url":"https://mcp.sunoboard.com/mcp"}}}Open in VS Code{"mcpServers":{"com-sunoboard-sunoboard":{"type":"http","url":"https://mcp.sunoboard.com/mcp"}}}{"mcpServers":{"com-sunoboard-sunoboard":{"serverUrl":"https://mcp.sunoboard.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project README@yellowkode/suno-mcp
MCP Server for Suno AI — Generate music directly from Claude, VSCode, Cursor, and any MCP-compatible client.
by YellowKode Academy · sunoboard.com
What is this?
@yellowkode/suno-mcp is an open-source Model Context Protocol (MCP) server that connects Claude and other AI assistants directly to the Suno AI music generation API.
Instead of manually calling the API, you can just tell Claude:
"Generate a dark ambient viking instrumental, slow drums, cinematic, no vocals"
...and Claude handles the full generation flow automatically.
Prerequisites
- Node.js 18+
- A Suno API key — two options:
| Option | Key format | Where to get |
|---|---|---|
| SunoBoard (recommended) | sb_... | sunoboard.com — generations saved to your dashboard |
| sunoapi.org (BYOK) | abc123... | sunoapi.org → Dashboard → API Keys |
The server auto-detects which API to use based on the key prefix. No extra config needed.
Quick start
# One-shot (no install needed)
SUNO_API_KEY=your_key npx @yellowkode/suno-mcp
# Or install globally
npm install -g @yellowkode/suno-mcp
Setup
Claude Desktop
Edit claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"suno": {
"command": "npx",
"args": ["@yellowkode/suno-mcp"],
"env": {
"SUNO_API_KEY": "your_key_here"
}
}
}
}
Claude Code (terminal)
claude mcp add suno \
-e SUNO_API_KEY=your_key_here \
-- npx @yellowkode/suno-mcp
Cursor / Cline (VSCode)
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"mcpServers": {
"suno": {
"command": "npx",
"args": ["@yellowkode/suno-mcp"],
"env": {
"SUNO_API_KEY": "your_key_here"
}
}
}
}
Available Tools
| Tool | Description |
|---|---|
generate_music | Start music generation — returns a taskId |
get_music_status | Check generation status by taskId |
wait_for_music | Auto-poll until ready, returns audio URL (up to 5 min) |
list_recent_music | List recently generated tracks |
get_credits | Check remaining API credits |
With a SunoBoard key (sb_...) you also get:
| Tool | Description |
|---|---|
generate_sfx | Generate a sound effect from text (footsteps, coins, doors, UI clicks, whooshes…), 0.5–10 s, ready in ~2 s. Pass public: true to also share it on SunoBoard Discover |
list_models | Music and SFX models (Suno, Google Lyria, MiniMax, Stable Audio, ElevenLabs, TangoFlux) with what each costs |
get_usage | Credits and sound effects left this month, reset date, your default models |
search_library | Search the public SunoBoard library of ready-made tracks (free) |
get_referral_link | Your referral link (bonus credits for you and a friend) |
With a SunoBoard key, generate_music also accepts model = lyria-3-pro, minimax-2.6, stable-audio-2.5 or elevenlabs-music (plus duration_seconds where supported). Get your key at sunoboard.com/settings — or skip the install and add the hosted connector https://mcp.sunoboard.com/mcp (guide).
generate_music parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt | string | required | Music description or lyrics (in custom mode) |
model | string | V4_5 | V4 · V4_5 · V4_5PLUS · V4_5ALL · V5 · V5_5 |
style | string | — | Style tags e.g. "ambient dark, slow drums" |
title | string | — | Track title (required in custom mode) |
instrumental | boolean | false | Generate without vocals |
customMode | boolean | false | Use prompt as literal lyrics |
vocalGender | "male" | "female" | — | Vocal preference (custom mode only) |
negativeTags | string | — | Styles to avoid e.g. "heavy metal" |
styleWeight | 0–1 | 0.5 | Style adherence |
weirdnessConstraint | 0–1 | 0.5 | Creativity vs. predictability |
audioWeight | 0–1 | 0.5 | Audio quality weight |
Usage Examples
Basic
"Generate a relaxing lo-fi hip hop track for studying"
Claude calls generate_music → wait_for_music and returns the audio URL.
Game development
"Generate dramatic battle music for an RPG boss fight, orchestral, no lyrics, intense"
Sound effects for your game (SunoBoard key)
"Here's my list of 20 sounds (footsteps on grass, coin pickup, door creak…). Generate each one with generate_sfx and save them to assets/audio/sfx"
Custom lyrics
"Generate a song with these lyrics: [paste lyrics], style: indie pop, female vocals"
With full control
"Generate music: prompt='cosmic meditation', style='deep space ambient, synth pads', model=V5, instrumental, weirdness=0.7"
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
SUNO_API_KEY | ✅ | — | Your API key (sb_... or sunoapi.org hash) |
SUNO_API_BASE_URL | ❌ | auto-detected | Override API base URL |
MAX_POLL_ATTEMPTS | ❌ | 30 | Max polls for wait_for_music |
POLL_INTERVAL_MS | ❌ | 10000 | Polling interval in ms |
Visual Dashboard
Want to manage all your generated music visually?
SunoBoard gives you:
- Full history with inline player
- Organize by project (e.g. "Game OST", "YouTube Channel")
- Download MP3
- Credit tracking
- Regenerate with same parameters
Use a sb_ key to have all generations appear automatically in your dashboard.
Contributing
git clone https://github.com/YellowKode-Academy/suno-mcp
cd suno-mcp
npm install
npm run dev
Tests: npm test
License
MIT © YellowKode Academy · Wunka Tech
Built with ❤️ by Kelvin Biffi
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.