mpc-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mpc-mcp
An unofficial MCP server for Akai MPC hardware and software. It lets an AI assistant like Claude play parts into your MPC over MIDI, record what you play on the pads, write MIDI files the MPC can import, and look inside MPC project and program files.
Not affiliated with or endorsed by Akai Professional. "MPC" and "Akai" are their trademarks.
What it does
Live MIDI
midi_ports: list MIDI portsplay_notes: play note events (in beats, at a tempo) in the background, looped, optionally sending MIDI clocksend_note,send_control,send_program_change,transportstop_playback,midi_panicstart_recording/stop_recording: capture what you play and return it as note events
Files
write_midi_file: one track per part. Import the .mid on the MPC.read_midi_file: read MIDI exported from the MPCread_mpc_sequence: the notes in an MPC sequence (.sxq), per track, in beatsscan_mpc_folder: list projects, programs and sequences on an SD card or USB stickinspect_project: read-only exploration of.xpj,.xpmand other MPC files (outline, path, find)summarize_program: name, type and samples of an.xpmprogramcheck_project_for_standalone: before moving a desktop project onto the hardware, checks the saving version against the hardware OS, files missing or outside the project folder, samples that programs need, plugins the hardware may lack, and sample memory against the hardware's RAM
Related MCP server: MIDI MCP Server
What it doesn't do (yet)
Write
.xpjproject files. The format is undocumented and has changed between MPC OS versions. MPC OS 2.10 writes XML (confirmed). Community reports say MPC 3 uses gzip-compressed JSON; others describe it as binary or encrypted. This server reads them defensively and never writes them.Control the MPC's screen or menus. There's no remote API for that. Everything goes through MIDI and files.
Create
.xpmprograms. Planned, once it's tested against programs saved by real hardware.
Connecting the MPC
Check midi_ports after connecting. What we've confirmed on an MPC Live II running MPC OS 2.15.1:
Standalone mode: the MPC does not appear on USB at all. Use a USB MIDI interface to its 5-pin MIDI in/out. Move files by SD card or USB stick.
Controller Mode: the MPC appears as four MIDI ports plus its internal drive and SD card as volumes. Sound then comes from the MPC desktop software, which you can reach through a virtual port (macOS IAC Driver).
On the MPC, set the receiving track's MIDI input to the port and channel you send on. To capture pads, enable MIDI out on the track. To follow send_clock, set the MPC to sync to incoming MIDI clock.
Install
Python 3.11+.
git clone <repo-url> && cd mpc-mcp
python3 -m venv .venv && .venv/bin/pip install -e .Claude Code:
claude mcp add mpc -- /path/to/mpc-mcp/.venv/bin/mpc-mcpClaude Desktop (claude_desktop_config.json):
{ "mcpServers": { "mpc": { "command": "/path/to/mpc-mcp/.venv/bin/mpc-mcp" } } }File formats we've confirmed
From projects saved by MPC OS 2.10 on an MPC Live II:
.xpj: XML. Tempo, key, mixer, Q-Link assignments and the project's file list..xpm: XML programs (drum, keygroup, plugin, audio). A plugin program describes its plugin withName,ManufacturerName,FormatNameandFileOrID; built-in instruments haveFormatNameMPC(for exampleMPC:TubeSynthby AIR Music Technology)..sxq: a standard type 1 MIDI file (960 PPQ), but notes are stored as Akai sequencer-specific meta events, not note-on/off:47 61 11 00 <note> <velocity> 00 00 00 40 <length in 7-bit chunks, low first> .... Pad pressure is polyphonic aftertouch. A regular MIDI reader sees no notes.In Controller Mode (OS 2.15.1), the Live II shows up on a Mac as a USB hub with an audio interface, four MIDI ports ("MPC Public", "MPC Private", "MIDI Port A", "MIDI Port B"), and its internal drive and SD card as volumes.
Reports from other models and OS versions are welcome.
Conventions
Times are in beats (quarter notes). Notes are MIDI numbers or names, with middle C = C4 = 60. Channels are 1-16.
Development
.venv/bin/pip install -e '.[dev]' && .venv/bin/pytestThe tests include a loopback through a virtual MIDI port, so playback timing is checked against real CoreMIDI (macOS) or ALSA (Linux) without hardware.
Sample files from real MPCs are the most useful contribution. If you can share an .xpj or .xpm from your MPC OS version (no copyrighted samples needed), open an issue.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Compose, mix, master and export in Logic Pro, REAPER or Ableton Live by talking to an AI engineer.
Create, co-edit, analyze, publish, and export collaborative step-sequencer sessions through MCP.
Autonomous music production for AI agents with MIDI generation, QC and provenance.
AI mixing and mastering: analyze your mixes, run DSP autofix, render stems, and master tracks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control FL Studio through MIDI communication, providing transport control, mixer adjustments, channel rack manipulation, plugin parameter automation, and piano roll note editing capabilities.262MIT
- AlicenseAqualityFmaintenanceEnables AI-driven MIDI composition with chord name support, interactive piano-roll preview, and multiple deployment modes.258MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to programmatically edit, analyze, and export audio projects through MCP tools, including multi-track editing, effects, transcription, and semantic search.1-
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to create, parse, edit, and render MIDI files through standard MCP tools, returning absolute file paths to support iterative music generation and revision.-