跳到正文
FunCoding

Logic Pro MCP

官方 MCP Registry 已收录

Logic Pro MCP server for stateful DAW control, live readback, MIDI, plugins, and safety gates.

Star
226
版本
v3.20.1
许可证
MIT
最近提交
2026年12月1日

Logic Pro MCP

A local Model Context Protocol server that lets an MCP client (Claude Code, Cursor, Codex, VS Code and others) drive Logic Pro on macOS: transport, tracks, mixer, MIDI, plug-ins, navigation, project lifecycle and audio-file analysis. It talks to the client over stdio, and every write is checked against what Logic reports back.

Claude for Open Source — Selected

Logic Pro MCP launch film: a real Claude Code session drives Logic Pro from plain-language requests, setting the tempo, panning and bringing in five parts, and every change shown is read back. Click for the full two minute film with sound.
A real Claude Code session, live on Logic Pro 13.0 with v3.19.0, at 1.0x. Click for the 2 min film with sound.

Install · Register a client · Permissions · Tools · Safety model · What changed in 3.19.0 · Demo

🏆 Selected for Anthropic's Claude for Open Source program

Logic Pro MCP has been officially selected for Anthropic's Claude for Open Source program — recognition from the makers of Claude that this project is open-source work worth supporting. This server is built with Claude, for Claude-powered agents — and is now officially supported by the program.

At a Glance

ItemValue
Server version3.20.1 (ServerConfig.serverVersion)
Release stateCurrent published stable: v3.20.1 (Homebrew, MCP registry, GitHub)
Logic ProDesktop Logic Pro (com.apple.logic10). The current version is declared once, in AXLocalePolicy.currentLogicVersion, and LogicProSupport.latestValidatedLogicVersion is derived from it (Logic 13.0 build 7801 is what docs/canon/MANIFEST.json pins today); the supported floor is 12.0.1 (minimumSupportedLogicVersion), best effort. Apple Creator Studio's Logic Pro is recognized, not supported
macOS14 or later (Package.swift: .macOS(.v14))
ArchitectureRelease package is universal (arm64 and x86_64, LogicProMCP-macOS-universal.tar.gz)
Source buildSwift 6 toolchain (swift-tools-version: 6.0)
SurfaceAll 10 tools, 19 resources, 12 templates; 138 registered operations
Read resources19 static resources: health, transport, Tempo List, tracks, mixer, markers, project info/audit/cleanup plan, MIDI ports, MCU state, library inventory, stock plugins and instruments, Session Players, workflow skills
Resource templates12 templates: operation catalog, per-track, region, mixer strip, plug-in and instrument lookup/search, Session Player, session plan, workflow lookup/search

v3.20.1 is the current published stable on Homebrew, the MCP registry and GitHub. The source is at 3.20.1. The Formula and server.json name v3.20.1, and the installer URLs below pin it. The installer line is also in docs/SETUP.md. 3.20.0 was a GitHub-only release, superseded by 3.20.1.

Install

Homebrew

brew tap MongLong0214/logic-pro-mcp https://github.com/MongLong0214/logic-pro-mcp
brew trust monglong0214/logic-pro-mcp   # Homebrew 6.0+ only
brew install logic-pro-mcp

The Formula pins the release tarball URL and its SHA256. Upgrade with brew update && brew upgrade logic-pro-mcp.

MCP registry

server.json publishes this server's metadata as io.github.MongLong0214/logic-pro-mcp. The record names the published registry release (v3.20.1), the same release the Formula names. The record is metadata-only: it points at the Homebrew install above and the GitHub release, and does not install anything itself.

Pinned shell installer

The installer is fail-closed: it refuses to run without an explicit LOGIC_PRO_MCP_SHA256 archive pin. It verifies the downloaded LogicProMCP-macOS-universal.tar.gz archive before extraction. Copy the pin from the LogicProMCP-macOS-universal.tar.gz SHA256SUMS entry of the release:

curl -fsSL https://raw.githubusercontent.com/MongLong0214/logic-pro-mcp/v3.20.1/Scripts/install.sh -o install.sh
# inspect install.sh, then:
LOGIC_PRO_MCP_SHA256=<paste the SHA256SUMS entry for the universal archive> bash install.sh

To accept fetching the checksum from the same release as the archive, opt in explicitly:

LOGIC_PRO_MCP_ALLOW_SAME_ORIGIN=1 \
bash <(curl -fsSL https://raw.githubusercontent.com/MongLong0214/logic-pro-mcp/v3.20.1/Scripts/install.sh)

By default the installer also registers the server with Claude Code and fails if the claude CLI is missing; set LOGIC_PRO_MCP_REGISTER_CLAUDE=0 to skip that. See SECURITY.md for the trust tiers.

Build from source

git clone https://github.com/MongLong0214/logic-pro-mcp.git
cd logic-pro-mcp
swift build -c release

The binary is .build/release/LogicProMCP. Published binaries are unsigned (see SECURITY.md), so a reinstalled or rebuilt binary is a new executable identity and Accessibility/Automation grants may need to be granted again.

Register with an MCP client

Claude Code:

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

Cursor, VS Code, Codex and any other client that accepts a stdio server entry use the same shape. Where the config file lives and which key wraps it is defined by each client:

{
  "mcpServers": {
    "logic-pro": {
      "command": "LogicProMCP"
    }
  }
}

Supported clients are those macOS holds responsible for the server they start, for example Claude Code run from Terminal. Claude Desktop is not a supported client (see #1596 and #1655): macOS may evaluate the LogicProMCP binary itself, and a permission grant on the client app does not apply.

For a source build, set command to the absolute path of .build/release/LogicProMCP.

Two launches of one server

Claude Desktop can start the same configured server twice (chat and Code/Cowork). Since #1568 only one process reserves the virtual MIDI port group (CoreMIDI, MCU, Key Commands, Scripter); the other keeps its MIDI channels degraded rather than taking a subset of the ports. MIDI endpoints are also created only when a route first needs them, so logic_system health reports those channels unavailable until then. A process that lost the reservation does not take over later: stop the competing launch and restart the one you want. No Logic or permission change is needed. Details: docs/TROUBLESHOOTING.md.

Permissions

Grant these to the process macOS evaluates for the server, the TCC principal that logic_system permissions or LogicProMCP --check-permissions names when run from your client (the client app, or the LogicProMCP binary itself when the client disclaims responsibility), in System Settings, Privacy & Security:

  • Accessibility
  • Automation for Logic Pro and for System Events
  • PostEvent (keyboard-event posting). It is checked and reported separately, because the CGEvent paths need it

Check them:

LogicProMCP --check-permissions   # prints status, exits non-zero if not ready
LogicProMCP doctor                # full read-only readiness report

macOS grants belong to the principal, so run these from the client that will launch the server and see Troubleshooting. Creator Studio's Logic Pro is a distinct app to macOS and needs its own Automation grant. To keep the server on desktop Logic Pro, set LOGIC_PRO_BUNDLE_ID=com.apple.logic10.

Other CLI flags (from LogicProMCP --help): --version, --help, lifecycle <install|update|uninstall> [--json] (read-only plan), and --qualify (live qualification run against the packaged binary; with --mutate-open-project it writes to the project Logic has open).

Setup Doctor

LogicProMCP doctor is read-only and safe before the server starts. The --json form is a stable machine contract (schema logic_pro_mcp_doctor.v5).

LogicProMCP doctor                 # human report
LogicProMCP doctor --json          # machine contract
LogicProMCP doctor --strict        # exit codes: 0 ok, 1 failed, 2 manual_action_required, 3 degraded
LogicProMCP doctor --profile core --client claude-desktop
LogicProMCP doctor --check-updates # opt-in network lookup for a newer release

--profile is one of core|mixer|keycmd|legacy-scripter|full; --client is one of claude-code|claude-desktop|cursor|vscode|terminal|custom. A check that could not run is reported skipped with a reason, never as a pass. Only non-pass checks with a concrete remediation are ordered into fix_plan; a failure without one is still shown in the headline as a terminal outcome. Illustrative output:

{
  "schema": "logic_pro_mcp_doctor.v5",
  "doctor_profile": "core",
  "status": "failed",
  "headline": "Terminal outcome [permissions.accessibility]: Accessibility permission is not granted.",
  "fix_plan": ["install.binary_inventory"],
  "summary": { "total": 26, "passed": 15, "warnings": 1, "failed": 2, "skipped": 8, "manual": 0, "duration_ms": 333 },
  "checks": [ { "id": "binary.path", "status": "pass", "category": "installation", "severity": "info" } /* ... */ ]
}

Every check and its remediation is in docs/SETUP.md.

Verify from your agent

Check Logic Pro MCP health and list ready channels.

Only programmatically verifiable channels report ready. The bundled Key Commands mapping and Scripter assets are references: operations that depend on them report unattended_unavailable because their Logic-side setup cannot be confirmed programmatically. Raw MIDI calls stay available when the virtual transport is ready.

Tools and operations

Ten tools, each taking {command, params}. The operation names come from OperationID in Sources/LogicProMCP/Server/OperationRegistry.swift; the exact per-operation parameters are published at runtime by logic://system/operations and documented in docs/COMMAND-PARAMETERS.md.

ToolOperationsArea
logic_transport13play, stop, record, pause, rewind, fast forward, cycle, metronome, count-in, autopunch, tempo, locate
logic_tracks20create (audio, instrument, drummer, external MIDI), select, rename, delete, duplicate, mute, solo, arm, automation, instrument, record_sequence, library scan and path resolution
logic_mixer16volume, pan, master volume, plug-in insert/parameter, verified output, input-bus and Send routing
logic_plugins8verified inventory, host parameter manifest, verified parameter read/write, Channel EQ, parameter-change planning
logic_midi19notes, chords, CC, program change, pitch bend, aftertouch, SysEx, MMC, sequence playback, file import, track export, note reads, virtual ports
logic_edit15undo, redo, cut, copy, paste, delete, select all, split, join, quantize, bounce in place, normalize, duplicate
logic_navigate9go to bar or marker, marker capture/create/rename/delete, zoom, view toggle
logic_project19new, open, save, save as, close, launch, quit, regions, session inspection and repair, audit, cleanup, guarded export plan/run/resume
logic_audio4read-only audio-file analysis, spectrum, EQ recommendation, spectrum comparison
logic_system15health, permissions, cache refresh, traces, support bundle, help, Saga preflight/execute/status/cancel, key-command and control-surface setup

Resources and templates are listed in docs/API.md (all 10 tools, 19 resources, 12 templates, the Honest Contract and verified apply-back).

What is live-qualified on Logic Pro 13.0

The live gate credits an operation only if the real handler ran, an independent readback was compared, and (for a write) the restore was read back. On Logic Pro 13.0 (build 7801), 121 of the 138 operations are not qualified; nothing on that list is reported as qualified. The list, with the reason for each, is docs/qualification/NOT_QUALIFIED_ON_LOGIC13.md, generated from docs/qualification/not-qualified-logic13.json.

The 17 operations not on the list are: transport play, stop, pause, tempo, cycle, metronome, count-in and goto_position; navigate.goto_bar; track rename, mute, solo and arm; mixer volume and pan; midi.list_ports; and system.export_support_bundle. Everything else is listed as not qualified, for reasons such as: the readback is fetched but never compared (read-only analysis and inspection), only a zero-write probe has run (project lifecycle, export, track creation, Saga execution, record), a recipe is refused because Logic 13 behaves differently (undo/redo, marker operations, track select, rewind/fast-forward), or setup needs an owner decision. project.bounce and transport.set_cycle_range are unsupported by contract. Evidence from earlier Logic versions does not carry over to 13.0.

Safety model

  • Honest results. Every mutating call returns one of three states. State A: the server wrote to Logic and independently read the result back. State B: the action was attempted but could not be verified; check before relying on it. State C: it failed and did not land; retry only if retry_safe says so.
  • Readback, not trust. A write is reported confirmed only after a separate read of Logic's own state agrees.
  • Explicit targets. A track index is an ordinal, not an identity. Prefer target_ref from a fresh read; some operations that accept a bare index require expected_name so the live header is checked first. Unknown parameter keys are rejected before anything runs.
  • Refusals name their precondition. When an operation cannot run safely (no open project, a blocking dialog, an unreadable list, missing permission) it refuses with a typed reason instead of guessing, before touching Logic where it can.
  • Restoring what it disturbs. Operations that open a panel or change selection or view state to read or write something restore it and report what they restored. When restoration cannot be proven, the result says so rather than claiming State A.
  • Timeouts. A request that times out cannot start a later write behind the caller's back; an effect that may have happened is reported as unknown and unsafe to retry.
  • Consequential operations are confirmed. For example export_run and apply_session_repair take an explicit confirmation bound to a plan.

Contract detail: docs/API.md and docs/COMMAND-PARAMETERS.md.

Locales

The server tracks ten Logic UI languages: en-US, ko-KR, ja-JP, de-DE, es-ES, fr-FR, it-IT, pt-BR, zh-CN, zh-TW. UI-string matching lives in docs/locale/ui-labels.json, the canon every locale-sensitive locator derives from. Each label records, per locale, whether it was measured from a live Logic window or derived from Apple's own string tables.

Live measurement on Logic Pro 13.0 is in progress (PR #1590 adds the Logic version axis and ko-KR). Until it lands, the committed live evidence on 13.0 is bounded read-only ko-KR evidence, and the other locales currently rely on canon-derived labels: Apple's own string for that key, a strong signal but not a live observation. The roadmap (docs/roadmap/README.md) tracks per-feature locale campaigns.

Troubleshooting

Start with LogicProMCP doctor and LogicProMCP --check-permissions, then see docs/TROUBLESHOOTING.md. The items that most often apply:

  • Permissions look granted but fail. Grants belong to the TCC principal that the permission report names: the client app, or the exact LogicProMCP binary when the client disclaims responsibility. After an upgrade or rebuild, remove only entries for binaries no client launches any more, then grant the measured principal again.
  • Homebrew refuses the tap. Homebrew 6.0+ needs brew trust monglong0214/logic-pro-mcp.
  • MIDI channels degraded or ports missing. Usually a second server launch holds the port group; stop the duplicate and restart.
  • Health says Logic is not ready. Logic needs to be running with a project open, no blocking dialog, and not sitting at the project chooser.
  • Key Commands or Scripter operations report unattended_unavailable. Expected: their Logic-side setup cannot be confirmed programmatically.

Using LogicProMCP as a library

The package exposes the LogicProMCP target as the library product LogicProMCPKit (since v3.17.0); you import LogicProMCP. Almost all of the module is internal; the public surface is small (the plug-in preset inspector, the plug-in instance identity census and the Library inventory data model).

.package(url: "https://github.com/MongLong0214/logic-pro-mcp", from: "3.17.0"),
// target dependency:
.product(name: "LogicProMCPKit", package: "logic-pro-mcp")

What changed in 3.19.0

Compared with v3.18.0. The full per-change list, with every stated limit, is in CHANGELOG.md.

Caller-facing changes since v3.18.0. Guard scripts, CI, qualification infrastructure, live harnesses, roadmap work, and issue bookkeeping are excluded unless they changed a shipped contract. Every stated limit remains part of the corresponding change.

Added

  • The command schema can opt into registry-derived per-command parameters (#1093, #1104).
  • logic://tempo/map reads an already-open current-project Tempo List (#1308).
  • logic://transport/state.keySignature exposes the control bar's current key signature read-only (#1117, #1120).
  • The verified Mixer routing surface now includes bounded output, input-bus and Send operations (#1208, #1219, #1259, #1264, #1297, #1307, #1309, #1311).
  • Navigation gains explicit marker capture and explicit view/zoom intent (#1140, #1142, #1390).
  • Audio comparison gains content-bound absolute and shape summaries (#1070, #1171, #1479), plus explicit target curves (#1166).
  • Plug-in discovery and planning gain three read-only, target-bound operations (#1176, #1286, #1444).
  • Session inspection can acquire request-owned population, retain immutable snapshots and plan/apply bounded repairs (#1072, #1073, #1143).
  • Reference-bound native MIDI inspection is public (#1349, #1480).
  • logic_system setup_midi_key_commands exposes the consent-first read-only binding check (#1516).
  • Gain, Sample Delay, and Noise Gate expose their measured parameters through read-only logic_plugins get_param_verified (#1396).
  • Compressor ratio is available through read-only logic_plugins get_param_verified (#299).
  • Compressor knee is available through the same read-only path (#299).
  • Compressor attack is available through the same read-only path (#299).
  • Compressor release and makeup complete the requested read-only scalar recall set (#299).
  • Compressor circuit_type exposes its current value read-only (#299).
  • Compressor auto_gain and distortion expose their current values read-only (#299).
  • Compressor rms_mode exposes the current Peak/RMS selection read-only (#299, #1471).
  • The fixed verifier can carry an opaque session-issued string from a setup call into the row's operation (#1028).
  • The fixed verifier can now express the two bounded #291 routing pilots.
  • logic_mixer set_output_verified: one strip's output to one exact destination, read back from the same strip (#291 R2).

Changed

  • CoreMIDI, MIDI Key Commands and Scripter defer endpoint ownership until routed demand (#1574).
  • logic_edit quantize applies the requested grid through an operation-owned retained Inspector target (#1111).
  • record_sequence can copy an imported take onto an exact existing Software Instrument track (#1441).
  • Selected Saga workflows bind execution to their exact preflight plan.

Fixed

  • transport.rewind and transport.fast_forward now step exactly one bar through CGEvent alone (#1092, #1095).
  • Doctor treats unavailable setup facts as terminal read-only diagnostics, not human fix plans (#1485).
  • Logic's project chooser is a positive non-document state instead of stale project readiness (#1579).
  • Logic 13 background refresh no longer forces an explicit refresh to wait behind hidden-Mixer work (#1566).
  • A timed-out mutating request cannot start a later channel or direct effect after ownership is lost (#1572).
  • logic_tracks resolve_path reads an atomically published in-memory Library scan snapshot outside the Accessibility actor (#1550, #1560).
  • Logic 13 transport-container discovery follows the measured toolbar role without selecting a same-described view-toggle group.
  • logic://project/info.sampleRate now prefers a positive SampleRate from the validated current project's saved MetaData.plist over a disagreeing live transport value (#1552).
  • record_sequence no longer starts its MIDI import after the request has already returned operation_timeout (#1551).
  • record_sequence works in Logic's default control-bar display mode (#1420).
  • record_sequence no longer splits into two tracks for notes off channel 1.
  • export_track_midi / read_track_notes accept several conductor chunks.
  • export_track_midi / read_track_notes accept Logic's single-track (format 0) export.
  • tracks.set_instrument opened the wrong Library folder when the Library panel shows one column (#1100).
  • Under a keyboard input source that is not ASCII-capable, a CGEvent plain-letter key is sent through a switch to an ASCII-capable layout and the user's source is selected back (#1039).
  • The background state poll yields while a text field in Logic has keyboard focus (#1079).
  • track.set_automation on MCU no longer leaves Logic's Write warning up behind its reply (#1077).
  • transport.goto_position's CGEvent fallback types nothing until the Go To Position dialog is on screen (#1038).
  • A toggle press that was delivered is not pressed again by a later rung (#1042).
  • In Portuguese, transport.play finds the control bar's Play checkbox and a playing transport reads as playing (#1060).

Removed

  • Standalone logic_project bounce now terminates unsupported without opening Logic UI (#1487).
  • logic://transport no longer declares isPaused (#1041).

Known limitations

  • Operations on the Logic 13.0 not-qualified list above have not been exercised end to end there.
  • Logic 12.2+ does not accept the legacy Key Commands .plist import, so Key Commands mapped operations stay unattended_unavailable.
  • system.setup_arm_key refuses for it-IT, pt-BR and zh-TW until their Key Commands spelling is proven.
  • Apple Creator Studio is not covered by the qualification matrix.

Development

swift build
swift test --no-parallel

Documentation

DocumentFor
docs/SETUP.mdInstall, permissions, Logic setup, doctor checks and remediations
docs/API.mdAll 10 tools, 19 resources, 12 templates, Honest Contract, verified apply-back
docs/COMMAND-PARAMETERS.mdParameters per command
docs/TROUBLESHOOTING.mdSymptoms and fixes
docs/qualification/NOT_QUALIFIED_ON_LOGIC13.mdWhat the live gate does not qualify on Logic 13.0
CHANGELOG.mdPer-release changes and limits
SECURITY.mdInstaller trust model, vulnerability reporting
CONTRIBUTING.mdContributing

License

MIT. See LICENSE.

同类 MCP Server

官方

markitdown

Convert various file formats (PDF, Word, Excel, images, audio) to Markdown.

MImicrosoft/markitdown199k近 7 天新增 1,075 个 star

HyperFrames by HeyGen

Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.

HEheygen-com/hyperframes93k近 7 天新增 4,463 个 star

精选

tldraw

在画布上与智能体协作,绘制图形并实时执行代码。

TLtldraw/tldraw52k近 7 天新增 130 个 star

Next AI Draw.io

draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand

DADayuanJiang/next-ai-draw-io37k近 7 天新增 119 个 star

精选

mcp-for-blender

让智能体在 Blender 里建模,搭建和修改 3D 场景。

AHahujasid/mcp-for-blender37k近 7 天新增 952 个 star

screenpipe

Search your local screen recordings, audio transcripts, and computer activity from screenpipe.

SCscreenpipe/screenpipe23k近 7 天新增 97 个 star