Suno MCP
Generates music using your Suno account, including checking credits, generating songs with custom lyrics or simple prompts, and downloading MP3s.
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., "@Suno MCP Generate a pop song about summer with male vocals"
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.
Suno MCP
MCP server for generating music with your suno.com account — no third-party API keys, no 2Captcha, no extra paid services.
Use it from Cursor, Claude Desktop, or any MCP-compatible client to check credits, generate songs, and download MP3s.
Features
Your Suno account — uses your existing subscription/credits
No API middlemen — authenticates via Clerk in a real browser session
Generation tools — custom lyrics/style or simple prompt mode
Library access — credits, recent songs, status polling, MP3 download
Related MCP server: YouTube Music MCP
Requirements
Python 3.10+
A free or paid Suno account at suno.com
Chromium (installed via Playwright)
Quick Start
Install from PyPI
pip install suno-mcp
playwright install chromium
cp .env.example .env # optional — defaults work out of the boxInstall from source
git clone https://github.com/David-J-Shibley/suno-mcp.git
cd suno-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
playwright install chromium
cp .env.example .envFirst run: A browser window opens. Log into Suno if prompted. Your session is saved to ~/.suno-mcp/browser-profile.
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"suno": {
"command": "/absolute/path/to/suno-mcp/.venv/bin/python",
"args": ["-m", "suno_mcp"],
"env": {
"SUNO_HEADLESS": "false"
}
}
}
}Set SUNO_HEADLESS to false — the Create button must be visible for generation to work.
Restart the MCP server after config or code changes (Cursor → Settings → MCP).
macOS Homebrew Python note
If pip fails with a pyexpat / libexpat error on macOS Tahoe, add to your MCP env:
"DYLD_LIBRARY_PATH": "/opt/homebrew/opt/expat/lib"Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"suno": {
"command": "/absolute/path/to/suno-mcp/.venv/bin/python",
"args": ["-m", "suno_mcp"],
"env": {
"SUNO_HEADLESS": "false"
}
}
}
}Tools
Tool | Description |
| Check your Suno credit balance |
| List recent songs in your library |
| Custom mode — lyrics + style |
| Simple mode — describe the song |
| Poll generation status by song ID |
| Wait until songs are ready |
| Download MP3 to a folder |
How It Works
Auth — Reads JWT from
window.Clerk.session.getToken()in the logged-in browser tab.Reads (credits, feed, recent) — Direct HTTPS to
studio-api.prod.suno.com.Generation — Fills lyrics/style via React state, then dispatches a trusted CDP mouse click on the Create button (required by hCaptcha).
Generation approach adapted from unforced/suno-mcp.
Configuration
Variable | Default | Description |
|
| Persistent browser profile |
|
| Must be |
| — | Connect to existing Chrome via CDP |
| — | Set to |
Optional: Use Your Own Chrome
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9222 \
--user-data-dir=~/.suno-mcp/chrome-profileThen in .env:
SUNO_CDP_URL=http://localhost:9222Log into Suno in that Chrome window.
Troubleshooting
Not signed in — Log into suno.com/create in the browser window the MCP server opens.
Profile already in use — Restart the Suno MCP server in Cursor (only one browser instance per profile).
Empty song IDs after generate — Keep SUNO_HEADLESS=false, ensure the browser window stays visible, and restart the MCP server after updates.
Cookie dialog — Click "Allow All" once if Suno shows a privacy/cookie banner.
Limitations
Unofficial — Uses Suno's internal endpoints; may break when Suno updates.
Browser required — Generation needs a visible browser window.
Uses your Suno credits — Same quota as the website.
MVP scope — No covers, extends, or stems yet.
Disclaimer
This is an unofficial project and is not affiliated with Suno. Use at your own risk and in accordance with Suno's terms of service.
Contributing
Issues and pull requests are welcome on GitHub.
See PUBLISHING.md for PyPI release instructions.
License
MIT — see LICENSE.
Available Tools
7 toolssuno_check_statusB
Check generation status for one or more song IDs.
Inputs: params (required). Returns: result
suno_download_songA
Download a completed song as MP3 to a local folder.
Inputs: params (required). Returns: result
suno_generate_from_descriptionA
Generate a song from a text description (Simple/Inspiration Mode). Suno writes the lyrics automatically.
Inputs: params (required). Returns: result
suno_generate_songA
Generate a song with custom lyrics and style (Custom Mode).
Opens/uses a browser with your Suno login. Generation runs through suno.com so no third-party API is needed. Returns clip IDs — use suno_wait_for_songs to poll.
Inputs: params (required). Returns: result
suno_get_creditsA
Check your Suno account credit balance (uses your logged-in suno.com session).
Inputs: no named parameters. Returns: result
suno_get_recentB
List your recent Suno songs from your account library.
Inputs: params (required). Returns: result
suno_wait_for_songsA
Wait until songs finish generating (up to 3 minutes), then return audio URLs.
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: checking status, downloading, generating from description or custom mode, checking credits, listing recent songs, and waiting for generation. The two generate tools are well-differentiated by simple vs. custom mode with auto vs. user-provided lyrics and style.
All tools follow a consistent 'suno_verb_noun' pattern with lowercase and underscores (e.g., suno_check_status, suno_generate_song). The naming is predictable and clearly indicates each tool's action and target.
With 7 tools, the server is well-scoped for managing Suno song generation. Each tool serves a necessary function without redundancy or bloat, covering generation, status, download, credits, and listing.
The tool set covers the core song creation lifecycle: generating (two modes), monitoring status, downloading, checking credits, and listing recent songs. Missing features like canceling generation or deleting songs are minor gaps that don't severely hinder typical workflows.
Maintenance
Related MCP Connectors
MCP server for Producer/Riffusion AI music generation
Generate Suno AI music (v5.5) from any MCP client. Async; billed only on success.
An MCP server that integrates with Discord to provide AI-powered features.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that allows AI models to control YouTube Music playback through Google Chrome by searching and playing songs using song and artist names.22MIT
- AlicenseBqualityDmaintenanceA simple MCP server that allows AI assistants like Cursor or Claude Desktop to search for and play tracks on YouTube Music through natural language commands.219 npm13MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that allows AI assistants to generate music through the Suno API, supporting custom lyrics and style inputs or inspiration-based creation.133ISC
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents the ability to listen to and understand music/audio files, enabling semantic analysis, stem separation, lyrics transcription, and signal processing via tool calls.1MIT