reaper-mcp-server

v0.4.0
reaper-mcp-server Checked 5 days ago Published 1 month ago

MCP server for controlling REAPER DAW with AI agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_project

Create a new REAPER project, in a new project tab, with the given tempo and time signature. The current project stays open, unsaved changes included.

ParameterTypeDescription
namestring
temponumber
time_signaturestring

save_project

Save the current project. If no path is given, saves to ~/Documents/REAPER Projects.

ParameterTypeDescription
project_pathstring

load_project

Load a REAPER project (.rpp) from the given file path.

ParameterTypeDescription
project_path *string

get_project_info

Get information about the current project: name, path, tempo, tracks, length.

set_tempo

Set the project tempo in BPM.

ParameterTypeDescription
bpm *number

set_time_signature

Set the project time signature, e.g. 4/4, 3/4, 6/8.

ParameterTypeDescription
denominator *integer
numerator *integer

create_track

Create a new track at the end of the project. track_type: audio, midi, instrument, folder

ParameterTypeDescription
name *string
track_typestring

delete_track

Delete a track by its index.

ParameterTypeDescription
track_index *integer

rename_track

Rename a track.

ParameterTypeDescription
name *string
track_index *integer

set_track_volume

Set track volume in dB. Range: roughly -150 to +12 dB.

ParameterTypeDescription
track_index *integer
volume_db *number

set_track_pan

Set track pan. -1.0 = full left, 0.0 = center, 1.0 = full right.

ParameterTypeDescription
pan *number
track_index *integer

set_track_mute

Mute or unmute a track.

ParameterTypeDescription
muted *boolean
track_index *integer

set_track_solo

Solo or unsolo a track.

ParameterTypeDescription
soloed *boolean
track_index *integer

get_track_info

Get detailed information about a track including FX and items.

ParameterTypeDescription
track_index *integer

list_tracks

List all tracks in the current project with their basic parameters.

set_track_color

Set track color using RGB values (0–255 each).

ParameterTypeDescription
b *integer
g *integer
r *integer
track_index *integer

create_midi_item

Create an empty MIDI item on a track. Returns item_id for use with add_midi_note.

ParameterTypeDescription
length *number
start_position *number
track_index *integer

add_midi_note

Add a MIDI note to an existing MIDI item. pitch: MIDI note number 0–127 (60 = middle C, 69 = A4). start/length: seconds, relative to the item's start. channel: MIDI channel 0–15 (use 9 for drums).

ParameterTypeDescription
item_index *integer
length *number
pitch *integer
start *number
track_index *integer
channelinteger
velocityinteger

create_chord_progression

Create a chord progression on a track as a single MIDI item. chords: comma-separated chord names, e.g. "C,G,Am,F" or "Cm7,Fm7,Bb7,Ebmaj7". Supports: maj, min/m, dim, aug, maj7, min7/m7, dom7/7, dim7, hdim7, sus2, sus4. All chords are voiced around middle C (MIDI 60).

ParameterTypeDescription
chords *string
start_position *number
track_index *integer
beats_per_chordinteger

create_drum_pattern

Create a drum pattern on a track using a step-sequencer string. Each character = one step. Characters: k=kick, s=snare, h=hihat(closed), o=hihat(open), t=tom(low), m=tom(mid), f=tom(high), c=crash, r=ride, .=rest. Example 4/4 rock beat (16 steps): "k...h...s...h..." All drum notes are placed on MIDI channel 9 (GM standard).

ParameterTypeDescription
pattern *string
start_position *number
track_index *integer
beatsinteger
repeatsinteger

add_fx

Add an FX plugin to a track. Works for both instruments (VSTi) and effects (VST/AU). Use the exact plugin name as shown in REAPER's FX browser. Built-in Cockos plugins: ReaEQ, ReaComp, ReaDelay, ReaVerb, ReaLimit, ReaSynth, ReaSamplOmatic5000, ReaTune, ReaGate, ReaFIR, ReaXcomp.

ParameterTypeDescription
fx_name *string
track_index *integer

remove_fx

Remove an FX plugin from a track by its index.

ParameterTypeDescription
fx_index *integer
track_index *integer

set_fx_parameter

Set a normalized parameter value (0.0–1.0) on an FX plugin. Use get_fx_parameters to discover available parameters and their indices.

ParameterTypeDescription
fx_index *integer
param_index *integer
track_index *integer
value *number

get_fx_parameters

Get all parameters for an FX plugin, including names, indices, and current values.

ParameterTypeDescription
fx_index *integer
track_index *integer

list_track_fx

List all FX plugins on a track.

ParameterTypeDescription
track_index *integer

bypass_fx

Enable or bypass (disable) an FX plugin on a track.

ParameterTypeDescription
bypassed *boolean
fx_index *integer
track_index *integer

load_fx_preset

Load a saved preset by name for an FX plugin.

ParameterTypeDescription
fx_index *integer
preset_name *string
track_index *integer

import_audio_file

Import an audio file onto a track at the given position (seconds). Supports all formats REAPER can read: wav, aiff, mp3, flac, ogg, etc.

ParameterTypeDescription
file_path *string
track_index *integer
positionnumber

start_recording

Arm a track and start recording. Call stop_transport when done.

ParameterTypeDescription
track_index *integer

stop_transport

Stop playback or recording.

play_project

Start project playback from the current cursor position.

set_cursor_position

Move the edit cursor to a position in seconds.

ParameterTypeDescription
position *number

edit_audio_item

Trim an audio item and/or add fades. All values in seconds. start_trim: seconds to remove from the beginning. end_trim: seconds to remove from the end. fade_in/fade_out: fade length in seconds.

ParameterTypeDescription
item_index *integer
track_index *integer
end_trimnumber
fade_innumber
fade_outnumber
start_trimnumber

adjust_pitch

Adjust the pitch of an audio item by semitones (can be fractional).

ParameterTypeDescription
item_index *integer
semitones *number
track_index *integer

adjust_playback_rate

Adjust playback rate of an audio item. 1.0 = normal speed, 0.5 = half speed.

ParameterTypeDescription
item_index *integer
rate *number
track_index *integer

add_volume_automation

Add a volume automation point on a track, showing its volume envelope if needed. position: time in seconds. value_db: volume level in dB.

ParameterTypeDescription
position *number
track_index *integer
value_db *number

add_pan_automation

Add a pan automation point on a track, showing its pan envelope if needed. pan: -1.0 (full left) to 1.0 (full right).

ParameterTypeDescription
pan *number
position *number
track_index *integer

create_send

Create an aux send from one track to another.

ParameterTypeDescription
dest_track_index *integer
source_track_index *integer
volume_dbnumber

list_sends

List all sends from a track.

ParameterTypeDescription
track_index *integer

remove_send

Remove a send from a track by its index.

ParameterTypeDescription
send_index *integer
source_track_index *integer

set_send_volume

Set the volume of a send in dB.

ParameterTypeDescription
send_index *integer
source_track_index *integer
volume_db *number

create_bus

Create a new bus track and route the given tracks to it via sends. track_indices: list of track indices to feed into the bus.

ParameterTypeDescription
name *string
track_indices *array

render_project

Render the entire project to a file. format: wav, flac, mp3 (requires LAME), ogg. sample_rate: e.g. 44100, 48000, 96000. bit_depth: 16, 24, or 32 (WAV only; ignored for mp3/ogg/flac). channels: 1 (mono) or 2 (stereo).

ParameterTypeDescription
output_path *string
bit_depthinteger
channelsinteger
formatstring
sample_rateinteger

render_time_selection

Render a specific time range of the project to a file.

ParameterTypeDescription
end *number
output_path *string
start *number
bit_depthinteger
channelsinteger
formatstring
sample_rateinteger

render_stems

Render each track as a separate stem file by soloing each track individually. track_indices: list of track indices, or null to render all tracks. Files are named after the track names in the output directory.

ParameterTypeDescription
output_directory *string
bit_depthinteger
formatstring
sample_rateinteger
track_indices

render_regions

Render each region of the project to its own file, using the project's render settings. pattern: file name pattern; $region, $regionnumber, $project are available, and it may name subdirectories. REAPER numbers names that would clash ("take-001", "take-002"). selected_only: render only the regions selected in REAPER; with none selected, REAPER renders all of them. dry_run: return the project's regions and the files REAPER would write, without rendering. It sets the render settings and restores them. Fails without rendering if any output file already exists; never deletes files.…

ParameterTypeDescription
output_directory *string
dry_runboolean
patternstring
selected_onlyboolean
stall_timeout_secondsnumber
timeout_secondsnumber

add_master_fx

Add an FX plugin to the master track.

ParameterTypeDescription
fx_name *string

list_master_fx

List all FX plugins on the master track.

set_master_fx_parameter

Set a normalized parameter (0.0–1.0) on a master track FX plugin.

ParameterTypeDescription
fx_index *integer
param_index *integer
value *number

set_master_volume

Set the master track output volume in dB.

ParameterTypeDescription
volume_db *number

apply_mastering_chain

Add a standard mastering FX chain to the master track. Presets: default (EQ > Comp > Limiter), loud (EQ > Comp x2 > Limiter), gentle (EQ > light Comp > Limiter). After applying, use set_master_fx_parameter to dial in specific settings. Use list_master_fx + get_fx_parameters to discover parameter indices.

ParameterTypeDescription
presetstring

apply_limiter

Add ReaLimit to the master track and set its threshold and release. threshold_db: -60 to +12 dB. release_db_per_sec: how fast gain reduction recovers, in dB per second as ReaLimit displays it (about 6 and up; higher recovers faster; default 15).

ParameterTypeDescription
release_db_per_secnumber
threshold_dbnumber

analyze_loudness

Render the project to a temp file and measure integrated loudness (LUFS) and true peak (dBTP) using the ITU-R BS.1770 standard.

normalize_project

Measure the project's integrated loudness, then adjust the master volume so the output hits the target LUFS level. Common targets: -14 LUFS (streaming), -16 LUFS (podcasts), -23 LUFS (broadcast).

ParameterTypeDescription
target_lufsnumber

analyze_frequency_spectrum

Render the project and analyze frequency band levels. Returns RMS level in dB for seven bands: sub_bass (20–60Hz), bass (60–250Hz), low_mids (250–500Hz), mids (500–2kHz), high_mids (2–4kHz), presence (4–8kHz), brilliance (8–20kHz).

detect_clipping

Render the project and detect digital clipping (samples at or above 0 dBFS). Returns clipped sample count, peak level in dB, and whether clipping was found.

analyze_dynamics

Render the project and measure dynamic range: RMS, peak, crest factor, and a simplified DR score (average peak-to-RMS over 3-second blocks).

analyze_stereo_field

Render the project and analyze stereo width and mono compatibility. Returns mid/side balance, stereo width ratio, and L/R correlation. Correlation near 1 = mono-like, near 0 = wide stereo, negative = phase issues.

analyze_transients

Render the project and detect transient events (note attacks, drum hits, etc.). Returns the count and timing of up to 100 transient onset events.

list_track_templates

List the track templates (.RTrackTemplate files) in REAPER's TrackTemplates folder, including subfolders. Each entry has 'name' (file name without extension), 'path' (relative to the TrackTemplates folder, e.g. "Vocals/Lead Vox"), the absolute 'file', and the names of the tracks the template contains. Pass either 'name' or 'path' to insert_track_template.

insert_track_template

Insert a saved track template into the current project, exactly like REAPER's own "Insert track from template": FX with their saved state, routing, folder structure, envelopes and items are all preserved. Templates can contain several tracks. template: a name or path from list_track_templates ("Vocal Chain", "Vocals/Lead Vox"), or an absolute path to a .RTrackTemplate file. position: 0-based track index the template's first track should occupy. Existing tracks at that index and below are shifted down. Omit to append at the end. The inserted tracks are left selected, matchin…

ParameterTypeDescription
template *string
position