Skip to main content
Glama

solo_track

Control track isolation in REAPER by soloing or unsoloing specific tracks to focus on individual audio elements during music production.

Instructions

Solo or unsolo a track.

Args:
    track_number: Track number (1-based)
    solo: True to solo, False to unsolo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_numberYes
soloNo

Implementation Reference

  • MCP tool handler function for 'solo_track'. Registers the tool via @mcp.tool() decorator and implements the logic by calling ReaperBridge.set_track_solo.
    @mcp.tool()
    def solo_track(ctx: Context, track_number: int, solo: bool = True) -> str:
        """
        Solo or unsolo a track.
        
        Args:
            track_number: Track number (1-based)
            solo: True to solo, False to unsolo
        """
        bridge = get_bridge()
        if bridge.set_track_solo(track_number - 1, solo):
            state = "soloed" if solo else "unsoloed"
            return f"Track {track_number} {state}"
        return "Error: OSC command failed"
  • ReaperBridge helper method that sends the specific OSC command to REAPER to solo or unsolo the track.
    def set_track_solo(self, track_index: int, solo: bool) -> bool:
        """Solo/unsolo track."""
        return self.send_osc(f"/track/{track_index + 1}/solo", 1 if solo else 0)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yura9011/scythe_mcp_reaper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server