Skip to main content
Glama
Logic Pro MCP Server

Logic Pro MCP Server

Logic Pro MCP Server

Swift 6.0+ macOS 14+ MCP SDK 0.12 License: MIT

Organize and control Logic Pro from AI assistants. One call renames, colors and stacks every track in a session. The server drives Logic through 5 native macOS control channels (CoreMIDI, Accessibility, CGEvent, AppleScript, OSC) with routing and fallback between them.

9 tools, 7 resources, ~3k context tokens. Not 100+ individual tools.

Built for anyone who opens a session full of Audio_14.wav tracks: mix engineers getting files from artists, producers cleaning up before a bounce, writers tidying a demo. Ask Claude to "clean up this session" and it renames, color-codes and groups the tracks into track stacks in one step.

Organize a session in one call

logic_organize({})                            # rename + color + stack everything
logic_organize({params: {dry_run: true}})     # show the plan, change nothing

logic_organize reads the track list and sorts each track into a group by its name: drums, bass, vocals, guitars, keys, orchestral, synths, fx, or other. Then it:

  1. Renames. Strips .wav/.aif extensions, underscores and Logic's copy suffixes ("Lead_Vox_01.wav" becomes "Lead Vox 01").

  2. Colors. Gives each group its own Logic palette color.

  3. Stacks. Puts every group (except other) with 2 or more loose tracks into a named track stack ("Drums", "Vocals"...). Folder stacks by default, summing stacks with stack_kind: "summing".

You can fix anything it gets wrong in the same call, inside params: names: {"3": "Kick In"}, categories: {"7": "fx"}, colors: {"drums": 2}, or switch a step off with rename: false, color: false or stack: false. If a step fails, it stops and reports what it already did.

What's supported

Feature

Command

Rename + color + stack a whole session

logic_organize

Set track color (one track or many)

logic_tracks("set_color", {indices: [0, 1], color: 3})

Read track colors

logic://tracks (each track has color)

Create a folder or summing stack

logic_tracks("create_stack", {indices: [2, 3, 4], kind: "folder", name: "Drums"})

Ungroup a stack

logic_tracks("flatten_stack", {index: 2})

Add tracks to / remove tracks from a folder stack

logic_tracks("stack_add", {stack: 2, indices: [7]})

Read stack membership

logic://tracks (each track has isStack and Logic's track number; a closed stack's tracks are the numbers it skips)

Rename a track

logic_tracks("rename", {index: 0, name: "Kick"})

Notes on how these work:

  • Colors are numbered 1 to 96. Logic's color palette has 4 rows of 24 swatches. Number 1 is the top-left swatch, and the count goes left to right, top row first. The top row has the brightest colors.

  • Color readback is limited. Logic does not report a track's color to Accessibility. logic://tracks shows the colors this server set; colors set by hand in Logic show as null.

  • Adding to or removing from a stack works by ungrouping the folder stack and stacking the new set of tracks again, because Logic has no "move into stack" command.

  • Summing stacks are protected. flatten_stack, stack_add and stack_remove refuse them, because ungrouping a summing stack deletes its channel strip and plugins.

  • One command at a time. Track and organize calls queue behind each other, so two calls sent at once can't act on each other's selection.

  • Stack membership comes from Logic's track numbers. A closed stack hides its tracks, so they show up as the numbers it skips. stack_add, stack_remove and logic_organize close open stacks first.

  • Tested in Logic Pro 13. Every command here was run against a real Logic 13 project. Other versions may name their menus or dialogs differently. If something doesn't match, the command stops and says what it couldn't find, without changing anything else.

  • Show the Mixer. Logic 13 only accepts track selection from the Mixer, so keep the Mixer open in the main window (press X in Logic). If selection still fails, select the tracks yourself and pass use_selection: true.

  • Logic comes to the front. Logic greys out its color and stack commands while it's in the background, so these commands bring it forward. Picking a color and opening or closing a stack use a real mouse click, because Logic ignores Accessibility presses on those controls. The pointer goes back where it was.

  • Close Logic's dialogs first. Starting the server adds MIDI ports, and Logic answers with a "Number of MIDI ports changed" alert that blocks every command until you close it.

Compared with other ways to organize Logic

Tool

Renames

Colors

Creates stacks

Claude can run it

This server

Yes

Yes, by category

Folder and summing

Yes

EasyColor

No

Yes, by name or stack

No

No

Logic 13 Assistant

Yes

Yes

Yes

No (Apple Creator Studio only)

MongLong0214/logic-pro-mcp

Yes

No

No

Yes

rosasynthesiz/logic-pro-mcp

Yes

Yes

No

Yes

Checked against each tool's own docs in December 2026.

Related MCP server: Logic Pro MCP Server

How It Works

Claude ──── 9 dispatcher tools ──── logic_organize({})
         │                           logic_tracks("set_color", {indices: [3], color: 2})
         │  7 MCP resources ──────── logic://transport/state
         │  (zero tool cost)         logic://tracks
         ▼
   ┌─── LogicProMCP ──────────────────────────────┐
   │  Command Dispatcher → Channel Router          │
   │     │       │       │       │       │         │
   │  CoreMIDI   AX    CGEvent  AS     OSC        │
   │   <1ms    ~15ms    <2ms   ~200ms  <1ms       │
   └───────────────────────────────────────────────┘

Each command routes through the fastest available channel, with automatic fallback if the primary fails.

Tools & Resources

Tools (9 dispatchers, all actions)

Tool

Commands

Examples

logic_organize

Rename, color and stack the whole session

logic_organize({params: {dry_run: true}})

logic_tracks

select, create_audio, rename, set_color, create_stack, flatten_stack, stack_add, stack_remove, mute, solo, arm...

logic_tracks("set_color", {indices: [2], color: 5})

logic_transport

play, stop, record, set_tempo, goto_position...

logic_transport("set_tempo", {tempo: 140})

logic_mixer

set_volume, set_pan, set_master_volume

logic_mixer("set_volume", {track: 0, value: 0.8})

logic_midi

send_note, send_cc, send_chord, mmc_play...

logic_midi("send_note", {note: 60, velocity: 100, channel: 1, duration_ms: 500})

logic_edit

undo, redo, cut, copy, paste, quantize, split...

logic_edit("quantize", {value: "1/16"})

logic_navigate

toggle_view, zoom_to_fit, create_marker

logic_navigate("toggle_view", {view: "mixer"})

logic_project

new, open, save, save_as, close, launch, quit

logic_project("open", {path: "/path/to/song.logicx"})

logic_system

health, permissions, refresh_cache, help

logic_system("help", {category: "transport"})

Resources (7 URIs — zero context cost)

URI

Description

Refresh

logic://transport/state

Playing/recording/tempo/position/cycle

500ms

logic://tracks

All tracks: mute/solo/arm, color, stack membership

2s

logic://tracks/{index}

Single track detail

2s

logic://mixer

All channel strips: volume, pan, plugins

2s

logic://project/info

Project name, sample rate, time sig

5s

logic://midi/ports

Available MIDI ports

10s

logic://system/health

Channel status, cache, permissions

on-demand

Installation

Quick Install (Script)

curl -fsSL https://raw.githubusercontent.com/koltyj/logic-pro-mcp/main/Scripts/install.sh | bash

Download Binary

Grab the latest universal macOS binary from GitHub Releases, then:

chmod +x LogicProMCP
sudo mv LogicProMCP /usr/local/bin/

Build from Source

Requires Swift 6.0+ and macOS 14+.

git clone https://github.com/koltyj/logic-pro-mcp.git
cd logic-pro-mcp
swift build -c release
# Binary at .build/release/LogicProMCP

Register with Claude Code

claude mcp add --scope user logic-pro -- LogicProMCP

Claude Desktop (One-Click Bundle)

Download logic-pro-mcp.mcpb from the latest release and double-click it. Claude Desktop installs it as an extension. You don't need the binary or the config below.

The server is also listed in the official MCP Registry as io.github.koltyj/logic-pro-mcp.

Claude Desktop (Manual Config)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "logic-pro": {
      "command": "/usr/local/bin/LogicProMCP",
      "args": []
    }
  }
}

Permissions

The server requires two macOS permissions:

  1. Accessibility — System Settings > Privacy & Security > Accessibility > add your terminal app

  2. Automation — System Settings > Privacy & Security > Automation > allow control of Logic Pro

Check permission status:

LogicProMCP --check-permissions

Usage

Once registered, ask your AI assistant naturally:

  • "Clean up this session" — logic_organize({})

  • "Show me how you'd organize this before you change anything" — logic_organize({params: {dry_run: true}})

  • "Color and stack the tracks by group, without renaming" — logic_organize({params: {rename: false}})

  • "Put the drums in a summing stack" — logic_tracks("create_stack", {indices: [...], kind: "summing", name: "Drums"})

  • "What tracks do I have?" — reads logic://tracks resource

  • "Mute track 3" — logic_tracks("mute", {index: 3, enabled: true})

  • "Set tempo to 128" — logic_transport("set_tempo", {tempo: 128})

  • "Play a C major chord" — logic_midi("send_chord", {notes: [60,64,67], ...})

  • "Show me the mixer" — logic_navigate("toggle_view", {view: "mixer"})

For full command reference: logic_system("help", {category: "all"})

Architecture

Channel Routing

Channel

Latency

Used For

CoreMIDI

<1ms

Transport (MMC), note/CC/sysex sending

Accessibility

~15ms

State reading, UI button clicks, slider values

CGEvent

<2ms

Keyboard shortcuts (postToPid, no focus needed)

AppleScript

~200ms

App lifecycle only (launch, quit, open file)

OSC

<1ms

Mixer control (requires Logic Pro OSC setup)

State Cache

Background Accessibility polling with adaptive intervals:

  • Active (tool used <5s ago): 500ms transport, 2s tracks/mixer

  • Light (5-30s idle): 2s all

  • Idle (>30s): 5s all, near-zero CPU

Context Efficiency

Approach

Tools

Resources

Context Cost

Typical MCP server

100+ tools

0

~40k tokens

This server

9 tools

7 resources

~3k tokens

Same 100+ operations. 90% less context.

Limitations

Logic Pro does not expose a programmatic API. This server works within macOS platform constraints:

  • UI element paths may change between Logic Pro versions

  • Some deep state (automation curves, region MIDI data) is not exposed via Accessibility

  • AX element labels may be localized on non-English macOS

  • Plugin parameter control is limited to what's visible in the UI

  • OSC channel requires manual Logic Pro Control Surface setup

  • Track color is write-only from Logic's side; see the notes under "What's supported"

This is the ceiling for Logic Pro automation given Apple's constraints.

Changelog

See CHANGELOG.md.

Development

# Build debug
swift build

# Build release
swift build -c release

# Run tests
swift test

# Check permissions without starting server
.build/debug/LogicProMCP --check-permissions

Project Structure

Sources/LogicProMCP/
  main.swift                 # Entry point
  Server/                    # MCP server + config
  Dispatchers/               # 9 MCP tool dispatchers
  Resources/                 # 7 MCP resource handlers
  Channels/                  # 5 communication channels
  Accessibility/             # AX API wrappers
  MIDI/                      # CoreMIDI engine + MMC
  OSC/                       # UDP client/server
  State/                     # Cache + adaptive poller
  Utilities/                 # Logging, permissions, process utils

License

MIT

Available Tools

9 tools
logic_editLogic Pro editingA
Destructive

Run Logic Pro's edit commands on whatever is selected in the open project: undo, redo, cut, copy, paste, delete, select_all, split, join, quantize, bounce_in_place, duplicate. They act on the current selection and playhead, so select regions or tracks first (logic_tracks select). duplicate selects everything, copies it and pastes at the playhead. delete and cut remove the selection; undo reverses them.

Inputs: command (required), params.

logic_midiSend MIDI to Logic ProA

Send MIDI into Logic Pro through the server's virtual MIDI port: notes, chords, CC, program change, pitch bend, aftertouch, SysEx, and MMC transport (mmc_play, mmc_stop, mmc_record, mmc_locate). Logic plays or records it on the selected or record-armed track. Use logic_transport for normal transport control; MMC is for setups that follow MIDI Machine Control. To list ports, read logic://midi/ports.

Inputs: command (required), params.

logic_mixerLogic Pro mixerA

Set channel strip levels in the open Logic Pro project: set_volume, set_pan, set_master_volume. Track indexes are 0-based, as in logic://tracks, and change when tracks are added, removed or stacked, so re-read them before retrying. Values are absolute, not relative. To read current levels and plug-ins, read the logic://mixer resource.

Inputs: command (required), params.

logic_navigateLogic Pro views and markersA

Change what the open Logic Pro project shows: toggle_view shows or hides the mixer, piano roll, score, step editor, library, inspector or automation; zoom_to_fit fits the whole project in the window; create_marker adds a marker at the playhead. To move the playhead, use logic_transport goto_position.

Inputs: command (required), params.

logic_organizeOrganize a Logic Pro sessionA

Clean up every track in the open Logic Pro project in one call: tidy names (drops .wav, underscores and " copy"), color each track by instrument group, and put each group of 2+ tracks into a named track stack. Groups: vocals, drums, bass, guitars, keys, orchestral, synths, fx, other ("other" is colored but never stacked). Use this for a whole session; use logic_tracks for one track or a hand-picked set. Run with dry_run first on a new session: it returns the plan and changes nothing. Then call again with dry_run: false. Returns a text report of every rename, color and stack. Closes any open stacks first, brings Logic to the front and clicks in it while it runs. If a rename, color or stack step fails, it stops and reports what it already changed.

Inputs: params.

logic_projectLogic Pro projectsA
Destructive

Open, save and close Logic Pro projects and start or quit Logic: new, open, save, save_as, close, launch, quit. open and save_as take a path to a .logicx project. close and quit can leave Logic's save prompt open for the person at the Mac to answer. To read the project name, sample rate and time signature, read logic://project/info.

Inputs: command (required), params.

logic_systemServer health and helpA
Read-only

Check that the Logic Pro server can reach Logic, and get help: health (which control channels work, cache age, whether Logic is running), permissions (macOS Accessibility and Automation status), refresh_cache (marks the server active so its background reads of Logic speed up; it does not wait for a read), help (full param docs for one tool). Call health or permissions first when other tools fail. Changes nothing in Logic.

Inputs: command (required), params.

logic_tracksLogic Pro tracksA
Destructive

Change single tracks or a chosen set of tracks in the open Logic Pro project: select, create (audio, instrument, drummer), delete, duplicate, rename, mute, solo, arm, set_color, and track stacks (create_stack, flatten_stack, stack_add, stack_remove). Track indexes are 0-based, top to bottom; read logic://tracks first to get them. To clean up a whole session at once, use logic_organize instead. delete removes the track and its regions. flatten_stack, stack_add and stack_remove refuse summing stacks, because ungrouping one deletes its channel strip and plug-ins. Color and stack commands bring Logic to the front.

Inputs: command (required), params.

logic_transportLogic Pro transportA

Start, stop and move the playhead in the open Logic Pro project: play, stop, record, pause, rewind, fast_forward, toggle_cycle, toggle_metronome, toggle_count_in, set_tempo, goto_position, set_cycle_range. record starts recording on armed tracks. To read the current state without changing it, read the logic://transport/state resource. Needs Logic Pro running on the same Mac.

Inputs: command (required), params.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 9 tools

    Disambiguation4/5

    Tools are mostly partitioned by clear domains: mixer, transport, tracks, MIDI, edit, navigation, project, and system. A few boundaries overlap, especially logic_tracks vs logic_organize for track cleanup and logic_edit/delete vs logic_tracks/delete, but the descriptions explicitly clarify when to use each.

    Naming Consistency5/5

    All tools follow a highly predictable logic_<domain> pattern, with concise domain nouns such as mixer, transport, tracks, midi, edit, navigate, project, and system. The convention is consistent across the entire set.

    Tool Count5/5

    Nine tools is well-scoped for a Logic Pro control server. Each tool represents a meaningful functional area, and none appears redundant or trivial.

    Completeness4/5

    The surface covers core project lifecycle, track management, mixer control, transport, MIDI, editing, navigation, bulk organization, and diagnostics. Some gaps remain, such as deeper plug-in parameter control, automation editing, and more complete marker management, but the essential workflows are represented.

    Maintenance

    ActivityMaintained
    ResponsivenessMixed handling

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A powerful MCP tool for parsing and manipulating MIDI files that allows users to read, analyze, and modify MIDI files through natural language commands, supporting operations like reading file information, modifying tracks, adding notes, and setting tempo.
      11
      51 npm
      12
      MIT