Skip to main content
Glama

stop

Stop audio playback in REAPER DAW through AI-powered music composition control. Use this tool to halt transport functions during music production workflows.

Instructions

Stop playback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The handler function for the 'stop' MCP tool. It is registered via the @mcp.tool() decorator and executes by calling the ReaperBridge's stop method to send an OSC stop command to REAPER.
    @mcp.tool()
    def stop(ctx: Context) -> str:
        """Stop playback."""
        bridge = get_bridge()
        if bridge.stop():
            return "Playback stopped"
        return "Error: OSC command failed"
  • Supporting helper method in ReaperBridge class that sends the OSC '/stop' message to REAPER to stop playback.
    def stop(self) -> bool:
        """Stop playback."""
        return self.send_osc("/stop")
  • The @mcp.tool() decorator registers the stop function as an MCP tool named 'stop'.
    @mcp.tool()
  • REAPER action ID mapping for 'stop' used in trigger_action_by_name.
    "stop": 1016,

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