Skip to main content
Glama
Logic Pro MCP Server

Logic Pro MCP Server

Send MIDI to Logic Pro

logic_midi

Send MIDI notes, chords, CC, program changes, pitch bend, aftertouch, SysEx, and MMC transport into Logic Pro via a virtual MIDI port so the selected or record-armed track plays or records it.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "logic_midi"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNochannel is 1-16 (default 1); other values are 0-127. send_note: {note, velocity, channel, duration_ms: 0-10000}. send_chord: {notes: [Int], velocity, channel, duration_ms}. send_cc: {controller, value, channel}. send_program_change: {program, channel}. send_pitch_bend: {value: -8192 to 8191, channel}. send_aftertouch: {value, channel}. send_sysex: {bytes: [Int]} or {data: "F0 ... F7"}. create_virtual_port: {name}. mmc_locate: {time: "HH:MM:SS:FF"}.
commandYesThe action to run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (openWorldHint=false, destructiveHint=false), and the description usefully adds where the MIDI lands — on the selected or record-armed track — which is genuine behavioral context. It is silent, however, on failure modes an agent would hit in practice (Logic not running, port not yet existing, whether create_virtual_port must be called first) and on whether anything is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and destination, then capability list, then routing guidance — a sensible ordering with no filler. The parenthetical list of mmc_* names does partially duplicate the command enum, which keeps it just short of ideal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Only two parameters with fully documented nested shapes, so the schema carries most of the load. The description covers destination, transport alternatives, and port discovery, but leaves an important gap: it describes sending through 'the server's virtual MIDI port' while also offering create_virtual_port, without saying whether that port must exist first — an agent cannot tell if setup is required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%: the command enum is fully enumerated and the params object documents every per-command shape including channel ranges and pitch-bend bounds. The description only restates the command families already visible in the enum, adding no format or constraint detail beyond the schema, so the baseline applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (send MIDI into Logic Pro) and enumerates exactly which message classes it covers (notes, chords, CC, program change, pitch bend, aftertouch, SysEx, MMC transport). It is clearly separable from logic_transport, which it names as the alternative for ordinary transport.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: 'Use logic_transport for normal transport control; MMC is for setups that follow MIDI Machine Control.' It also redirects port discovery to the logic://midi/ports resource, so the agent knows when not to call this tool for that purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.