Skip to main content
Glama
BAWES

Imagine Music MCP

by BAWES

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

Generate music from text prompt → audio URL

~7-30s

get_generation

Check result by task ID

Instant

list_generations

List recent generations

Instant

Setup

  1. Clone and enter the repo

  2. Install dependencies:

    pip install -r requirements.txt
  3. Edit .env — set API_KEY to your key

  4. Ensure ACE Step API is running on localhost:8001

  5. Start the server:

    python imagine_music_mcp.py
  6. 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>"
}
F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • 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.

  • MCP server for Producer/Riffusion AI music generation

View all MCP Connectors

Latest Blog Posts

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/BAWES/universe-imagine-music-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server