MCP Hub
Back to servers

midi-mcp

An MCP server that enables AI models to control electronic music instruments by sending MIDI messages to hardware synths and drum machines. It supports various MIDI commands including notes, control changes, and system exclusive messages through USB or DIN MIDI interfaces.

glama
Updated
Mar 5, 2026

midi-mcp

MCP server that lets Claude control electronic music instruments via MIDI. Exposes tools for sending MIDI messages (notes, CC, program changes, pitch bend, sysex) to hardware synths and drum machines connected via USB or DIN MIDI.

Setup

Requires uv.

cd midi-mcp
uv sync

Usage

Add to Claude Code

claude mcp add midi-mcp -- uv --directory /path/to/midi-mcp run midi-mcp

Or add manually to your MCP config:

{
  "mcpServers": {
    "midi-mcp": {
      "command": "uv",
      "args": ["--directory", "/path/to/midi-mcp", "run", "midi-mcp"]
    }
  }
}

Run standalone

uv run midi-mcp

Tools

ToolDescription
list_midi_portsList available MIDI output ports
open_midi_portOpen a specific MIDI output port by name
close_midi_portClose the currently open port
get_midi_statusReturn current port name and connection state
send_note_onSend Note On (channel, note, velocity)
send_note_offSend Note Off (channel, note, velocity)
send_ccSend Control Change (channel, control, value)
send_program_changeSend Program Change (channel, program)
send_pitchwheelSend Pitch Bend (channel, value)
send_sysexSend SysEx message (list of data bytes)

Dependencies

Reviews

No reviews yet

Sign in to write a review