Imagine Music MCP
Generates music from text prompts via a local ACE Step API, providing tools for music generation, result checking, and listing generations.
README
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)
Tools
| Tool | Description | Latency |
|---|---|---|
generate_music |
Generate music from text prompt → audio URL | ~7-30s |
get_generation |
Check result by task ID | Instant |
list_generations |
List recent generations | Instant |
Setup
- Clone and enter the repo
- Install dependencies:
pip install -r requirements.txt - Edit
.env— setAPI_KEYto your key - Ensure ACE Step API is running on
localhost:8001 - Start the server:
python imagine_music_mcp.py - Test:
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>"
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.