Skip to main content
Glama

stop_clip

Stop playback of a specific audio or MIDI clip in Ableton Live by specifying track and clip positions. Control your music production session by halting individual clips when needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clip_indexYes
track_indexYes

Implementation Reference

  • The handler function for the 'stop_clip' MCP tool. It connects to Ableton via get_ableton_connection() and sends a 'stop_clip' command with track_index and clip_index parameters, returning a success or error message.
    @mcp.tool() def stop_clip(ctx: Context, track_index: int, clip_index: int) -> str: try: ableton = get_ableton_connection() ableton.send_command("stop_clip", {"track_index": track_index, "clip_index": clip_index}) return f"Stopped clip at track {track_index}, slot {clip_index}" except Exception as e: logger.error(f"Error stopping clip: {str(e)}") return f"Error stopping clip: {str(e)}"

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