supercollider-mcp
Click on "Install 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., "@supercollider-mcpevaluate SinOsc.ar(440).play and hush after 2 seconds"
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.
supercollider-mcp
MCP bridge to a running SuperCollider IDE. Lets an MCP client (Claude Code, Cursor, Continue, etc.) evaluate SC code, query values, capture the post window, and screenshot Qt windows without the user having to paste anything.
Sits alongside the other Ziforge MCPs for the EMS Stockholm rig — see Related MCPs.
How it works
sclang has a built-in OSC listener on port 57120. The setup.scd this repo ships with installs an OSCdef on /mcpEval that runs whatever code the MCP sends. Results come back on /mcpReply on port 57121, keyed by a request id.
Once you evaluate setup.scd in your IDE once per SC session, every MCP-side sc_eval call goes through OSC — no need to keep pasting.
Claude ↔ MCP server ↔ OSC :57120 → sclang → OSC :57121 → MCP → ClaudeRelated MCP server: SuperCollider MCP Server
Install
git clone https://github.com/Ziforge/supercollider-mcp
cd supercollider-mcp
pip install -e .Or with uv:
uv pip install -e .Wire into Claude Code
{
"mcpServers": {
"supercollider": {
"command": "supercollider-mcp"
}
}
}Setup — one line per SC session
Open your SC IDE, evaluate this once:
"~/Projects/supercollider-mcp/setup.scd".standardizePath.load;You should see in the post window:
supercollider-mcp: listener installed on /mcpEval + /mcpPost (port 57120).
supercollider-mcp: replies sent to /mcpReply on 57121.That's it. Now MCP calls work.
Tools
Category | Tool | What it does |
Eval |
| Send SC code, get result string |
Eval |
| Same as sc_eval but semantic — for reading state |
Eval |
| Last N eval results + errors from the OSC buffer |
Patterns |
|
|
Server |
| Boot Server.default |
Server |
| Quit Server.default |
Interp |
| Recompile class library (destroys the OSC listener — re-run setup.scd after) |
Windows |
| Enumerate sclang / SuperCollider windows via osascript (macOS) |
Windows |
| screencapture full screen (macOS) — the sclang Qt windows appear on it |
Setup |
| Return absolute path to setup.scd for the current install |
Limitations
sc_recompilekills the listener. After a class-library recompile, the OSC listener is gone. You must re-evaluate setup.scd. There's no way around this — recompile reboots the interpreter.Post window is partial.
sc_post_recentonly shows results of MCP-issued evaluations, not arbitrary.postlnoutput from patterns or synths. sclang doesn't expose its Post class's output stream over OSC. If you want to capture that too, wire your Pdefs to emit viaNetAddr("127.0.0.1", 57121).sendMsg("/mcpReply", 0, 1, "...")explicitly.Screenshots are full-screen. Window-ID targeting on macOS needs assistive access permission most sessions don't have. If your terminal has been granted assistive access via System Settings → Privacy → Accessibility, you can tighten this later.
Example prompts (for the MCP client)
"Evaluate
SinOsc.ar(440).playin SC and hush after 2 seconds""What's the current value of
~ws.destNamein SC?""Screenshot the SC IDE and describe what the bus view is showing"
"Recompile the class library, then re-install the mcp listener"
Related MCPs
Repo | For |
SuperClean pattern control (Pdef.play, hush, list) — layered on top of this | |
Korg Phase 8 | |
Expert Sleepers Disting NT | |
Expert Sleepers FH-2 | |
Expert Sleepers ES-9 | |
Embodme ERAE Touch II | |
Elektron devices (fork of zerubeus) |
License
GPL v2. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ziforge/supercollider-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server