Enables AI music generation through Suno's platform, including creating songs with custom lyrics and style tags, generating songs from text descriptions, checking generation status, managing credits, and downloading MP3 files.
Click on "Install 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 MCPcreate a happy birthday song with cheerful pop style"
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
An MCP (Model Context Protocol) server for generating music with Suno.
Features
Generate songs with custom lyrics and style tags
Generate from description - let Suno AI write the lyrics
Wait for completion and get audio URLs with markdown embeds
Download MP3s to local folders
Auto-refresh tokens when they expire
Requirements
Node.js 18+
BrowserOS running on port 9000 with an active Suno session
A Suno account (free or paid)
Installation
Usage with Claude Code
Add to your .mcp.json:
Tools
Tool | Description |
| Generate with custom lyrics and style |
| AI writes lyrics from a description |
| Wait for completion, returns URLs + markdown |
| Check generation status |
| Get account credits info |
| List recent songs |
| Download MP3 to a folder |
How It Works
Authentication
Suno uses Clerk for auth with short-lived JWT tokens (~1 hour). The client:
Checks the
__sessioncookie from BrowserOS via Chrome DevTools Protocol (CDP)If expired, reloads the Suno page to trigger a token refresh
Captures the fresh token from network requests
Song Generation
Direct API calls fail due to hCaptcha. Instead, we:
Connect to the Suno page via CDP
Inject JavaScript to fill the form (lyrics, style)
Click the Create button (CAPTCHA runs invisibly in browser context)
Capture song IDs from the network response
Example
Known Limitations
Title field doesn't work reliably (Suno UI limitation)
Requires BrowserOS with an active Suno session
Token expires every ~1 hour (auto-refreshes)
License
MIT