SuperCollider Headless MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SUPERCOLLIDER_PATH | No | Override the auto-detected sclang path. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| setup_engineA | Provision headless SuperCollider runtime (downloads if missing), boot scsynth, and load SynthDef library. Returns sample rate, audio device info, and version. |
| play_codeA | Evaluate arbitrary sclang code (SynthDef, Pdef, Tdef, Ndef, patterns, buffers, microtonal scales, etc.) and return console output/errors. Automatically syncs before/after for safe SynthDef compilation. |
| stop_allA | Immediately silence all sound (CmdPeriod.run) while keeping scsynth booted and session alive. |
| list_and_set_audio_deviceA | List available audio output devices (ServerOptions.outDevices). Optionally switch device and reboot scsynth. |
| export_wavA | Render a self-contained SuperCollider pattern/score to a 24-bit WAV file using Non-Real-Time (Score.recordNRT) mode. |
| get_statusA | Get server status: boot state, CPU load, active synths, loaded SynthDefs, audio device info. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| compose_track | Generate a complete multi-track composition using SuperCollider patterns |
| design_synth | Design a custom SynthDef with specified characteristics |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a distinct primary purpose: setup, code evaluation, global stop, device management, NRT export, and status reporting. Minor overlap exists—setup_engine loads SynthDefs which play_code can also do, and get_status reports audio device info that list_and_set_audio_device also exposes—but descriptions clarify the boundaries.
All tools use snake_case with a verb-first pattern (setup_engine, play_code, stop_all, export_wav, get_status), which is predictable. list_and_set_audio_device is a longer compound verb but still follows the convention; stop_all lacks an explicit object but remains readable.
Six tools cover the core lifecycle of a headless SuperCollider runtime without redundancy. The set is tightly scoped and each tool earns its place.
The surface covers setup, arbitrary code execution, global silence, device switching, WAV export, and status—sufficient for most workflows. Minor gaps remain, such as no explicit engine shutdown/quit or per-node stop, though play_code can work around these via sclang.