reascript-mcp
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., "@reascript-mcplist tracks from project 'song.rpp'"
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.
reascript-mcp
MCP server exposing Reaper/ReaScript project-control helpers to AI agents.
This is the first working slice of the Reaper layer for the Asian Sentry agentic music tooling stack. It complements music21-mcp: music21 handles symbolic music reasoning; ReaScript handles project-level DAW control and state readback.
Current tools
Tool | What it does |
| Parse a |
| Generate Lua ReaScripts for supported actions. Current actions: |
| Generate a supported Lua ReaScript and write it to disk for loading/running in REAPER. |
Related MCP server: ReaperMCP
Install
cd reascript-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'Run tests
python -m pytest -qCurrent status: 12 tests passing.
Use as MCP server
python -m reascript_mcp.serverExample MCP config:
{
"mcpServers": {
"reascript-mcp": {
"command": "/path/to/reascript-mcp/.venv/bin/python",
"args": ["-m", "reascript_mcp.server"],
"cwd": "/path/to/reascript-mcp"
}
}
}Direct Python examples
from reascript_mcp.tools.parse_rpp_project import parse_rpp_project
from reascript_mcp.tools.generate_reascript import generate_reascript
print(parse_rpp_project("song.rpp"))
script = generate_reascript("list_tracks", {"output_path": "tracks.json"})
print(script["script"])
from reascript_mcp.tools.write_reascript_file import write_reascript_file
write_reascript_file("list_tracks", {"output_path": "tracks.json"})Next build slices
Add a Reaper CLI smoke harness that runs against a disposable config/project and exits cleanly.
Add more project-control scripts: create tracks, rename tracks, import MIDI, set tempo map, add markers/regions.
Expand structured state readback scripts beyond
read_project_state: MIDI note contents, routing/sends, FX parameter snapshots, and render metadata.Connect this to the common musical data model so music21/mido/ReaScript reference the same musical locations.
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert projects between Logic, Ableton, FL Studio and REAPER; generate, separate, transcribe
OCR, transcription, file extraction, and image generation for AI agents via MCP.
A real timeline video editor for AI agents: journaled edits, FFmpeg/MLT rendering, exports
Project management MCP for AI agents with safe task reads and writes.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI-powered music composition and control for REAPER DAW through OSC and ReaScript integration. Supports transport control, MIDI generation, track management, and music theory operations like scales, chords, and rhythm patterns.17-
- AlicenseBqualityAmaintenanceConnects AI assistants to REAPER for music production, enabling full control over tracks, MIDI, mixing, mastering, and audio analysis through 153 tools across 24 modules.17365Apache 2.0
- AlicenseCqualityAmaintenanceEnables AI assistants to control REAPER DAW via the Model Context Protocol, including track, FX, MIDI, and audio operations.4783MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered music production by integrating with REAPER DAW via MCP protocol, allowing users to control project settings, MIDI editing, and VST plugins through natural language.8-