Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

surge-xt-mcp

Latest version: v0.2.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: RandyNorthrup
0 Stars
0 Forks
3 Versions
Python Repo language

Scan summary

surge-xt-mcp was last scanned on 29 Nov 2026 at version 0.2.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.2.2.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.2 LATEST 29 Nov 2026 No rules fired
0.2.1 29 Nov 2026 No rules fired
0.2.0 29 Nov 2026 No rules fired

No rules fired in 0.2.2

Findings

Findings for v0.2.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Surge XT MCP is a Model Context Protocol server that lets an AI assistant design sounds, browse patches and play notes on Surge XT, the free open-source hybrid synthesizer. It drives your running synth through Surge XT's own OSC interface, in the standalone app or inside your DAW, and reads every change back, so the assistant tells you what Surge XT did.

What you can do

  • Design a sound from a sentence. design_sound turns "dark punchy reese bass" or "wide evolving pad with reverb" into a recipe you can read: every step names its value in Hz, seconds, cents or dB and says why. apply_recipe sends it and confirms each step with Surge XT.
  • Understand any patch. describe_patch reads the whole sound in one call: oscillators, filters, envelopes, effects, macros and modulation, in Surge XT's own units.
  • Shape it live. Friendly controls for filters, envelopes, macros, effects, wavetables and modulation, plus direct access to all 770+ Surge XT parameters.
  • Play it. Notes, chords, melodies, microtonal pitches and timed polyphonic scores with per-note pitch, pan, volume, timbre and pressure.
  • Browse the library offline. Search the factory, third-party and user patches (over 3,000 on a standard install) by name, category or author pack, then load, step, randomize and save.
  • Retune it. Browse and load Scala scales and keyboard mappings, and return to concert pitch in one call.
  • Render to WAV. Optional headless rendering through the surgepy bindings. Without them the tool says so. It never fakes audio.

Quick start

1. Set up Surge XT

Install Surge XT 1.3.4 and open it, standalone or as a plugin. In Menu → OSC Settings enable:

  • OSC In on port 53280
  • OSC Out to 127.0.0.1 on port 53281

Keep Surge XT open while you use the live tools. Patch browsing, recipes and the parameter catalog work without it.

2. Install uv

The server runs through uv, which fetches it from PyPI together with its Python on first start. Nothing else to install.

3. Add the server to your MCP client

Every client runs the same command:

uvx surge-xt-mcp

Pick your client under Add the server to your MCP client for the exact setup.

4. Run a sound check

Ask your assistant:

Run a Surge XT sound check.

It reports the server version, the patch libraries it found and the OSC connection, then plays a C major chord. If you hear it, you are ready:

Design a dark punchy bass in Surge XT, play a low riff so I can hear it, then save it as Midnight Reese.

Add the server to your MCP client

Most clients share one JSON shape. Where a section below says "the standard block", it means this:

{
  "mcpServers": {
    "surge-xt": {
      "command": "uvx",
      "args": ["surge-xt-mcp"]
    }
  }
}

If Surge XT uses other OSC ports, append them to args: "--osc-send-port", "48000", "--osc-recv-port", "48001".

The claude, codex, gemini, grok, opencode and code commands below were run with these arguments against scratch configurations. The other entries follow each client's documentation as of November 2026.

Open Settings → Developer → Edit Config, add the standard block to claude_desktop_config.json and restart Claude Desktop. Example file

claude mcp add surge-xt -- uvx surge-xt-mcp

Add --scope user to use it in every project. To share it with a repository, put the standard block in .mcp.json at the repository root.

Add the standard block to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project. Example file

code --add-mcp '{"name":"surge-xt","command":"uvx","args":["surge-xt-mcp"]}'

The quotes above suit Bash and Zsh. To add it by hand, put this in .vscode/mcp.json, which uses a servers key. Example file

{
  "servers": {
    "surge-xt": {
      "type": "stdio",
      "command": "uvx",
      "args": ["surge-xt-mcp"]
    }
  }
}

Current VS Code builds also read the standard block from .mcp.json at the workspace root.

codex mcp add surge-xt -- uvx surge-xt-mcp

Or add it to ~/.codex/config.toml:

[mcp_servers.surge-xt]
command = "uvx"
args = ["surge-xt-mcp"]
gemini mcp add surge-xt uvx surge-xt-mcp

This writes .gemini/settings.json in the current project, and Gemini CLI asks you to trust the folder first. Add -s user before the name to install it for every project. By hand, add the standard block to ~/.gemini/settings.json.

grok mcp add surge-xt uvx surge-xt-mcp
opencode mcp add surge-xt -- uvx surge-xt-mcp

This writes your global opencode.jsonc. By hand, the entry looks like this:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "surge-xt": {
      "type": "local",
      "command": ["uvx", "surge-xt-mcp"]
    }
  }
}

Open Customize → MCPs → Open MCP config file and add the standard block. Current builds keep it in ~/.config/devin/mcp_config.json (%APPDATA%\devin\mcp_config.json on Windows). Older Windsurf builds use ~/.codeium/windsurf/mcp_config.json.

Click the MCP Servers icon, open the Configure tab, choose Configure MCP Servers and add the standard block to cline_mcp_settings.json.

Add this to settings.json (Settings → AI → MCP Servers → Add Local Server opens the same entry). Zed uses a context_servers key.

{
  "context_servers": {
    "surge-xt": {
      "command": "uvx",
      "args": ["surge-xt-mcp"]
    }
  }
}

Add this under extensions in ~/.config/goose/config.yaml (%APPDATA%\Block\goose\config\config.yaml on Windows), or run goose configure and choose Add Extension → Command-line Extension. Goose calls the keys cmd and envs.

extensions:
  surge-xt:
    name: surge-xt
    type: stdio
    enabled: true
    cmd: uvx
    args: ["surge-xt-mcp"]
    timeout: 300

Add this to ~/.continue/config.yaml. Continue lists servers and runs MCP tools in agent mode.

mcpServers:
  - name: surge-xt
    type: stdio
    command: uvx
    args:
      - "surge-xt-mcp"

In AI Assistant, open Settings → Tools → AI Assistant → Model Context Protocol (MCP), choose Add and paste the standard block. For Junie, put the standard block in ~/.junie/mcp/mcp.json, or .junie/mcp/mcp.json in a project.

Add the standard block to ~/.kiro/settings/mcp.json, or .kiro/settings/mcp.json in a workspace. The Amazon Q Developer CLI is now the Kiro CLI and reads the same file.

In the Program tab choose Install → Edit mcp.json and add the standard block. Needs LM Studio 0.3.17 or later.

Open Settings → Agents → MCP servers, choose Add and paste the standard block.

Register a stdio server whose command is uvx with the single argument surge-xt-mcp. A client that only speaks HTTP can use the shared server at http://127.0.0.1:8000/mcp.

Update

uvx reuses the version it first downloaded. To move to the newest release, run this once and restart your client:

uvx surge-xt-mcp@latest --version
Install once

To install the server as a permanent command instead of running it through uvx:

uv tool install surge-xt-mcp

Then use surge-xt-mcp as the command, with no arguments, in any block above. pip install surge-xt-mcp works too if you manage your own Python environment.

Example prompts

  • "What is this patch doing? Then make it darker and wider."
  • "Find me five warm pads from the third-party packs and play each one."
  • "Design a plucky bell with delay, then route the mod wheel to the filter cutoff."
  • "Add a spring reverb to scene A and show me its controls."
  • "Play a slow four-bar progression in D minor with this patch."
  • "Load a 19-tone equal temperament scale and play an ascending run."
  • "Watch the synth and tell me which knobs I move."

Tools (51)

Workflow Tools
Check the connection and installed libraries surge_status, surge_doctor
Design and apply a sound design_sound, apply_recipe
Understand the current sound describe_patch, get_parameter, list_modulations, get_modulation, list_effects, get_wavetable, get_tuning
Browse, load and save patches list_patch_categories, list_patches, patch_info, load_patch, next_patch, random_patch, save_patch
Find controls list_parameters (curated, offline), discover_parameters (live, searchable, paginated)
Edit controls and compare versions set_parameter, set_parameter_option, set_filter, set_envelope, set_macro, capture_parameters
Effects, modulation and wavetables set_effect, set_modulation, set_wavetable, cycle_wavetable
Tuning list_tunings, load_tuning, set_tuning_folder, set_standard_tuning
Audition play_note, play_chord, play_melody, play_frequency, stop_notes
Perform with controllers send_midi_cc, pitch_bend, send_aftertouch
Hold and shape individual voices start_note, set_note_expression, held_notes, release_note
Play a polyphonic score play_performance, performance_status, stop_performance
Follow edits made in Surge XT or another controller poll_osc_changes
Render a stereo WAV from a saved patch render_preview

Each tool carries a title and read-only, destructive and idempotent hints, so clients can label it and skip confirmation for the 20 tools that only read.

Prompts: sound_check, design_a_sound, explain_current_patch, find_a_patch. Resources: surge://guide, surge://parameters, surge://performance.

Good to know
  • Values. Float controls take normalized values from 0 to 1, integer controls take raw indices and switches take 0 or 1. Every read returns Surge XT's display text, such as 900.00 Hz or 700.0 ms. Unit ranges
  • Recipes. design_sound suggests a factory template as start_patch. Load it first for a predictable result. Applied to another patch, a recipe keeps that patch's effects, routes and untouched controls.
  • Confirmation. Edits report verified when Surge XT read the value back. Notes and MIDI controller messages have no receipt in OSC, so those tools report delivery: "sent".
  • Saving. Saving over an existing patch needs overwrite=true. Omit the name to save under the patch's own name and category.
  • A/B comparison. capture_parameters returns steps you can pass back to apply_recipe to restore the earlier values.
  • Stopping. stop_notes interrupts any audition. immediate=true also cuts the tails.
Expressive performance

Start two notes of the same pitch with start_note. Each result has its own note_id. Pass one ID to set_note_expression to bend that voice, pan it, change its volume or vary timbre and pressure. release_note accepts a release velocity.

play_performance plays overlapping voices on a beat grid. Times are in beats, and expression times count from the start of their note.

{
  "bpm": 100,
  "notes": [
    {"note": "F#3", "duration": 2, "velocity": 94,
     "expression": [{"at": 1, "parameter": "pitch", "value": 2}]},
    {"at": 0.5, "note": "A3", "duration": 1.5, "release_velocity": 48}
  ]
}

For a longer score, pass background=true. The tool returns a performance ID at once. performance_status reports progress, and stop_performance releases only that score's voices.

Following the synth

To follow a patch loaded from the Surge XT window or another controller, call poll_osc_changes with watch_address="/patch" and prefix="/patch", then pass the returned cursor on the next call. Each event says whether it was pushed by the synth or found by reading the address back.

Configuration

Set these as environment variables in your client's server entry (most clients accept an env object next to command and args). .env.example lists them with comments.

Variable Default Meaning
SURGE_OSC_HOST 127.0.0.1 Host running Surge XT
SURGE_OSC_SEND_PORT 53280 Surge XT OSC In port
SURGE_OSC_RECV_PORT 53281 Surge XT OSC Out port, where replies arrive
SURGE_OSC_LISTEN_HOST 127.0.0.1 Local IPv4 address that receives replies. For a synth on another machine, use this machine's LAN address
SURGE_OSC_TIMEOUT 2.0 Seconds to wait for a reply
SURGE_PATCH_TIMEOUT 15.0 Seconds allowed for patch loads, saves and library refreshes, up to 30
SURGE_DATA_DIR Platform default Surge XT factory data folder, for portable or relocated installs
SURGE_USER_PATCH_DIR Platform default Surge XT user patch folder
SURGE_PATCH_DIRS None Extra patch folders, separated like PATH
MCP_TRANSPORT stdio stdio or http (Streamable HTTP)
MCP_HTTP_HOST 127.0.0.1 HTTP bind address
MCP_HTTP_PORT 8000 HTTP port
MCP_HTTP_PUBLIC_HOST None Extra hostname accepted from an HTTP client or reverse proxy

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases surge-xt-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229