iflow-mcp_wegitor-reaper_reapy_mcp
v0.1.3REAPER DAW integration using MCP
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
test_connection
Test connection to Reaper.
get_region_list
Get a list of all regions in the project. Returns: Dict containing status and a list of regions, each with: - index: region index - start: region start position - end: region end position
create_track
Note: Track indices in REAPER API are 0-based (first track = 0, second = 1, etc.) However, REAPER's visual interface displays tracks starting from 1. So track 0 in API = Track 1 in REAPER UI.
| Parameter | Type | Description |
|---|---|---|
name |
rename_track
Rename an existing track. Args: track_index: 0-based track index (0 = first track, 1 = second, etc.) Note: REAPER UI shows tracks starting from 1, but API uses 0-based indexing. API track 0 = UI Track 1, API track 1 = UI Track 2, etc. new_name: New name for the track
| Parameter | Type | Description |
|---|---|---|
new_name * | string | |
track_index * | integer |
set_tempo
Set the project tempo.
| Parameter | Type | Description |
|---|---|---|
bpm * | number |
get_tempo
Get the current project tempo.
set_track_color
Set the color of a track. Args: track_index: 0-based track index (0 = first track, 1 = second track, etc.) color: Color value
| Parameter | Type | Description |
|---|---|---|
color * | string | |
track_index * | integer |
get_track_color
Get the color of a track. Args: track_index: 0-based track index (0 = first track, 1 = second track, etc.)
| Parameter | Type | Description |
|---|---|---|
track_index * | integer |
add_fx
Add an FX to a track.
| Parameter | Type | Description |
|---|---|---|
fx_name * | string | |
track_index * | integer |
remove_fx
Remove an FX from a track.
| Parameter | Type | Description |
|---|---|---|
fx_index * | integer | |
track_index * | integer |
set_fx_param
Set an FX parameter value.
| Parameter | Type | Description |
|---|---|---|
fx_index * | integer | |
param_name * | string | |
track_index * | integer | |
value * | number |
get_fx_param
Get an FX parameter value.
| Parameter | Type | Description |
|---|---|---|
fx_index * | integer | |
param_name * | string | |
track_index * | integer |
get_fx_param_list
Get a list of all parameters for an FX.
| Parameter | Type | Description |
|---|---|---|
fx_index * | integer | |
track_index * | integer |
get_fx_list
Get a list of all FX on a track.
| Parameter | Type | Description |
|---|---|---|
track_index * | integer |
get_available_fx_list
Get a list of all available FX plugins in Reaper.
toggle_fx
Toggle or set the enable/disable state of an FX.
| Parameter | Type | Description |
|---|---|---|
fx_index * | integer | |
track_index * | integer | |
enable |
create_region
Create a region in the project. Args: name: Name of the region start_time: Start position in seconds (optional if start_measure is provided) end_time: End position in seconds (optional if end_measure is provided) start_measure: Start position as "measure:beat,fraction" (optional if start_time is provided) end_measure: End position as "measure:beat,fraction" (optional if end_time is provided)
| Parameter | Type | Description |
|---|---|---|
name * | string | |
end_measure | ||
end_time | ||
start_measure | ||
start_time |
delete_region
Delete a region from the project.
| Parameter | Type | Description |
|---|---|---|
region_index * | integer |
create_marker
Create a marker in the project.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
time * | number |
delete_marker
Delete a marker from the project.
| Parameter | Type | Description |
|---|---|---|
marker_index * | integer |
get_master_track
Get information about the master track.
set_master_volume
Set the master track volume.
| Parameter | Type | Description |
|---|---|---|
volume * | number |
set_master_pan
Set the master track pan.
| Parameter | Type | Description |
|---|---|---|
pan * | number |
toggle_master_mute
Toggle or set the master track mute state.
| Parameter | Type | Description |
|---|---|---|
mute |
toggle_master_solo
Toggle or set the master track solo state.
| Parameter | Type | Description |
|---|---|---|
solo |
get_track_count
Get the number of tracks in the project.
get_track_list
Get a list of all tracks in the project. Returns: Dict containing status and a list of tracks, each with: - index: Track index - name: Track name - color: Track color (if available)
create_midi_item
Create an empty MIDI item on a track. Important: It is recommended to avoid overlapping MIDI items. Ensure to double-check before creating a new one. Returns both track_pos_idx and direct_item_id for flexible item referencing: - track_pos_idx: 0-based position index within the track (0, 1, 2, etc.) - direct_item_id: REAPER's internal item ID (string pointer) Both can be used interchangeably in subsequent operations like add_midi_note. Args: track_index: 0-based track index (0 = first track, 1 = second, etc…
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
length_measure | ||
length_time | ||
start_measure | ||
start_time |
add_midi_note
Add a MIDI note to a MIDI item. Reaper format 2.1.00 should be converted to 2:1,000. Important: Please check MIDI item length in which you want to add the note. If the note extends beyond the item bounds, create another one or resize existing before note adding. Double-check the item's starting position before adding it. Notes positioned before the item's position won't be added. Item Identification - TWO ways to specify which item: 1. Using track_pos_idx (integer): - Pass the simple index number from create_midi_item respo…
| Parameter | Type | Description |
|---|---|---|
item * | ||
pitch * | integer | |
track_index * | integer | |
length_measure | ||
length_time | ||
relative_start | boolean | |
start_measure | ||
start_time | ||
velocity | integer |
add_midi_notes
Add multiple MIDI notes to a MIDI item in one operation. Important: Please check MIDI item length in which you want to add notes. If any note extends beyond the item bounds, create another one or resize existing before note adding. Item Identification - TWO ways to specify which item: 1. Using track_pos_idx (integer): - Simple position number: 0 = first item, 1 = second item, etc. - Get this from create_midi_item response field "track_pos_idx" - Quick but may become invalid if items are deleted/reorder…
| Parameter | Type | Description |
|---|---|---|
item * | ||
notes * | array | |
track_index * | integer | |
relative_start | boolean |
clear_midi_item
Clear all MIDI notes from a MIDI item.
| Parameter | Type | Description |
|---|---|---|
item_id * | integer | |
track_index * | integer |
get_midi_notes
Get all MIDI notes from a MIDI item. By default, returns only visible notes (within item bounds). Invisible notes exist in the MIDI data but won't sound during playback. Item Identification - Accepts BOTH types: - track_pos_idx (integer): Simple index like 0, 1, 2 - direct_item_id (string): Internal ID like "MediaItem*0x..." Args: track_index: Index of the track item_id: EITHER integer track_pos_idx OR string direct_item_id include_invisible: If True, include notes outside item bound…
| Parameter | Type | Description |
|---|---|---|
item_id * | ||
track_index * | integer | |
include_invisible | boolean |
find_midi_notes_by_pitch
Find all MIDI notes within a specific pitch range across the project.
| Parameter | Type | Description |
|---|---|---|
pitch_max | integer | |
pitch_min | integer |
get_selected_midi_item
Get the first selected MIDI item in the project.
insert_audio_item
Insert an audio file as a media item on a track. Args: track_index: Index of the track file_path: Path to the audio file start_time: Start position in seconds (optional if start_measure is provided) start_measure: Start position as "measure:beat,fraction" (optional if start_time is provided)
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
track_index * | integer | |
start_measure | ||
start_time |
duplicate_item
Duplicate an existing item on a track. Item Identification - Accepts BOTH types: - track_pos_idx (integer): Simple index like 0, 1, 2 - direct_item_id (string): Internal ID like "MediaItem*0x..." Args: track_index: Index of the track item_id: EITHER integer track_pos_idx OR string direct_item_id new_time: New position in seconds (optional) new_measure: New position as "measure:beat,fraction" (optional)
| Parameter | Type | Description |
|---|---|---|
item_id * | ||
track_index * | integer | |
new_measure | ||
new_time |
get_item_properties
Get properties of a media item. Item Identification - Accepts BOTH types: - track_pos_idx (integer): Simple index like 0, 1, 2 - direct_item_id (string): Internal ID like "MediaItem*0x..." Args: track_index: Index of the track item_id: EITHER integer track_pos_idx OR string direct_item_id
| Parameter | Type | Description |
|---|---|---|
item * | ||
track_index * | integer |
set_item_position
Set the position of a media item. Item Identification - Accepts BOTH types: - track_pos_idx (integer): Simple index like 0, 1, 2 - direct_item_id (string): Internal ID like "MediaItem*0x..." Args: track_index: Index of the track item_id: EITHER integer track_pos_idx OR string direct_item_id position_time: New position in seconds (optional if position_measure is provided) position_measure: New position as "measure:beat,fraction" (optional if position_time is provided) whe…
| Parameter | Type | Description |
|---|---|---|
item_id * | ||
track_index * | integer | |
position_measure | ||
position_time |
set_item_length
Set the length of a media item. Item Identification - Accepts BOTH types: - track_pos_idx (integer): Simple index like 0, 1, 2 - direct_item_id (string): Internal ID like "MediaItem*0x..." Args: track_index: Index of the track item_id: EITHER integer track_pos_idx OR string direct_item_id length_time: Length in seconds from start of item (optional if length_measure is provided) length_measure: Length as "measure:beat,fraction" from start of item(optional if length_time is provided)
| Parameter | Type | Description |
|---|---|---|
item_id * | ||
track_index * | integer | |
length_measure | ||
length_time |
delete_item
Delete a media item from a track. Item Identification - Accepts BOTH types: - track_pos_idx (integer): Simple index like 0, 1, 2 - direct_item_id (string): Internal ID like "MediaItem*0x..." Args: track_index: Index of the track item: EITHER integer track_pos_idx OR string direct_item_id
| Parameter | Type | Description |
|---|---|---|
item * | ||
track_index * | integer |
get_items_in_time_range
Get all items on a track within a time range. Returns items with BOTH identification methods for each item: 1. track_pos_idx (integer): - Simple sequential index: 0, 1, 2, 3... - Easy to use in loops and quick operations - Changes if items before it are deleted 2. direct_item_id (string): - REAPER's permanent internal ID like "MediaItem*0x..." - Unique stable reference that never changes - Use this for reliable long-term item tracking You can use either one i…
| Parameter | Type | Description |
|---|---|---|
track_index * | integer | |
end_measure | ||
end_time | ||
start_measure | ||
start_time |
get_selected_items
Get all selected media items in the project with their properties. Returns: Dict containing status and list of selected items with their properties: - track_index: Index of the track containing the item - item_index: Index of the item in its track - position: Start time in seconds - length: Length in seconds from the start of item - is_midi: Whether the item is a MIDI item - name: Item name if available
get_time_signature
Get the current time signature of the project.
set_project_time_signature
Set the default project time signature. Args: numerator: Time signature numerator (e.g., 4 in 4/4) denominator: Time signature denominator (e.g., 4 in 4/4)
| Parameter | Type | Description |
|---|---|---|
denominator * | integer | |
numerator * | integer |
get_project_time_signature
Get the default project time signature.
set_time_signature
Set time signature at specified position. Args: numerator: Time signature numerator (e.g., 4 in 4/4) denominator: Time signature denominator (e.g., 4 in 4/4) position: Position as "measure:beat,fraction" (optional if time is provided) where fraction is milliseconds (e.g., "1:1,500" = measure 1, beat 1, half beat) time: Position in seconds (optional if position is provided)
| Parameter | Type | Description |
|---|---|---|
denominator * | integer | |
numerator * | integer | |
position | ||
time |
render_project
Render project to audio file. Args: output_file: Path to output audio file start_time: Start position in seconds (optional if start_measure is provided) end_time: End position in seconds (optional if end_measure is provided) start_measure: Start position as "measure:beat,fraction" (optional if start_time is provided) end_measure: End position as "measure:beat,fraction" (optional if end_time is provided) samplerate: Sample rate in Hz (default: 44100) channels: Number of channels (default: 2)…
| Parameter | Type | Description |
|---|---|---|
kwargs * | string | |
output_file * | string | |
channels | integer | |
end_measure | ||
end_time | ||
samplerate | integer | |
start_measure | ||
start_time |