ko-bridge
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ko-bridge>upload kick.wav to the next free sound slot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
11Autonomous music production for AI agents with MIDI generation, QC and provenance.
AI music production assistant — audio profiling, AI mixing sessions, and service inquiries.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables controlling a Teenage Engineering EP-133 K.O. II sampler via MIDI through natural language, allowing note playback, pattern creation, and drum pattern sequencing.31-
- 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.3MIT
- AlicenseNot gradedqualityDmaintenanceA minimal MCP server that composes MIDI, loads Logic Pro factory patches (including Alchemy), and drives transport, turning Logic Pro into an AI-playable instrument.1MIT
- 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.143MIT