Skip to main content
Glama

start_playback

Initiates playback in Ableton Live to begin music production sessions, allowing users to start creating arrangements immediately through AI-assisted control.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'start_playback' tool. It connects to Ableton via get_ableton_connection(), sends the 'start_playback' command, and returns a success message or error.
    @mcp.tool()
    def start_playback(ctx: Context) -> str:
        try:
            ableton = get_ableton_connection()
            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)}"
  • Helper list in send_command method that identifies 'start_playback' as a modifying command, providing extra timeout and delays for reliable execution.
    is_modifying_command = command_type in [
        "create_midi_track", "create_audio_track", "set_track_name",
        "create_clip", "add_notes_to_clip", "set_clip_name",
        "set_tempo", "fire_clip", "stop_clip", "set_device_parameter",
        "start_playback", "stop_playback", "load_instrument_or_effect",
        "load_browser_item"
    ]

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/Milesy1/MCP-Ableton-API'

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