Spark MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Spark MCP
A LUNA panel for picking plugins by ear. Tell it what a track needs, like "make these drums more explosive", and it prints your track through three UADx plugins you own, sets the compressors to work equally hard, level matches them and lets you flip between them blind. Keep the one you like and it lands on the track sounding the way you heard it.
It also runs as an MCP server, so Claude Code or any other MCP agent can set up the same shootouts.
What you need
LUNA 3.1.2 or later, on macOS
Some UADx plugins. It only ever offers plugins you have installed and licensed.
An API key from Anthropic or OpenAI, or a model server on your own computer, such as Ollama or LM Studio
Related MCP server: Ardour Ultra MCP
Install
Install Spark MCP from LUNA's Add On showcase. Or download Spark-MCP.lunaaddon from the latest release and double-click it.
Open a session, then Add Ons > Browsers > Spark MCP. It opens in the panel beside the Timeline.
LUNA asks to let Spark MCP reach
api.anthropic.comandapi.openai.com. Allow the one you use. You can change this later in Settings > Add Ons > Servers.Click the gear, pick Claude or OpenAI and paste your key. It's kept in your keychain.
Use it
Click a track and loop or select a few bars where it plays. The panel shows both at the top.
Type what it needs in the box at the bottom and press Return.
When the candidates are ready, click the panel, press
Lto loop, and switch with the number keys.Press Return to keep the one you're hearing, or Esc to put the track back. You can also type "heavier" or "try something else" for a new round.
Key | Does |
| Hear the track as it was |
| Hear a candidate, level matched |
| Loop the section |
| Show or hide the names |
Return | Keep the one you're hearing |
Esc | Put the track back, or stop the assistant while it works |
A few things to know:
Switching dips for a moment. The track fades out for a fraction of a second, switches and fades back in. Switching instantly clicked.
Keep and Esc stop playback while plugins go on or come off, so nothing glitches mid-loop.
Compressors are set to work equally hard, 2 to 4 dB for a gentle request and up to about 10 dB for "slammed". Other plugins run on the preset the assistant picked.
Levels are matched on the track's Volume Trim, which LUNA limits to +12 dB.
Showing the names means that pick no longer counts as blind in your taste record.
Privacy
Your requests and the measurements Spark takes go to the model provider you choose, and your audio never leaves your computer. Prints are written to /tmp as spark-mcp-*, and macOS clears them.
The MCP server
For using Spark from Claude Code or another MCP agent. Needs Node 22 or later.
npm install
claude mcp add spark-mcp -- "$PWD/server/start.sh"Then open the Spark MCP panel in LUNA and ask your agent for a shootout. You listen and choose in the panel as usual. The server's tools:
Tool | Does |
| Tracks, inserts, free slots, markers, tempo, loop. |
| UADx effects you have installed and licensed, with presets and tags. |
| Prints a track and the rest of the mix to temporary files and measures them. Adds nothing to the session. |
| Loads up to three candidates, prints each alone, and opens them in the panel. |
| Where the shootout stands. While it's blind, results don't say which number is which. |
| Keeps one or calls it off, when you say so. |
| What you've picked, per role and plugin, with blind picks counted apart. |
Developing
File | Purpose |
| The shootout's state and moves, including the fades. Shared by the panel and the server. |
| Loudness (BS.1770), peak, crest, correlation, bands, masking, gain reduction. Shared. |
| Printing and measuring a shootout, given an |
| The seven tools an agent has. Shared. |
| The panel's |
| The model adapters and the conversation loop. |
| The panel. |
| The MCP server. |
| The LUNA Builder SDK 3.1.2.74 bundle, with its license. |
| Unit tests, the live check, and |
npm install
npm testnpm test doesn't need LUNA. The live check does, with a session you don't mind changing and a track that has audio in the bars you name. It works on a temporary copy of that track's first clip, removes the copy with undo afterwards, and never saves.
node tests/live-shootout.mjs Drums 17 21To package for LUNA, leave out the server, which a .lunaaddon can't run:
rsync -a --exclude server --exclude node_modules ./ /tmp/spark-pack/
node "<LUNA Builder SDK>/dist/cli.js" pack /tmp/spark-pack --out Spark-MCP.lunaaddonWhat LUNA does that shaped this
Measured on LUNA 3.1.1 and 3.1.2, by printing and reading the files.
Switching mid-playback clicks. On a steady test tone, switching instantly gave clicks up to 33 dB over the tone. Fading the trim out over about 30 ms, switching, waiting 60 ms and fading back in left nothing over 12 dB.
Printing is clean and fast. A 12-second section takes about 0.6 s offline. With
outputPaths, a print adds no undo entry and no source. It does move the loop marks, so they're read first and put back.undo_uidis an exact restore point. Undo steps back to it precisely.Listening writes no undo. A write to
normalized_valueorreal_valuewith no touch changes the sound and adds no undo entry. These writes don't reach the SDK's cached props, soreadControlasks the engine.slot.inreads backwards on UADx. It says false while power is on, so the bypass control and its polarity come from the plugin's manifest.A slot remembers control values by id across loads. A plugin can inherit them, so
loadCandidateresets every parameter to its default first. A preset asked for insetPluginprinted dry, so the preset loads after the reset withloadPreset.Some rewinds leave the next plain load in a slot printing dry. That happened after a plugin was switched off, after a preset was asked for in
setPlugin, and after a clear and reload.readyToRewindswitches each candidate on, and that rewinds cleanly. Candidates audition in the last free slots, and Keep loads the winner into the first free slot.Keep takes two undo steps, or three with a preset. LUNA records a plugin load on its own, outside any transaction.
A long decimal in session storage makes the write look like it failed, because LUNA stores it with different rounding.
storablerounds to six places.LUNA's render dialog can stay up after a print and block playback.
printholds it back withadd_progress_suppressionand deletes each finished render. The panel shows progress instead.A print after the fader obeys solo, so
analyzeprints before the fader and applies the fader's level itself.Compressor presets assume a hot signal. On a quiet track, two candidates did nothing but add make-up gain. Spark measures real gain reduction and moves each compressor's input or threshold until it's working as hard as asked.
License
MIT, see LICENSE. The LUNA Builder SDK bundle in vendor/ is Universal Audio's, under the Apache License 2.0 (vendor/LICENSE, vendor/NOTICE).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
Read and edit DAW projects as an agent, save native Logic projects, convert projects between DAWs
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to programmatically edit, analyze, and export audio projects through MCP tools, including multi-track editing, effects, transcription, and semantic search.1-
- AlicenseCqualityBmaintenanceEnables MCP agents to inspect and precisely edit a running Ardour session — tracks, buses, groups, mixer, transport, regions, internal MIDI, plugins, routing and automation — through the DAW's Lua APIs with optional native OSC, plus offline audio analysis and comparison of master exports. Edits are exposed as 80 typed tools with persistent IDs, explicit units, preflight validation and structured change/error results.80GPL 3.0
- AlicenseBqualityCmaintenanceEnables MCP-capable AI agents to control REAPER through typed tools and a Lua escape hatch for project creation, track management, recording and editing, MIDI writing, mixing, rendering, and batch operations.501MIT
- AlicenseBqualityCmaintenanceEnables vision-capable AI clients to read and adjust Capture One on macOS through local MCP stdio or JSON CLI, including curves, color tools, film grain, masks, reference matching, and real previews of rendered edits.61MIT