
MIDI MCP Server
Supports UIby tubone24
Generate MIDI files from text prompts — compose multi-track songs with custom instruments, tempo, chords, and a built-in preview UI via any MCP client.
What it does
MIDI MCP Server lets AI models compose and export real MIDI files from natural-language music descriptions. Give it a prompt like "8-bar melodic minor chorus" and it outputs a fully structured .mid file with correct tempo, time signature, multiple instrument tracks, and note velocities. An embedded MCP App UI lets you preview the generated composition without leaving your AI client.
Key features
create_miditool — accepts a title, output path, and a JSON composition spec (BPM, time signature, multi-track notes)- Chord utilities — built-in chord parsing and theory helpers for richer harmonic output
- MCP App preview UI — inline HTML/JS player renders inside MCP-capable clients so you can hear results immediately
- Cloudflare Workers deploy — optional
wrangler deployfor hosted/remote mode via HTTP transport - Stdio + HTTP transport — run locally via stdio or deploy remotely and connect over HTTP
Installation
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"musicComposer": {
"command": "node",
"args": ["/path/to/midi-mcp-server/build/index.js"]
}
}
}
Build first: npm install && npm run build
VS Code Copilot — add to .vscode/settings.json:
{
"github.copilot.chat.mcp.servers": {
"musicComposer": {
"command": "node",
"args": ["/path/to/midi-mcp-server/build/index.js"],
"type": "stdio"
}
}
}
Claude.ai web (HTTP mode) — deploy to Cloudflare Workers with npm run deploy, then add the resulting worker URL in Claude.ai Settings → Integrations.
Supported hosts
Confirmed working with Claude Desktop and any MCP client that supports stdio transport. HTTP/remote mode compatible with Claude.ai via Cloudflare Workers deployment.
Quick install
npm install && npm run build && node build/index.jsInformation
- Pricing
- free
- Published
- 4/6/2026
- Updated
- 6 days ago