Skip to main content
Glama

start_playback

Initiates playback of an Ableton Live session via the Model Context Protocol, enabling direct control for AI-assisted music production workflows.

Instructions

Start playing the Ableton session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'start_playback' that proxies the command to the Ableton remote script via socket communication.
    @mcp.tool() def start_playback(ctx: Context) -> str: """Start playing the Ableton session.""" try: ableton = get_ableton_connection() result = ableton.send_command("start_playback") return "Started playback" except Exception as e: logger.error(f"Error starting playback: {str(e)}") return f"Error starting playback: {str(e)}"
  • Actual implementation in Ableton remote script that calls self._song.start_playing() to start playback in Ableton Live.
    def _start_playback(self): """Start playing the session""" try: self._song.start_playing() result = { "playing": self._song.is_playing } return result except Exception as e: self.log_message("Error starting playback: " + str(e)) raise
  • Dispatch handler in remote script that routes 'start_playback' command to the _start_playback method.
    elif command_type == "start_playback": result = self._start_playback()

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/ahujasid/ableton-mcp'

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