Back to Browse

Suno MCP Server

Developer ToolsUse Caution3.8MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

AI music and sound effects for games and videos: Suno, Lyria, Stable Audio, MiniMax, ElevenLabs.

About

AI music and sound effects for games and videos: Suno, Lyria, Stable Audio, MiniMax, ElevenLabs.

Remote endpoints: streamable-http: https://mcp.sunoboard.com/mcp

Security Report

3.8
Use Caution3.8High Risk

The server requires a SunoBoard or sunoapi.org API key from an environment variable and its core functionality (music generation over HTTPS to the vendor API) matches its stated purpose. Findings lower the score: the upgrade-formatting module embeds instructions aimed at the AI assistant inside tool output, the API base URL can be overridden so the key may be sent to an arbitrary host, and the final upgrade.ts file was truncated so its remaining content could not be reviewed. Supply chain analysis found 7 known vulnerabilities in dependencies (1 critical, 3 high severity).

7 files analyzed · 11 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

✅Optional

Environment variable: SUNO_API_KEY

❌Optional

Environment variable: SUNO_API_BASE_URL

❌Optional

Environment variable: MAX_POLL_ATTEMPTS

❌Optional

Environment variable: POLL_INTERVAL_MS

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub 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

npm version License: MIT


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:
OptionKey formatWhere 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

ToolDescription
generate_musicStart music generation — returns a taskId
get_music_statusCheck generation status by taskId
wait_for_musicAuto-poll until ready, returns audio URL (up to 5 min)
list_recent_musicList recently generated tracks
get_creditsCheck remaining API credits

With a SunoBoard key (sb_...) you also get:

ToolDescription
generate_sfxGenerate 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_modelsMusic and SFX models (Suno, Google Lyria, MiniMax, Stable Audio, ElevenLabs, TangoFlux) with what each costs
get_usageCredits and sound effects left this month, reset date, your default models
search_librarySearch the public SunoBoard library of ready-made tracks (free)
get_referral_linkYour 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

ParameterTypeDefaultDescription
promptstringrequiredMusic description or lyrics (in custom mode)
modelstringV4_5V4 · V4_5 · V4_5PLUS · V4_5ALL · V5 · V5_5
stylestring—Style tags e.g. "ambient dark, slow drums"
titlestring—Track title (required in custom mode)
instrumentalbooleanfalseGenerate without vocals
customModebooleanfalseUse prompt as literal lyrics
vocalGender"male" | "female"—Vocal preference (custom mode only)
negativeTagsstring—Styles to avoid e.g. "heavy metal"
styleWeight0–10.5Style adherence
weirdnessConstraint0–10.5Creativity vs. predictability
audioWeight0–10.5Audio 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

VariableRequiredDefaultDescription
SUNO_API_KEY✅—Your API key (sb_... or sunoapi.org hash)
SUNO_API_BASE_URL❌auto-detectedOverride API base URL
MAX_POLL_ATTEMPTS❌30Max polls for wait_for_music
POLL_INTERVAL_MS❌10000Polling 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

Reviews

No reviews yet

Be the first to review this server!