modularsynth-mcp
This server lets an AI inspect, build, play, and visualize ModularSynth patches through a connected browser tab.
Inspect the rack: describe_patch, list_module_types, list_presets, list_sounds, what_changed.
Create/load patches: new_patch, load_preset, add_module, remove_module, connect, disconnect.
Shape sound: set_param, nudge_param, set_bypass, set_voices, set_sample.
Sequence and perform: set_notes, set_steps, transform_notes, play_notes, set_transport, save_scene, recall_scene, set_song, play_song.
Listen and see: listen for levels/silence/limiting, look for rack/module/output images with scope/spectrum, highlight UI elements/cables.
Assist in chat: show_player for MCP Apps player card, undo changes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@modularsynth-mcp build a basic patch with an oscillator and filter, then play middle C"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
modularsynth-mcp
Let your AI (Claude Desktop, Claude Code, or any MCP client) build and play patches in ModularSynth, the free modular synthesizer in your browser.
Install
Claude Desktop: download modularsynth.mcpb then in Claude Desktop open Settings → Extensions → Advanced settings → “Install Extension…” and pick it (drag and drop doesn't always work on Windows).
Claude Code:
claude mcp add modularsynth -- npx -y modularsynth-mcp@latestAny MCP client:
{ "mcpServers": { "modularsynth": { "command": "npx", "args": ["-y", "modularsynth-mcp@latest"] } } }
Then open https://modularsynth.app, click AI in the top bar and check Connect this tab to the server.
Related MCP server: synthlab-mcp
How it works
The server speaks MCP over stdio to your AI, and listens on ws://127.0.0.1:27900 for the ModularSynth tab (set MODULARSYNTH_PORT to change the port). Only the ModularSynth site may connect (a local development copy too, with MODULARSYNTH_DEV=1). Nothing leaves your computer. Every change the AI makes can be undone with Ctrl+Z in the tab.
Tools: describe_patch, list_module_types, list_presets, load_preset, new_patch, add_module, remove_module, connect, disconnect, set_param, set_bypass, set_notes, set_steps, transform_notes, set_voices, play_notes, listen, look, what_changed, show_player, save_scene, recall_scene, set_song, play_song, highlight, list_sounds, set_sample, set_transport, undo.
What makes it more than a remote control:
It sees and listens:
lookreturns images (rack photo, a module's panel, oscilloscope and spectrum),listenthe output level and the silent modules.It plays with you: every answer ends with what the user changed since the AI's last action (
what_changedon demand).A player in the conversation:
show_playershows a small MCP Apps card (play/stop, level, knobs) in clients that support MCP Apps, such as Claude Desktop.Prompts (ready-made requests: techno loop, ambient pad, explain this patch, jam with me…), resources (each module's documentation, the presets as complete example patches, the current patch) and server instructions.
The player card (MCP Apps)
In apps that support MCP Apps (Claude Desktop, for example), the AI can put a small ModularSynth player right in the conversation with show_player, usually once it has finished a patch. Just ask: “show me the player”.
The card shows the patch name, a ▶ / ■ button for the clock, the current scene, the output level and up to six knobs the AI picked as the ones that matter most for this sound (or sensible defaults). Turn them and you hear the change at once.
The sound still comes from the ModularSynth tab, which must stay open and connected. Everything you do on the card is a normal move in the tab (Ctrl+Z undoes it), and the AI sees it like any other change. The card's own tools (player_state, player_set) are reserved for the card: other clients don't get them.
Troubleshooting
If the AI panel stays on “waiting for the server…”:
The server isn't running. It starts with your AI app: in Claude Desktop, check that the extension is enabled; with Claude Code, that
modularsynthis listed byclaude mcp list. Restart the app after installing.The browser blocks the connection. Chrome (and browsers built on it) asks for permission to reach devices on your local network the first time: allow it (or in the site settings, Local network access → Allow). Some privacy extensions block it too.
Another port. The page connects to port 27900: if you set
MODULARSYNTH_PORT, remove it.Another tab is connected. Only one ModularSynth tab talks to the server: close the other one, or uncheck it there.
En français
Permet à ton IA (Claude Desktop, Claude Code ou tout client MCP) de construire et jouer des patches dans ModularSynth.
Claude Desktop : télécharge modularsynth.mcpb puis dans Claude Desktop : Réglages → Extensions → Paramètres avancés → « Installer une extension… » (le glisser-déposer ne marche pas toujours sous Windows).
Claude Code :
claude mcp add modularsynth -- npx -y modularsynth-mcp@latest
Ouvre ensuite https://modularsynth.app, clique sur IA dans la barre du haut et coche Connecter cet onglet au serveur. Rien ne quitte ta machine ; chaque geste de l'IA s'annule avec Ctrl+Z.
La carte du lecteur (MCP Apps). Dans les applications compatibles MCP Apps (Claude Desktop par exemple), l'IA peut afficher un petit lecteur ModularSynth dans la conversation (show_player), souvent quand elle a fini un patch : demande-lui « montre-moi le lecteur ». On y trouve le nom du patch, ▶ / ■, la scène, le niveau de sortie et jusqu'à six potards choisis pour ce son. Tourne-les : le son change aussitôt dans l'onglet ModularSynth, qui doit rester ouvert et connecté ; chaque geste s'annule avec Ctrl+Z et l'IA le voit.
Development
npm install, thennpm test.To connect a local copy of the site (
http://localhost:…), start the server withMODULARSYNTH_DEV=1: otherwise only https://modularsynth.app is accepted.node build-manifest.js && npx @anthropic-ai/mcpb pack .builds the Claude Desktop extension (.mcpb).The server only relays calls: the tools themselves run in the ModularSynth page.
tools.json(names, descriptions, input schemas, annotations) is generated from the site's code and copied here at each release.
Privacy
Nothing is collected or sent anywhere. The server talks to your AI app over stdio and to the ModularSynth tab over a WebSocket on 127.0.0.1 only; it accepts connections from the ModularSynth site only (and from a local development copy with MODULARSYNTH_DEV=1).
License
MIT
Available Tools
30 toolsadd_moduleAdd moduleA
Add a module to the rack. Optional row and x (in HP) place it; otherwise it goes to the first free spot. Optional params set its knobs. Returns its id. Drums: synthesize them with modules (VCO, Noise, VCF, ADSR, VCA) or load the built-in kit into samplers with set_sample. For a real instrument or a voice, a sampler with the user’s recording, or audioin for a microphone.
Inputs: type (required), x, row, params.
connectConnectADestructive
Patch a cable from an output to an input, both written "moduleId:port". An input takes one cable: plugging into a busy input replaces its cable.
Inputs: to (required), from (required).
describe_patchDescribe patchARead-only
Describe the current patch in the ModularSynth rack: modules (id, type, settings, "bypass": true when bypassed), cables ("moduleId:port" → "moduleId:port"), polyphony, whether the clock is running, and "editing": the Note Grid the user has open in its editor right now (write there when they talk about "the notes"). Call it first.
Inputs: no named parameters.
disconnectDisconnectADestructive
Unplug the cable going into an input ("moduleId:port").
Inputs: to (required).
highlightHighlightARead-only
Show the user a module, a knob or a jack by making it glow in the rack for a few seconds (the rack scrolls to it). target: "moduleId", "moduleId:setting" or "moduleId:port". With "to" (an input "moduleId:port") and an output as target, it draws the cable to plug as a dotted line. Use it when you explain or ask the user to turn or patch something.
Inputs: target (required), to, seconds.
listenListenARead-only
Listen to the patch for a few seconds (default 2, up to 10) and report what actually sounds: for each Output module, its peak level in dBFS and whether the master limiter is squeezing it (too loud: lower a level or the Output gain); the peak voltage of every module output; and which modules are silent. Use it after building or changing a patch, with the clock running for sequenced parts, to check that it makes sound and is not too loud. Needs audio on.
Inputs: seconds.
list_module_typesList module typesARead-only
List the module types you can add, with their inputs, outputs and settings (name, label shown on the panel, min, max, default, unit; "options": the meaning of each value of a selector, from min upward). Pass a type to get just that one. Audio and control signals are voltages: pitch is 1 V per octave (0 V = C4), gates are 0/10 V. Drums can be synthesized with modules, the modular way (kick: a sine VCO whose pitch drops fast, through a VCA with a short envelope; snare: noise through a band-pass VCF with a brief envelope; hi-hat: noise high-passed, very short — see the "Noise percussion" preset), or played by samplers from the built-in kit (list_sounds, set_sample) for a quick result; both are triggered by a Trigger Seq. Choose from what the user asks for. Real instruments and voices (saxophone, vocals…) can’t be synthesized convincingly: use a sampler with a recording the user drops on it (or one of their saved sounds), or audioin (the user’s microphone or line input).
Inputs: type.
list_presetsList presetsARead-only
List the ready-made presets (name and what they do). Load one with load_preset to start from a working sound.
Inputs: no named parameters.
list_soundsList soundsARead-only
List the sounds a sampler can play: the built-in starter kit (kick, snare, hi-hat, a chord, a pad — always available, made by the synth itself) and the user’s own sounds saved in this browser. Load one with set_sample.
Inputs: no named parameters.
load_presetLoad presetADestructive
Replace the rack with a ready-made preset, by name (see list_presets). The user can undo it.
Inputs: name (required).
lookLookARead-only
See the synth: with no argument, a photo of the whole rack (modules, knob positions, cables); with "module", that module's panel plus an oscilloscope and spectrum of one of its outputs ("port", default the first output); with "output": true, the oscilloscope and spectrum of what reaches the Output. Use it to check a patch visually: a clipped or silent waveform, a filter closed too far, a bass that fills the spectrum. Scope and spectrum need audio on.
Inputs: port, module, output.
new_patchNew patchADestructive
Replace the rack with the default starter patch (keyboard → oscillator → filter → amplifier → output). The user can undo it.
Inputs: no named parameters.
nudge_paramNudge paramA
Turn a knob up or down by a little, some (default) or a lot, along the knob's own travel (logarithmic for frequencies and times), never past its range — for relative requests: "brighter" (filter cutoff up), "darker", "faster" (clock bpm up), "more reverb" (mix up). The old and new values are returned.
Inputs: id (required), param (required), direction (required), amount.
play_notesPlay notesA
Play notes live, as if on the keyboard (the patch must have a MIDI→CV module wired to sound, its KEYBOARD screen set to All or Computer). Each note: MIDI pitch (60 = C4), start and duration in seconds from now, optional velocity. Up to 64 notes within 30 seconds.
Inputs: notes (required).
play_songPlay songA
Play the song from its first line (or from line "from", counted from 0): the scene of each line plays for its bars, clocks restart on the first beat. Stop it with set_transport running: false.
Inputs: from.
recall_sceneRecall sceneADestructive
Switch to a saved scene, like pressing its button: on the next bar while the sound plays, right away otherwise. Stops the song if it was playing.
Inputs: scene (required).
remove_moduleRemove moduleBDestructive
Remove a module and its cables from the rack.
Inputs: id (required).
save_sceneSave sceneADestructive
Save the current settings and sequences of every module as a scene (like a snapshot: intro, verse, chorus, break…), or overwrite an existing scene. Up to 16 scenes. Tempo and the clock's run state are not part of scenes. Returns the scene id.
Inputs: name (required), scene.
set_bypassSet bypassA
Bypass a module (on: true) or turn it back on (on: false), without unplugging anything: effects and processors (filters, VCA, mixers, delay, reverb…) pass their input straight through; sources and modulators (oscillators, LFO, envelopes, sequencers, clock…) go silent. Output, Scope and Memo can’t be bypassed. Useful to hear a part of a rich patch more clearly; the user can undo it.
Inputs: id (required), on (required).
set_notesSet notesADestructive
Write the notes of one page (A–D, default A) of a Note Grid sequencer; the other pages are kept. Each note: start step (0–63: sixteenth notes when clocked by Clock ×4, thirty-second notes when the Note Grid "resolution" setting is 1), length in steps, MIDI pitch (60 = C4), optional velocity. Replaces the notes of that page. Only the page selected by the "page" setting plays: put a verse on A and a chorus on B, then save scenes with different "page" values.
Inputs: id (required), notes (required), page.
set_paramSet paramB
Turn a knob or flip a switch on a module. The value is clamped to the setting range; the value actually set is returned.
Inputs: id (required), param (required), value (required).
set_sampleSet sampleBDestructive
Load a sound (an id from list_sounds) into a sampler module. Then trigger it with its gate input (from a Trigger Seq, a Note Grid or MIDI→CV) and choose how it plays with set_param "mode": 0 one-shot (drums), 1 hold (plays while the gate is high), 2 loop (synced to the clock).
Inputs: id (required), sound (required).
set_songSet songADestructive
Write the song: scenes played one after another, each for a number of bars (e.g. intro 4, verse 8, chorus 8, break 4, chorus 8). Up to 64 lines; an empty list removes the song. "loop": start again at the end (default true; otherwise the clocks stop). Needs a Clock in the patch to count bars.
Inputs: lines (required), loop.
set_stepsSet stepsADestructive
Write the steps of a sequencer in one call. Trigger Seq: "tracks", each a track (1–4) and a pattern of up to 16 characters, "x" a hit and "." a rest (e.g. "x...x...x...x..." four on the floor), on page A–D (default: the page the module shows); the other tracks are kept, and written tracks leave Euclidean mode. Step Seq: "notes", up to 16 MIDI pitches (60 = C4) or null for a silent step; the length follows, and each pitch is fitted to the module's scale and octave range (from C4 up), so the notes actually set are returned. For a Note Grid, use set_notes.
Inputs: id (required), page, notes, tracks.
set_transportSet transportA
Start or stop every Clock in the patch (the ▶/■ button): sequencers play while it runs. Stopping also stops a playing song.
Inputs: running (required).
set_voicesSet voicesA
Set the polyphony of the patch: how many notes can sound at once (1–16). Chords from a keyboard or a Note Grid need as many voices as notes; a mono bass or lead sounds best with 1.
Inputs: voices (required).
show_playerShow playerARead-only
Show the ModularSynth player in the conversation (in apps that support MCP Apps): the patch name, play/stop and up to 6 knobs you choose ("moduleId:setting", the ones that matter most for this sound), so the user can play with them without leaving the chat. Call it when you have finished a patch. The sound still comes from the ModularSynth tab.
Inputs: knobs.
transform_notesTransform notesADestructive
Transform one page (A–D, default: the page the module shows) of a Note Grid: "harmonize" adds the third (voices "third", default) or the third and fifth ("third+fifth") of the scale above each note; "humanize" varies velocities (and start times by one step at 1/32 resolution) by "amount" (0–1, default 0.5); "vary" copies the page to page "to" (default the next page) and moves about amount×30 % of the notes to a neighbouring scale note — a quick variation for a chorus or a break. Scale: "scale" and "root" (0 = C … 11 = B; scale indexes as in list_module_types for the Quant module), otherwise guessed from the notes.
Inputs: id (required), action (required), to, page, +4 more.
undoUndoADestructive
Undo the last change (yours or the user’s), like Ctrl+Z: first cancels a scene waiting for the next bar, stops a playing song.
Inputs: no named parameters.
what_changedWhat changedARead-only
What the user (and other assistants) changed in the patch since your last action: knobs turned, cables patched, modules added, scenes recalled, the clock started. Every tool answer already ends with this when something changed; call this to look again, for example when the user says "your turn" after playing — then answer what they did, like a musician would.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 30 tools
Most tools target a clearly distinct action/resource (patching, params, scenes, presets, transport), and the descriptions actively disambiguate tricky pairs like set_param vs nudge_param (absolute vs relative) and set_steps vs set_notes vs play_notes (per sequencer type vs live performance). The densest cluster — set_steps, set_notes, transform_notes, play_notes — still requires the agent to know which sequencer module is in the rack, and scene/preset/song tools (save_scene, recall_scene, load_preset, new_patch, set_song) overlap conceptually enough to cause occasional misselection.
Consistently snake_case with a dominant verb_noun pattern (set_param, add_module, save_scene, play_song, list_presets). Deviations are single-verb tools for single-target actions (connect, disconnect, listen, look, undo, highlight), which are readable and conventional rather than chaotic.
At 30 tools this is a heavy surface, but the domain (modular patching, sequencing, scenes, songs, presets, audio/visual feedback) is genuinely broad and nearly every tool maps to a real operation. A few pairs could be consolidated (connect/disconnect, load_preset/new_patch/recall_scene, save_scene with no accompanying list/delete), which keeps it just above the comfortable range.
Coverage is strong: create/remove modules, patch/unpatch cables, adjust params, program sequences, manage scenes and a song timeline, plus analysis tools (listen, look) and undo. The notable gap is scene management — you can save_scene and recall_scene, but there is no list_scenes or delete_scene, so scene ids only exist if the agent remembered them from prior calls.
Maintenance
Related MCP Connectors
Browser DAW for AI assistants: build multitrack songs with MIDI, effects, stems and generation.
Synth, sampler and music tracker for AI assistants: sound effects, UI sounds and songs as audio.
Make AI Tracks, loops and sound effects, split stems, build drum kits and master songs.
AI music and podcast platform for autonomous agents. SoundCloud for AI bots.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to generate and control real-time audio synthesis through natural language descriptions using SuperCollider. Features 10 built-in synth types, pattern sequencing, audio recording, and server lifecycle management for creating sounds from simple English descriptions.112MIT
- AlicenseAqualityDmaintenanceEnables AI-powered music composition and synthesis by generating Pure Data patches, VCV Rack modules, and MIDI controller mappings through natural language.1013 npm5MIT
- AlicenseAqualityDmaintenanceEnables AI-powered manipulation of Cardinal/VCV Rack modular synthesizer patches, allowing users to create, analyze, modify, and connect modules and cables through natural language.7MIT
- AlicenseBqualityBmaintenanceEnables LLMs to compose VCV Rack modular synth patches by generating plain JSON, with tools for patch creation, catalog search, and live OSC control.89MIT