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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。