Skip to main content
Glama

get_session_info

Retrieve REAPER session details to verify connection status and confirm the MCP server integration is operational.

Instructions

Get information about REAPER. Note: OSC is primarily for sending commands.
Use this to confirm connection is working.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_session_info' tool. It is decorated with @mcp.tool(), which registers it with the MCP server. The function checks the REAPER OSC bridge connection and returns status information or an error message.
    @mcp.tool()
    def get_session_info(ctx: Context) -> str:
        """
        Get information about REAPER. Note: OSC is primarily for sending commands.
        Use this to confirm connection is working.
        """
        bridge = get_bridge()
        
        # Test OSC by sending a harmless command
        if bridge._osc_client:
            return """REAPER Connection:
    - OSC: Ready (localhost:8000)
    - Commands: File-based polling active
    
    To verify: Check that OSC is enabled in REAPER:
    Preferences → Control/OSC/Web → Add → OSC"""
        else:
            return "Error: OSC client not initialized. Install python-osc: uv add python-osc"

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