MIDI MCP Server

MIDI MCP Server is a Model Context Protocol (MCP) server that enables AI models to generate MIDI files from text-based music data. This tool allows

Local serverstdioTypeScript

What is the MIDI MCP Server?

MIDI MCP Server is a Model Context Protocol (MCP) server that enables AI models to generate MIDI files from text-based music data. This tool allows for programmatic

What you get

A Model Context Protocol (MCP) server for AI-driven MIDI composition. Generate MIDI files from structured JSON data, with chord name support, an interactive piano-roll preview UI, and multiple deployment modes.

  • Two MCP tools — create_midi (with interactive preview UI) and parse_chord
  • Rich pitch input — MIDI numbers, note name strings ("C4"), pitch arrays, or chord names ("Cmaj7")
  • Chord library — 25+ chord qualities — major, minor, dim, aug, 7th, maj7, m7, sus2, sus4, power, and more
  • Flexible durations — numeric beats, standard strings ('4', '8'), dotted ('d4'), triplet ('T8')
  • Music theory resources — 7 built-in reference documents accessible as MCP resources
  • Three transport modes — stdio, HTTP, or Cloudflare Workers (remote)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
create_midiGenerate a MIDI file from structured composition data. Returns base64-encoded MIDI and renders an interactive piano-roll preview with audio playback in supported MCP clients (MCP App).
parse_chordParse a chord name and return its component MIDI pitches and note names. Useful for understanding voicings before composing.

How to install the MIDI MCP Server

{
  "mcpServers": {
    "midi": {
      "type": "http",
      "url": "https://midi-mcp-server.tubone24.workers.dev/mcp"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use MIDI to create midi.”
  • “Use MIDI to parse chord.”

Frequently asked questions

The server can run as a local stdio process, a local HTTP server, or a remote Cloudflare Workers endpoint. The remote server is pre‑deployed at `https://midi-mcp-server.tubone24.workers.dev/mcp`.