set_track_mute
Mute or unmute a specific track in Ableton Live by specifying the track index and mute state to control audio output during music production.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| mute | No |
Implementation Reference
- MCP_Server/server.py:546-555 (handler)MCP tool handler function that proxies the set_track_mute command to the Ableton Remote Script via socket connection.@mcp.tool() def set_track_mute(ctx: Context, track_index: int, mute: bool = False) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("set_track_mute", {"track_index": track_index, "mute": mute}) status = "muted" if result.get('mute') else "unmuted" return f"Track '{result.get('track_name')}' is now {status}" except Exception as e: logger.error(f"Error setting track mute: {str(e)}") return f"Error setting track mute: {str(e)}"