Repository avatar
Other Tools
v0.1.0-alpha.6
active

reaper-mcp

io.github.SarutobiSasuke8/reaper-mcp

Windows alpha for editing REAPER projects offline and through a local live bridge.

Documentation

reaper-mcp

An agent-first MCP server for REAPER, built by Alexei Udall.

Windows public alpha 0.1.0-alpha.6. Install from npm or download the GitHub prerelease.

Compose native MIDI tracks, insert configured instruments, shape CC dynamics and keyswitch articulations, save projects and render audio through 14 MCP tools. Offline workflows also support a conservative RPP subset, MIDI/WAV import, mix/stem/region rendering and audio measurements.

Windows 10/11 with a separately installed REAPER is the supported alpha target. Native acceptance is tested on REAPER 7.86. Install and configure, supported operations and limits, release evidence.

npm ci
npm run check

See Windows setup, architecture, tool contract, headless evidence, and port manifest.

RPP conversion currently supports audio items, MIDI notes, step tempo changes, explicit sends, JSFX references and markers/regions. Unknown structures fail explicitly; existing complex DAW projects are not safe to round-trip through this subset converter. The offline converter does not support arbitrary VST state, controllers, take lanes or automation. Use native live operations to preserve existing plugin state and insert CC/articulation performances.

Quick start

On Windows, install REAPER separately and use Node.js 20 or 22. The server starts in read-only mode.

$workspace = "$env:LOCALAPPDATA/ReaperMCP/workspace"
New-Item -ItemType Directory -Force $workspace
codex mcp add reaper --env "REAPER_MCP_WORKSPACE=$workspace" -- npx -y @sarutobi-sasuke/reaper-mcp@0.1.0-alpha.6

For another stdio client, use npx with arguments -y @sarutobi-sasuke/reaper-mcp@0.1.0-alpha.6 and set REAPER_MCP_WORKSPACE to an existing absolute folder. See the Windows setup guide for write access, bridge setup and audio modes.

Purpose

  • A compact surface of 14 MCP tools, with capability discovery and guarded execution.
  • Two modes:
    • Offline: write .RPP projects from a backend-neutral song model and render headlessly with reaper -renderproject.
    • Live today: Lua bridge inspection of projects, tracks and FX, plus guarded track name/gain/pan/mute edits. Native track/instrument insertion, MIDI clips, CC/dynamics ramps, named keyswitch articulations, guarded existing-note/keyswitch edits, scoped CC ramp replacement and save/reopen/section renders are also available. See performance editing. Transport and FX parameter editing remain roadmap work.
  • Builds on MIT-licensed audio-analysis code from lmms-mcp. Broader genre, arrangement and vocal workflows remain roadmap work.

REAPER licensing

REAPER is commercial software from Cockos. This repository never contains or redistributes REAPER binaries. You need your own REAPER installation and licence (or evaluation).

Licence

MIT. See LICENSE.

Live composition: MIDI and instrument workflow. Optional additions: instrument and workflow expansion plan.

Performance control and local quartet templates: usage. BBC palette and solo-string limitations: instrument reference.

reaper_analyze accepts an optional workspace-relative referencePath WAV, validated with the same path and size rules as file. When supplied, referenceMatch reports RMS level-match gain and band, slope and width deltas. Missing or undecodable references return a tool error.