Imagine Music MCP
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., "@Imagine Music MCPgenerate a lo-fi chill beat"
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.
Imagine Music MCP
FastMCP server wrapping the local ACE Step API for music generation. Same pattern as Designer MCP — Streamable HTTP transport, Cloudflare tunnel, X-API-Key auth.
Architecture
bot (Hetzner)
↓ HTTP tools/call /mcp
↓ X-API-Key header
music.bawes.net (cloudflared tunnel)
↓
Imagine Music MCP (this server, port 8006)
↓ localhost:8001
ACE Step API (runs separately)Related MCP server: suno-mcp
Tools
Tool | Description | Latency |
| Generate music from text prompt → audio URL | ~7-30s |
| Check result by task ID | Instant |
| List recent generations | Instant |
Setup
Clone and enter the repo
Install dependencies:
pip install -r requirements.txtEdit
.env— setAPI_KEYto your keyEnsure ACE Step API is running on
localhost:8001Start the server:
python imagine_music_mcp.pyTest:
curl -X POST http://localhost:8006/mcp \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -H "X-API-Key: your-key" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'
Deployment
Set up a cloudflared tunnel pointing to localhost:8006 with hostname music.bawes.net. Register as a remote MCP server in the bot admin panel:
{
"name": "Imagine Music",
"serverUrl": "https://music.bawes.net/mcp",
"transport": "streamable-http",
"authType": "api-key",
"authConfig": "<your-api-key>"
}This server cannot be deployed
Maintenance
Related MCP Connectors
Create Suno music, lyrics and covers with Ace Data Cloud; retrieve the same task for results.
Generate full songs with vocals, instrumentals and sound effects from text. One server for Suno, Google Lyria, Mureka, MiniMax, ACE-Step, YuE and ElevenLabs. Your agent can quote the credit cost before generating, start a song, wait for it to finish and return download links. Sign in with OAuth; optional daily credit caps; retries never charge twice.
- Flux AIOAuthart.fluxaipro
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI-powered music generation through natural language commands, supporting both inspiration and custom modes with automatic polling for async generation.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI music generation and management through the Suno API, supporting text prompts, custom lyrics, track status monitoring, and credit management.16-
- AlicenseNot gradedqualityAmaintenanceGenerates original AI music through Claude, powered by ACE-Step 1.5, running entirely on your local machine with no cloud dependency.13Apache 2.0
- AlicenseNot gradedqualityCmaintenanceGenerates original instrumental music and vocal songs from natural-language descriptions and lyrics, retrieves generation status, and waits for audio URLs to be ready.MIT