Skip to content
Grok

Music Generation for Grok

io.github.tobiasfong/music-generation

Generates songs and background music locally with ACE-Step, plus a beat grid for video cuts.

client:Grok transport:stdio runtime:pypi

Install Music Generation in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "music-generation": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "music-generation-mcp"
      ],
      "env": {
        "COMFY_URL": "<COMFY_URL>",
        "WEBCOMIC_MUSIC_COMFY_DIR": "<WEBCOMIC_MUSIC_COMFY_DIR>",
        "WEBCOMIC_MUSIC_COMFY_LAUNCH": "<WEBCOMIC_MUSIC_COMFY_LAUNCH>",
        "WEBCOMIC_MUSIC_AUTOLAUNCH": "<WEBCOMIC_MUSIC_AUTOLAUNCH>",
        "WEBCOMIC_MUSIC_TIMEOUT": "<WEBCOMIC_MUSIC_TIMEOUT>",
        "WEBCOMIC_MUSIC_OUTPUT": "<WEBCOMIC_MUSIC_OUTPUT>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Music Generation in other clients