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: ProducerMCP
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
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
Generate Suno AI music (v5.5) from any MCP client. Async; billed only on success.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI music generation through Suno, allowing users to create songs with custom lyrics or AI-generated content, wait for completion, and download MP3 files.7-
- AlicenseAqualityCmaintenanceAI music production with text-to-music generation, audio extension, remixing, and cover creation via AceDataCloud API.182MIT
- AlicenseAqualityDmaintenanceEnables AI-powered music generation through natural language commands, supporting both inspiration and custom modes with automatic polling for async generation.4MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI music generation and management through the Suno API, supporting text prompts, custom lyrics, track status monitoring, and credit management.13-