mixxx-mcp
An MCP server that lets AI agents control Mixxx DJ software over a virtual MIDI port, enabling playback, mixing, EQ, effects, and track loading.
README
most LLMs are DJs
Boiler room but it's a datacenter evaporative cooling tower.
Fork of cloudygetty-ai/mixxx-mcp, an MCP server that lets AI agents control Mixxx over a virtual MIDI port.
How it works
Claude ──MCP──▶ python server ──▶ virtual MIDI port "mixxx-mcp"
│ CC messages
▼
Mixxx controller script (JS)
engine.setValue(...)
That's the write path, and it's the only path. Upstream also promised a
read path (the Mixxx JS posting state back out), but Mixxx's embedded JS
engine has no XMLHttpRequest and no sockets, so it can never work — the
state tools (get_deck_state etc.) always come back empty. The agent reads
Mixxx's log file instead (every command echoes a [mixxx-mcp] SET ...
line, and track loads show up as analyzer lines) plus Mixxx's SQLite
library DB for titles, BPMs, and durations. The log flushes minutes late,
so the agent mixes on wall-clock math and confirms after the fact. Flying
the decks on log-tail and SQL is half the fun.
What's different from upstream
mixxx-mcp.js: top-levelconst→var+ explicitglobalThisexport (Mixxx's QJSEngine can't see top-level const), andsetTimeout→engine.beginTimer(there is no setTimeout in Mixxx JS).mixxx-mcp.midi.xml: regenerated so all 128 CCs script-bind toMixxxMCP.handleCC— the original bound control names directly, which Mixxx rejects as an invalid mapping and silently disables.- Track-loading controls added (CCs 117–123): library cursor next/prev and load-to-deck. This is what lets the agent choose its own tracks.
main.pylogs to stderr (it was corrupting the MCP stdio transport).- The HTTP state server (dead weight, see above) accepts
MIXXX_MCP_STATE_PORTso a second instance doesn't crash on a busy port. .claude/skills/run-mixxx-mcp/: an agent skill +driver.pyharness — bring-up checks, deploy, a log watcher, library queries, a smoke test, and a standalone MCP client REPL for driving Mixxx with no registration at all.scripts/energy.sh: ffmpeg RMS energy profiler (~1.3 s per track) that finds where a track's intro ends and its outro begins, so transitions land while the track still has life in it, not at a fixed "70 seconds before the end."
Quickstart (macOS)
Tested on an Intel iMac with Mixxx 2.5.6 from the official DMG.
python3.12 -m venv .venv
.venv/bin/pip install mcp python-osc python-rtmidi
# register with Claude Code (user scope)
claude mcp add mixxx-mcp -s user -- $PWD/.venv/bin/python $PWD/main.py
# copy the controller mapping into Mixxx's (sandboxed) controllers dir
.venv/bin/python .claude/skills/run-mixxx-mcp/driver.py deploy
Bring-up order matters:
- Start the MCP server first — it creates the MIDI port. (A Claude Code session does this for you.)
- Then start Mixxx.
- Then — every time Mixxx or the server restarts — untick and re-tick Enabled under Preferences ▸ Controllers ▸ mixxx-mcp. Mixxx never reattaches on its own; commands sent to a stale port report success and vanish into the void. This is the number-one gotcha.
- Verify:
driver.py status, send a control, then look for the SET line withdriver.py log(patience — the log buffers).
Tools
| Tool | Description |
|---|---|
play(deck) / stop(deck) / cue(deck) |
Transport |
sync(deck) |
Enable sync (can only enable — disable via send_control sync_enabled 0) |
set_volume(deck, value) |
Channel fader 0.0–1.0 |
set_crossfader(value) |
Crossfader −1.0–1.0 |
set_eq(deck, low, mid, high) |
EQ bands 0.0–4.0 |
set_pregain(deck, value) |
Trim 0.0–4.0 |
set_rate(deck, value) / nudge_tempo(...) |
Pitch / tempo nudge |
set_loop / exit_loop / halve_loop / double_loop |
Beat loops |
set_hotcue / goto_hotcue / clear_hotcue |
Hotcues 1–8 |
beatjump(deck, beats) |
Jump ±N beats |
toggle_effect / set_effect_mix |
Effects |
send_control(group, key, value) |
Raw escape hatch — anything in the Mixxx controls reference |
get_deck_state / get_mixer_state / get_all_state |
Always empty (see above) — read the log instead |
Credits
Forked from cloudygetty-ai/mixxx-mcp Mixxx
License
All rights reserved. You must only use this in violation of my intellectual property rights.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.