Repository navigation
Releases
Surge XT MCP v0.2.2
Fixed
- When the server that owned the reply port closed, another server could report
sharedand send a read before the new owner had listed it, and the answer was lost. A read made while the port changes hands now waits for the handover, a read sent just before it is sent again, andreply_port_modeisunavailableuntil the handover completes. list_parametersreads its section list from the catalog through a function, and a test checks that every listed section filters. CodeQL had flagged the module-level list as unused.
Surge XT MCP v0.2.1
Added
- The package is on PyPI.
uvx surge-xt-mcpfetches and runs it, anduv tool install surge-xt-mcporpip install surge-xt-mcpinstalls it permanently. - The release workflow publishes each tagged release to PyPI through trusted publishing. It uploads the checksummed files of the GitHub Release, and no PyPI credential is stored in the repository. Running the workflow by hand publishes an existing release.
- Servers started by several MCP clients on one machine share Surge XT's reply port. The first server owns the port and passes a copy of each reply to the others, and one of them takes the port over when the owner exits. Before, only the first client's live tools worked.
surge_statusreportsreply_port_modeandreply_port_guests. How it works
Changed
- The README and the example configurations install from PyPI. Client setup no longer carries a release URL or a version.
- The package description shown on PyPI links to the files and images of the matching release tag, so they work outside the repository.
describe_patchaddscompleteandincomplete. When the modulation dump or an effect's bypass state cannot be read, that section is named andmodulationis null instead of an empty list.apply_recipeadds awarningwhen an older synth accepted a modulation route that it cannot read back.poll_osc_changesreports a pushed parameter, wavetable, tuning or patch value only when it differs from the value last seen at that address. Servers that share a reply port hear each other's readback, and that is not a change.
Fixed
- A chord or poly request no longer keeps a mono family's glide, and a mono request keeps a requested glide in fingered mode.
- "Sub pad" is a pad with a sub-oscillator instead of a bass, "basses" selects the bass family, and a wide request on a bell adds a chorus, because its FM oscillator has no unison voices.
- A recipe step for a time below Surge XT's shortest envelope stage says so instead of naming a value the synth cannot show.
patch_inforeads older patches whose names contain Latin-1 characters, and refuses a file that declares a document type.- The publishing job uploads only the packages listed in
SHA256SUMS.txt, never another file attached to the release. - The synth tests no longer lose the synth at random. The command-line player in the Surge XT 1.3.4 release runs OSC notes on two threads at once. The tests now run against a player built from the same source with the upstream fix, and
tests/build-surge-xt-cli.shbuilds it for anyone who runs Surge XT headless.
Surge XT MCP v0.2.0
Install
Add this server to any MCP client. It needs uv and a running Surge XT 1.3.4 with OSC In and OSC Out enabled.
uvx --from https://github.com/RandyNorthrup/surge-xt-mcp/releases/download/v0.2.0/surge_xt_mcp-0.2.0-py3-none-any.whl surge-xt-mcpSetup for Claude Desktop, Claude Code, Cursor, VS Code, Codex, Gemini CLI and other clients is in the README. SHA256SUMS.txt lists the checksums of the two packages below.
First stable release. Tested against Surge XT 1.3.4 on Windows, Linux and macOS with Python 3.11 to 3.14.
Added
describe_patchsummarizes the sounding patch in one call: oscillators, mixer, filters, envelopes, active effects with their named controls, macros, modulation routes and the LFOs that drive them, all in Surge XT's display units.patch_inforeads a patch file's author, comment, category and license offline.- Sound recipes for strings, brass, bell, organ and drone join bass, pluck, pad, keys and lead. New modifiers cover glide, mono and poly voicing, wobble, vibrato, noise, short and long shapes, and distortion, chorus, delay and reverb effects.
- Recipes carry modulation routes.
apply_recipeaccepts them with the steps and confirms each route. design_soundnames the factory template to start from (start_patch).- Every tool has a title and read-only, destructive and idempotent hints, so MCP clients can label tools and skip confirmation for read-only ones.
- The MCP handshake reports this server's version and repository.
surge_statusandsurge_doctorincludeserver_version. surge-xt-mcp --versionand--osc-host.- Prompts
find_a_patchandsound_check. - The curated catalog grows to 66 controls and lists Surge XT's own names for filter types, filter routings, LFO shapes, FM routings and character.
- A bounded change feed for GUI and external-controller edits with independent client cursors and long polling, plus exact-address readback monitoring for hosts that omit change broadcasts.
- Independent held voices, all five per-note expressions, release velocity and beat-based polyphonic playback. Cancellation and patch changes release the affected voices.
- Category navigation, native user-folder and metadata-named patch saves, individual modulation-route queries, default tuning folder selection and reset, relative tuning loads and concert-pitch restoration.
- Verified active-algorithm deform controls, legacy OSC text parameter decoding and patch notifications, XDG user-library discovery and a separate timeout for patch I/O.
- Live parameter discovery, restorable parameter captures, extended switches, effect selection by name or ID and bypass, modulation inspection and verified routing, wavetable selection, Scala library browsing and tuning loads with bounded readback retries.
- Pitch bend, MIDI CC, aftertouch and frequency audition. Clients can interrupt a melody and cut sounding tails while other tools run.
- Python 3.14 support. A tag-driven release workflow publishes the wheel, source archive and checksums.
Changed
- Recipes are written in real units. A step says "Cutoff 900 Hz" or "Attack 0.7 s" and Surge XT reads back the same value. Recipe values differ from earlier releases.
- Recipes set what they rely on: the active scene, the oscillator algorithm, unison voices with detune, the filter type, which oscillators are muted, the LFO shape behind a route and the bypass switch of an effect slot.
design_soundmatches whole words. "subtle", "deep" and "sharp" no longer select the bass, keys and pluck families.apply_recipevalidates every step before sending. A numbered control that follows an oscillator or effect type chosen earlier in the same recipe is validated once Surge XT confirms the new type.list_patchesresults include the pack (the third-party author folder) and search matches it.- Effect names follow the labels Surge XT reports (
Rotary,Freq Shift,Ring Mod,Audio In). The longer menu names still work. - Patch searches support pagination and portable library roots. Loading verifies the reported patch path. Saving checks a fresh complete FXP and requires explicit overwrite for an existing file.
- Local patch stepping follows the sounding patch's category after saves or file imports. A single-patch category preserves held notes and explains how to switch categories.
- The OSC collector is bounded and replies are correlated to the active query. Added a configurable LAN reply interface, finite timeouts and CLI diagnostics.
- Optional native rendering runs isolated from MCP stdio and preserves existing WAVs on failure.
- The
LICENSEfile is the plain MIT text so license detection works. The Surge XT notice moved toNOTICE.
Fixed
- Recipe detune had no effect because unison voices stayed at one. Cutoff and resonance had no effect on Init patches, whose filter is off. Second-oscillator moves were silent while that oscillator was muted. "Wide" narrowed the stereo image, and "dark" closed the filter to 90 Hz.
- A second MCP client starting its own server could not bind the OSC reply port and stayed broken until restart. The error now names the cause, and the server binds the port on its next call once it is free.
set_effectrejected four effect names thatlist_effectsreported.- The MCP handshake reported the SDK version in place of the server version.
- The 1.3.0 legacy-protocol response is reported with upgrade guidance, and OSC query deadlines include queue time.
v0.1.0 Beta 2 - full live sweep verified
Full live sweep release: all 23 tools plus resources and prompts exercised end-to-end against a running Surge XT (30/30 checks). Fixes macro verify-after-write (Surge smooths macro values) and user-patch save/load absolute paths with on-disk verification (Surge save_user could glue filenames onto the folder). Requires Surge XT 1.3+ with OSC In/Out enabled.
v0.1.0 Beta 1 - verified OSC control
Live-verified fix release. Parameter addresses, wire kinds (float 0-1 / raw int / bool), and modulation source names now match Surge XT's real OSC scheme (checked against a 774-parameter live dump). All writes are verified: tools poll Surge XT and report verified + observed display values (e.g. 89.87 Hz), so nothing silently fails. Requires Surge XT 1.3+ with OSC In/Out enabled; on Windows use free ports (see docs/OSC.md) and set SURGE_OSC_SEND_PORT/SURGE_OSC_RECV_PORT to match.
v0.1.0 Beta - Surge XT MCP
First beta: live OSC control for standard Surge XT 1.3+ installs (23 MCP tools), English-to-recipe sound design, full patch-library browsing, note/chord audition, and optional surgepy WAV rendering. Install via the README client configs (uvx from GitHub). Live setup: open Surge XT, enable OSC In 53280 / OSC Out 53281, then ask your assistant to run surge_doctor. Windows users: see docs/OSC.md if Hyper-V reserves those ports.