Suno-Hmnn-MCP
Provides tools for generating and managing music tracks via Suno Premier, including custom lyrics, model selection (v4/v3.5), clip extension at precise timestamps, stem separation, and fetching audio and status.
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-Hmnn-MCPCreate a song with lyrics about friendship and upbeat melody"
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-Hmnn-MCP π΅
Suno-Hmnn-MCP is an enterprise-grade, local, self-healing Model Context Protocol (MCP) framework that bridges Suno AI (v4/v3.5) directly into Hermes Agent App, Antigravity IDE, Cursor, Claude Desktop, VS Code, and local REST API services.
π Community Initiative & Developer Credit
Lead Architect & Author: George AK Neihsial
An open-source welfare initiative created to provide developers, creators, prompt engineers, and AI research communities with a robust, zero-cost, user-friendly bridge between cutting-edge generative audio platforms and local autonomous AI agents.
π Table of Contents
Related MCP server: Aetherwave Studio
β‘ Why Suno-Hmnn-MCP? (Comparison Matrix)
Feature | Standard Open-Source Script | Paid API Wrappers (e.g. AceData) | Suno-Hmnn-MCP |
Cost | Free (Fragile) | $0.02 - $0.05 / song | 100% FREE (Uses your plan) |
Authentication | Manual DevTools Cookie Paste | Paid API Key | Automated Playwright Portal |
Token Expiry Handling | Crashes on 401 | N/A | Self-Healing Clerk JWT Refresh |
Model Support | Basic v3 | v3 / v4 | Native v4 & v3.5 Support |
Audio Quality | Low-res MP3 | MP3 / WAV | Uncompressed 24-bit WAV & MP3 |
Stem Isolation | β No | Extra Fee | Native Premier Vocal/Backing Stems |
Precision Extension | β No | Limited | Millisecond Timestamp Extensions |
State Tracking | Memory Only | Cloud Database | Local SQLite Engine ( |
Local Privacy | Partial | No (Third-party servers) | 100% Local Desktop Air-Gap |
ποΈ Architecture Overview
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI Clients / Editors β
β (Hermes Agent, Antigravity IDE, Cursor, Claude) β
βββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β Standard MCP (stdio / HTTP)
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SUNO-HMNN-MCP FRAMEWORK β
β β
β βββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββ β
β β Clerk Token Rotation Engine β β Self-Healing HTTP Middleware β β Local SQLite State Tracker β β
β β β’ Full Cookie Bundle Vault β β β’ Intercepts 401 Unauthorizedβ β β’ Track History & Prompts β β
β β β’ Dynamic Bearer JWT Mint β β β’ Silent Request Replay β β β’ Local File Indexing β β
β βββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Authenticated HTTPS / REST
βΌ
βββββββββββββββββββββββββββ
β Suno.com / Clerk API β
βββββββββββββββββββββββββββπ§° Exhaustive Function & Tool Reference
Suno-Hmnn-MCP exposes 7 production-grade tools directly to your AI Agents:
1. suno_generate
Generates original music tracks using custom lyrics or prompt descriptions.
Parameters:
prompt(string): Descriptive prompt for song style or theme.tags(string): Music genres, instruments, or vocal styles (e.g."synthwave, energetic, female vocal").title(string): Song title.make_instrumental(boolean): Iftrue, removes all vocals.model_version(string):"chirp-v4"(Default) or"chirp-v3-5".custom_lyrics(string): Custom structured lyrics (with[Verse],[Chorus]tags).
2. suno_extend
Extends an existing track starting from an exact timestamp.
Parameters:
clip_id(string): The unique ID of the parent clip to extend.continue_at(number): Timestamp in seconds where extension begins (e.g.120.5).prompt(string): Additional lyrics or style guidance for the extended section.tags(string): Updated music tags for the new section.title(string): Title for the extended version.
3. suno_separate_stems
Triggers Premier stem isolation on an existing clip.
Parameters:
clip_id(string): The clip ID to separate.
Returns: Clip metadata containing individual audio URLs for isolated Vocals and Instrumental tracks.
4. suno_get_clip
Retrieves live clip metadata, generation status, lyrics alignment, and audio download links.
Parameters:
clip_id(string): Target clip ID.
5. suno_download_file
Downloads uncompressed WAV, MP3, or stem files safely to local storage.
Parameters:
audio_url(string): Direct CDN audio URL.filename(string): Output filename (e.g."cyberpunk_master").file_format(string):"wav"(Default) or"mp3".
6. suno_get_credits
Returns account information, plan type (Free, Pro, Premier), and remaining credit allowance.
7. suno_auth_status
Diagnostic tool that reports the health of the Clerk Token Rotation Engine and remaining JWT lifespan.
π οΈ Step-by-Step Installation Tutorial
Prerequisites
Python 3.10 or higher installed.
Google Chrome or Microsoft Edge browser installed.
An active Suno AI account.
1. Clone & Set Up Directory
git clone https://github.com/SialkiLabs/Suno-Hmnn-MCP.git
cd Suno-Hmnn-MCP2. Install Dependencies
pip install -r requirements.txt
playwright install chromium3. Run the Automated Auth Portal
Launch the frictionless login wizard:
python wizard.pyWhat happens:
The setup wizard boots Google Chrome natively.
Log into your Suno account on the Chrome window.
As soon as you log in, the wizard captures your secure cookie bundle, verifies your account tier, fetches your remaining credit balance, and writes your
.envconfiguration file automatically.
π Client Integration Guide
Hermes Agent
Add to ~/.hermes/config.yaml or workspace mcp.json:
mcp_servers:
suno_premier:
command: "python"
args: ["/absolute/path/to/Suno-Hmnn-MCP/server.py"]Antigravity IDE & Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"suno-hmnn": {
"command": "python",
"args": ["/absolute/path/to/Suno-Hmnn-MCP/server.py"]
}
}
}Claude Desktop
Add to %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"suno-hmnn": {
"command": "python",
"args": ["C:/Users/YourUsername/Suno-Hmnn-MCP/server.py"]
}
}
}Standalone REST API Mode
To run as a local HTTP server for custom web apps or webhooks:
fastmcp run server.py:mcp --transport http --port 8000πΌ Complete Music Production Workflow Guide
Prompting Strategy for v4 Models
For best results with Suno chirp-v4, structure your prompts with explicit musical style tags:
[Genre: Cyberpunk Synthwave]
[Tempo: 120 BPM]
[Instruments: Analog Synths, Heavy Bass, Electronic Drums]
[Vocals: Distorted Female Vocal, Reverb]
[Verse 1]
Midnight glowing neon lights,
Wires humming through the night...
[Chorus]
Digital dreams in an analog soul,
System override in full control!π§ DAW Import & Stem Isolation
Once suno_separate_stems completes, use suno_download_file to save your stems locally.
File Organization:
C:\Users\YourName\hermy-hq\music-outputs\
βββ cyberpunk_master.wav # Full Mix (24-bit WAV)
βββ cyberpunk_vocals.wav # Isolated Vocals
βββ cyberpunk_instrumental.wav # Backing TrackImporting into DAWs:
Ableton Live / FL Studio / Reaper / Logic Pro: Drag
cyberpunk_vocals.wavandcyberpunk_instrumental.wavinto separate audio tracks.Apply local EQ, compression, or sidechaining to mix Suno vocals with your custom instrument tracks.
π‘οΈ Security & Code Auditability Guarantee
Suno-Hmnn-MCP is engineered with an uncompromising commitment to privacy and open-source transparency:
100% Local Air-Gap: Zero data, tokens, or cookies are ever transmitted to any third-party telemetry, analytics, or external server.
Direct Official Endpoints: All network communications occur exclusively between your local PC (
127.0.0.1) and Suno's official domain (suno.com/clerk.suno.com).Non-Invasive Setup: The interactive
wizard.pyscript runs strictly in user-space and requires no administrator/root privileges.Auditable Codebase: Every single line of network and state management code is open-source, readable, and under 500 lines of standard Python (
core/auth.py,core/client.py).
β Comprehensive FAQ & Security Deep-Dive
Q: Will this get my Suno account flagged or banned?
No. Suno-Hmnn-MCP runs locally on your PC. It uses native Chrome/Edge headers, human-paced polling intervals, and authentic Clerk Bearer JWT tokens. It is indistinguishable from standard web browser traffic.
Q: How does the Self-Healing Token Engine work?
Clerk JWT bearer tokens expire periodically. When Suno returns an HTTP 401 Unauthorized, our internal middleware catches the response, uses the stored session cookie to silently request a new JWT from Clerk, updates its memory, and replays your generation request transparently.
Q: Do my AI Agent and Suno accounts need the same email?
No. The architecture is completely decoupled. The MCP server acts as an air-gap on your local machine.
Q: Where are generated files stored?
By default, all audio files are saved to C:\Users\YourUsername\hermy-hq\music-outputs\. You can customize this by setting SUNO_OUTPUT_DIR in .env.
π¨ Troubleshooting Guide
Symptom | Cause | Solution |
| Packages installed in virtual environment | Run |
| Suno API endpoint redirect | Fixed in latest version by enabling |
| Chrome window closed before login | Re-run |
π License & Authorship
Licensed under the MIT License β free for personal, educational, and commercial use.
Lead Developer: George AK Neihsial
An initiative for the welfare of the open-source community.
π Search Engine Index & Long-Tail Query Mapping
This section optimizes discovery for search engine crawlers (Google, Bing, Perplexity, ChatGPT, Claude) and GitHub's internal code search.
Primary Keywords: Suno AI MCP, Suno MCP Server, Suno API Python, Suno v4 MCP, Suno Premier API, Suno Stem Separation API, Suno WAV Exporter, Suno Claude MCP, Suno Cursor MCP, Suno Hermes Agent.
Supported Integrations: Hermes Agent App, Antigravity IDE, Cursor IDE, Windsurf, Claude Desktop, VS Code, Roo Code, Cline, LibreChat.
Supported Features: Suno chirp-v4, Suno chirp-v3-5, Custom Lyrics Generator, Timestamp Audio Extensions, Stem Isolator (Vocals/Instrumental), Uncompressed 24-bit WAV Downloader, Clerk Token Rotation Engine.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceAn MCP server that enables local AI models to automatically generate lyrics and style prompts, then submit songs to Suno via browser automation.MIT
- AlicenseAqualityBmaintenanceOne MCP server for music, image, video, and audio generation across Suno, Grok Imagine, Seedance, Kling, Hailuo, Wan, VEO, Ideogram, and GPT Image 2. Generate, edit, upscale, reframe, and master through one API key and one credit pool.16515MIT
- AlicenseAqualityBmaintenanceAn MCP server that generates music using your Suno account, enabling credit checking, song generation, and MP3 downloads without third-party APIs.7MIT
- FlicenseAqualityDmaintenanceMCP server for Suno music generation API that enables generating lyrics and custom songs with style tags, model selection, and automatic polling for task completion.2
Related MCP Connectors
MCP server for Suno AI music generation, lyrics, and covers
Generate Suno AI music (v5.5) from any MCP client. Async; billed only on success.
MCP server for Producer/Riffusion AI music generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SialkiLabs/Suno-Hmnn-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server