ko-bridge
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.
ko-bridge
An MCP server that lets an AI model drive a Teenage Engineering EP-133 K.O. II from a Mac: the sample library and project slots over the SysEx FILE protocol, pads and transport over USB MIDI, and the OS 2.5 USB audio stream for listening back and grading timing.
ko-bridge is a sibling of op-bridge, not a replacement for it. op-bridge targets the OP-1 Field and continues unchanged; this project copies the generic pieces it needs (recorder with sample-accurate marks, jobs, onset analysis, server conventions) and leaves the Field code alone. The two servers bind only their own MIDI ports and audio device so they can run side by side.
What it does
Area | Tools |
Orientation |
|
Sample library (slots 1-999, 128 MB) |
|
Projects (slots 1-9) |
|
Playing and listening |
|
Chopping, groove and producer tools |
|
Jobs |
|
Every project write is checkpointed, read back and compared byte for byte, then reloaded on the device. Playback keeps a
6 s distance from FILE traffic (see docs/spike-results.md for why). System settings cannot be
reached over USB; human_steps gives the exact key presses (MIDI clock receive is SHIFT+ERASE, 1 0 1, MAIN).
Related MCP server: kobox
Running
uv sync
uv run ko-bridge status
uv run ko-bridge serve # stdio MCP server
uv run ko-bridge register # prints the Claude Desktop entry; --write merges it into claude_desktop_config.json
uv run ko-bridge backup # projects + every sound + a .pak into ~/Music/ko-bridge/backups/<timestamp>/
uv sync --extra gemini # google-genai for the Lyria 3.5 / Gemini 3.1 Pro tools (imported lazily)Files live under ~/Music/ko-bridge (KO_BRIDGE_HOME): backups/, backups/checkpoints/, takes/, library.json,
config.json. Secrets go in secrets.env there (KEY=VALUE lines, read into the environment at server start without
overriding what is already set; ~/Music/op-bridge/secrets.env is read when ko-bridge has none), never in the repo.
Tests
Functional tests on the real device, plus surface tests that never touch it (the MCP tool list and annotations, path
confinement, name validation, the secrets loader, the producer layer's parsing and error paths). The device tests run
only with KO_BRIDGE_DEVICE_TESTS=1 and the EP-133 connected, because several bridge processes share the hardware;
otherwise they skip. No test may spend money: without KO_BRIDGE_PAID_TESTS=1 the Gemini key is removed from the test
process (no test needs it today). Writes go to the scratch slot (KO_BRIDGE_SCRATCH_PROJECT, default 9) and to free
sound slots from 600 up, and the scratch slot is restored from its checkpoint afterwards. The playback tests need MIDI
clock set to receive on the device. tests/test_chop.py reads a factory sample from the device, chops it into the
scratch project from one shared slot and checks the trims on the readback, the reversed pad and the choke cut in a
recording, and the clocked chops' timing on high-band onsets.
uv run pytest # surface tests; device tests skip
KO_BRIDGE_DEVICE_TESTS=1 uv run pytest # with the EP-133 connected and nobody else driving itSpike (2026-10-16)
Project round trip, sample upload (~24 KB/s), 3.5 ms note-to-audio latency and a clocked 4-bar pattern with a fader lane
were all verified on hardware before the server was written; numbers, protocol facts and the human steps are in
docs/spike-results.md, and the scripts in scripts/ reproduce every step.
Protocol credit
Project and sample I/O use epsysex (MIT), the community reverse-engineering of TE's EP-series SysEx FILE protocol.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and edit DAW projects as an agent, save native Logic projects, convert projects between DAWs
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Bot-free macOS Zoom/Meet/Teams call transcripts, Apple Vision screen OCR, and live SQLite MCP.
Compose, mix, master and export in Logic Pro, REAPER or Ableton Live by talking to an AI engineer.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables controlling a Teenage Engineering EP-133 K.O. II sampler via MIDI through natural language, allowing note playback, pattern creation, and drum pattern sequencing.34MIT
- AlicenseNot gradedqualityDmaintenanceEnables controlling a Teenage Engineering EP-133 K.O. II via natural language, converting plain language into MIDI commands for triggering pads, playing scales, and sequencing patterns.4MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents like Claude and Cursor to control Logic Pro for music production, including creating tracks, writing MIDI, operating transport and mixer, and inspecting live project data.191MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to control a live REAPER DAW session on macOS in real time, including track creation, MIDI writing, FX management, and transport control.20-