ep133-studio
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.
EP-133 Studio
Connect any AI Agent directly to your Teenage Engineering EP-133 K.O. II.
简体中文说明 · Online Preview · Notation · Device Setup · Sound Design
EP-133 Studio is a free, open-source MCP server, 1:1 physical-device workbench, and 46.875 kHz sound designer for the Teenage Engineering EP-133 K.O. II (evolved from upstream benjaminr/mcp-koii). Connect Claude Code, Cursor, Antigravity, Windsurf, Codex, Claude Desktop, or any MCP-speaking AI Agent directly to your hardware over USB-C MIDI and Audio.
@bpm 92
@swing 58
kick: x... ..x. x... ....
snare: .... x... .... x..o
hat: x.x. x.x. x.x. x.xXOptional Browser Preview: Want to explore the UI before plugging in a physical EP-133 or installing Python? An experimental browser preview is hosted at ep133-studio.vercel.app (
/studio). The full hardware workflow—USB SysEx sample uploads, OS 2.5 auto-chopping, checksum-verified backups, USB-C live audio bounce, and MCP agent integration—runs locally via this repository.
Key Capabilities
Any AI Agent × Physical EP-133 (35+ MCP Tools): Your Agent authors compact
@bpmpatterns, validates line/column syntax (check_pattern), layers multi-part arrangements (save_song), synthesizes or chops custom sounds, and hot-swaps edits seamlessly at bar boundaries while the groove plays.1:1 Hardware Surface (All Keys Active + Bidirectional Feedback): Physical EP-133 pad taps light the UI in hardware blue (
#5394b5), while Agent & software notes flash signal orange (#f15a22). Switch GroupsA–D, dragVOLUME/X/Y/Fader, latchSHIFT, toggle chromaticKEYS, cycleTIMING, armRECORD, or jam via computer keyboard (123 / QWE / ASD / ZXC).46.875 kHz Layered Synth & OS 2.5 Auto-Chopper: Build drum & instrument sounds across
Analog,FM,Pluck,Modal,Metal,Noise, andSamplelayers; iterate with lockedVary ×6&Morph; record directly over USB-C audio and slice loops via onset detection or even intervals (chop_source).Safety-First Hardware SysEx Management: Browse all 999 device slots, manage Project 1–9 pad maps, install standalone 12-pad kits or packs, and enforce mandatory full device backups & slot checksum verification before custom sample writes.
Guide Mode & Pro Mode (
EN / 简体中文) + Interactive Screen Atlas: Stay in Guide Mode for on-demand control tooltips, 5 playable beginner lessons, and an interactive Super Segment Screen Atlas (?drawer)—or flip to Pro Mode for a zero-clutter 45px production bench.
Related MCP server: kobox
Workbench Views (overview, guide, sounds, song)
View | Purpose | Highlights |
Beat ( | Rhythm & hardware jam | 1:1 EP-133 unit, Step Grid / SVG Music Score / Text Notation, bidirectional track↔pad highlight |
Song ( | Arrangement & export | Vertical sections layering multiple patterns ( |
Sounds ( | Synthesis, sampling & kits | 46.875 kHz 6-layer synth + FX chain, |
Device ( | Hardware ops & safety | MIDI port & clock state, live IN/OUT MIDI monitor, all 999 internal samples, checksum backups, custom aliases |
1. Interactive Beginner Lessons & Super Segment 66-Icon Atlas
2. Pad Map & 46.875 kHz Sound Designer
3. Song Timeline & MIDI / MusicXML Export
Install & Connect Any AI Agent
Requires Python 3.9–3.12 and an EP-133 K.O. II over USB-C (when traveling without hardware, switch connection to Browser simulator for instant WebAudio fallback). The compiled React frontend (web/dist/) ships ready to run.
git clone https://github.com/Loosand/EP133-studio.git
cd EP133-studio
uv venv --python 3.12 .venv
uv pip install -r requirements.txtOption A: Claude Code CLI
claude mcp add ep133-studio -- /ABSOLUTE/PATH/TO/EP133-studio/.venv/bin/python /ABSOLUTE/PATH/TO/EP133-studio/koii_studio_server.pyOption B: Antigravity / Cursor / Windsurf / Claude Desktop (MCP JSON)
Add to your Agent's MCP server configuration:
{
"mcpServers": {
"ep133-studio": {
"command": "/ABSOLUTE/PATH/TO/EP133-studio/.venv/bin/python",
"args": ["/ABSOLUTE/PATH/TO/EP133-studio/koii_studio_server.py"]
}
}
}Option C: Standalone Local Studio (No AI Agent Required)
.venv/bin/python -m koii_studio.visualiserOpens automatically at http://127.0.0.1:8133 (override port with KOII_STUDIO_WEB_PORT, disable auto-tab with --no-browser or KOII_STUDIO_WEB=off).
Typical Hardware Agent Workflow
Ask your Agent: "Connect to my EP-133, write a dusty 90 BPM boom-bap drum beat, add a bassline, and open the visualiser":
connect()locates your EP-133 USB MIDI port automatically, andopen_visualiser()launches the live local studio.Your Agent authors patterns in compact notation, validates via
check_pattern(), and callsplay(..., loop=True).Iterate conversationally while the groove plays—every updated
playswaps seamlessly at the end of the current bar.save_pattern()/save_song()persist your library to~/.koii-studio/library.json, andexport_midi()/export_musicxml()export for DAWs or sheet music.
Notation Quick Reference
Full spec: NOTATION.md
Syntax | Meaning |
| One line per sound; one character = one step (default 1/16) |
| Hit ( |
| Rest / hold previous note |
| Tempo ( |
| Pitched basslines & melodies on a dedicated MIDI channel |
| Section repeats ( |
Available MCP Tools (35+)
Area | Tools |
Connection |
|
Composition & Playback |
|
Export |
|
Sound Design & Kits |
|
Device Samples, Pads & Packs |
|
Kit Aliases |
|
Repository Structure & Development
koii_studio/: Python MCP server (server.py), notation parser, sequencer, 46.875 kHz DSP synth (synth/), USB SysEx file & backup protocol (files.py,backup.py,samples.py), and HTTP/SSE backend (visualiser.py).web/: React 19 + TypeScript + Tailwind v4 local hardware workbench UI (pnpm test:run,pnpm build).crates/: Rust core rewrite workspace (koii-notation,koii-studio,koii-studio-server) under active development.site/: Experimental browser preview & project homepage (ep133-studio.vercel.app).
# Python tests
.venv/bin/python -m pytest
# Local workbench tests & production build
pnpm --dir web install && pnpm --dir web test:run && pnpm --dir web build
# Rust workspace check/tests
cargo test --workspaceAcknowledgements & Disclaimer
Evolved from the upstream open-source foundation by benjaminr/mcp-koii (
koii studio, MIT License).Reverse-engineered EP-133 SysEx sample/pad protocol by ep-series-sysex (MIT License; see THIRD_PARTY_NOTICES.md).
Built on MIDO and the Model Context Protocol.
100% Free, Educational & Open Source (MIT License): Besides MIDI notes, EP-133 Studio reads/writes EP-133 sample & pad storage over an undocumented USB protocol. It enforces full backups before custom uploads and verifies slot checksums, yet firmware differences can still affect device state—keep regular backups and close Teenage Engineering's EP Sample Tool while running EP-133 Studio. Not affiliated with or endorsed by Teenage Engineering AB.
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
Email inboxes, webhook URLs, mock APIs and 170+ tools for coding agents over one MCP connection.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
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.35MIT
- 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 gradedqualityCmaintenanceLets an AI model drive a Teenage Engineering OP-1 field over USB MIDI — designing sounds, playing scored parts, running tape and mixer, and authoring presets — while capturing every take from the device's own USB audio. The model then works from measured recordings of what was actually heard, reading levels, note detection and spectrograms rather than assuming what it sent.MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI model to drive a Teenage Engineering EP-133 K.O. II from a Mac over USB MIDI, SysEx, and USB audio, managing sample uploads, project writes, playback, recording, and device backups.MIT