
nucleus-blast
io.github.ArritosRecords/nucleus-blast
Full control of Logic Pro on macOS for your AI agent, every result read back from Logic.
Documentation
Nucleus Blast · Logic Pro MCP
Full-stack control of Logic Pro for an AI agent. A native MCP server. Made by Nuclé for Arritos Records.
Website: https://arritos.com/records/nucleus-blast/
You say what you want, Logic does it, and the server reads back what Logic actually shows. It does not listen to audio and it does not compose: the producer decides, the tool executes and checks.
Status: early release. Tested on one Mac, with Logic Pro 13.0 and Logic Pro 12.3.1 (Creator Studio edition), macOS 26, and Logic's interface in English (48 / 48 read-only checks on both versions, 4 Dec 2026).
What it does
One tool, logic, takes a command and its params. 87 commands in seven domains:
| Domain | Commands |
|---|---|
| Start here | help, batch, trace, support, health, project, app, project_audit, project_cleanup, tracks, track_select, track_stack, template |
| Transport, time and view | transport, record, control_bar, goto, cycle, tempo, tempo_event, marker, zoom, panel |
| Tracks and regions | new_tracks, track_delete, track_rename, track_duplicate, edit, track_sort, select, region_get, region_set, region_move, region_resize, region_menu, stem_split, automation_points, session_player, library, instrument, patch_save |
| Mixer and routing | mixer, fader, pan, mute, solo, arm, input_monitoring, automation_mode, sends, send, send_level, output, input, strip_menu, strip_setting |
| Plug-ins | insert, plugin_list, eq_band, open, close, view, params, set, options, preset_menu, preset, preset_save, sidechain |
| MIDI, import, bounce, export, measure | midi, import_audio, import_midi, export_midi, sequence, bounce, audio_analyze, export_tracks |
| Any menu, dialog, key command, gesture | find, menu_list, menu, local_menu, context_menu, dialog, key_command, undo, redo, mouse |
help {topic: 'recipes'} gives the usual order of calls for common jobs (first look, audit and tidy, bounce, export stems,
record a take, undo safely…). The same reads are offered as MCP resources: logic://project, logic://tracks,
logic://mixer, logic://project/audit, logic://library, logic://recipes… (17 in all).
help {} gives one line per command; help {command: "bounce"} gives its parameters.
The rules it keeps
- It reads back. A reply says
verified: trueonly when Logic showed the expected state after the action. - It never steals your keyboard. Logic stays in the background whenever possible. When a gesture needs Logic in front, the server waits for a quiet keyboard and puts back the app you were using.
- It never answers a Logic dialog for you. The dialog's text is returned; you decide, then press a named button.
- Changes need a yes. Commands that change the project or write a file need
confirmed: true. - Reading never changes anything.
panel,mute,solo,fader… read when no value is given.
Install
You need a Mac with macOS 14 or later, Logic Pro 13 or 12.3, and Swift 6 (Xcode 16 or its command line tools).
git clone https://github.com/ArritosRecords/nucleus-blast.git
cd nucleus-blast
sh install.sh
.build/release/nucleus-blast --check # what the server sees: permissions, Logic Pro, project window
install.sh builds the server, then copies the templates and the menu inventory from Resources/ into
~/Library/Application Support/Nucleus Blast/. It writes nothing else. The build fetches one dependency, the official
MCP Swift SDK.
Register .build/release/nucleus-blast as a stdio MCP server in your client. Many clients take an entry like this one
in their MCP configuration, with the absolute path that install.sh printed:
{
"mcpServers": {
"logic": {
"command": "/path/to/nucleus-blast/.build/release/nucleus-blast"
}
}
}
macOS will ask for the Accessibility permission for the app that launches it (your terminal or your MCP client).
Templates
template {} lists them, template {name: "trap beat", confirmed: true} runs one. Sixteen ship in Resources/Templates:
- Six beats that open as a new project, playing in a loop:
afro house beat,techno beat,hip-hop beat,trap beat,drum and bass beat,rock beat. They use kits from Logic's own sound library: if a kit is missing, download it in Logic first. - Ten setups that work in the project you already have open:
clean session,markers,mix bus,mix bus glue,vocal setup,guitar setup,piano setup,session band,drum machine setup,mastering chain.
vocal setup and guitar setup arm an audio track, so Logic plays its input live: mind your monitoring.
A template is a small .json file, with a Logic project next to it for a beat. Add your own in the same folder.
Environment (all optional): LOGIC_PRO_BUNDLE_ID (force a Logic edition), NUCLEUS_BLAST_HOME (data folder),
NUCLEUS_BLAST_MENUS_INDEX (inventory read by find), NUCLEUS_BLAST_TRANSIT (folder used while importing MIDI),
NUCLEUS_BLAST_DEBUG (file that receives a log of mouse gestures).
Check it
swift test # unit tests, no Logic needed
python3 Tools/check.py .build/release/nucleus-blast # 48 read-only checks against an open Logic project
Tools/check.py changes nothing in the project. Run it on every Mac and every Logic version before trusting a build.
How the code is laid out
Sources/nucleus-blast/ the program: one line that starts the server
Sources/NucleusBlastKit/
Server/Server.swift MCP wiring, one call at a time, front-app safety net
Server/Registry.swift the single table of commands: domain, summary, usage, handler; help; dispatch
Core/Nucleus.swift replies and typed Accessibility reads shared by every command
Core/LogicLocator.swift where Logic is: project window, strips, insert slots, track headers, regions
Core/Params.swift reading command parameters
Core/MidiFile.swift writing a standard MIDI file
Core/Places.swift every path and environment setting, in one place
Core/AudioMeasure.swift levels, loudness (ITU-R BS.1770), spectrum, resonances of an audio file
Server/Recipes.swift the usual sequences of calls, and the logic://… resources
Commands/ one file per domain: Project, Tracks, Transport, Recording, Overview, Editing, Menus,
Gestures, Plugins, Inventory, Routing, ImportAudio, Production, Midi, Library, Analysis
Tests/NucleusBlastKitTests/ unit tests of the pure parts
Tools/check.py read-only live check
Resources/Templates/ the templates that install.sh copies
Resources/menus-index.json the inventory of Logic's menus and key commands that `find` searches
install.sh build, then copy Resources/ into the data folder
Adding a command means writing its function in the right Commands/ file and adding one entry to Registry.swift.
The tool description, help and the dispatch all come from that entry.
Limits, said plainly
- Logic's interface must be in English: commands look for menus and controls by their English titles.
- It drives what Logic exposes to Accessibility. The inside of a third-party plug-in editor that exposes nothing is out of reach; its parameters are still reachable through Logic's generic Controls view.
- Mouse gestures need the target visible on screen, and a mixer strip's instrument is only read when its row is in view.
- Some Logic menu items do nothing when pressed through Accessibility (seen: Track > Sort Tracks by > Track Name on Logic 12.3.1); the reply says so instead of claiming success.
- It has run on one Mac. Expect surprises elsewhere, and please report them.
License
MIT. See LICENSE.
Nucleus Blast is not affiliated with Apple. Logic Pro is a trademark of Apple Inc.
https://github.com/ArritosRecords/nucleus-blast/releases/download/v0.1.0/nucleus-blast-0.1.0.mcpb# mcpb: https://github.com/ArritosRecords/nucleus-blast/releases/download/v0.1.0/nucleus-blast-0.1.0.mcpb