Skip to main content
Glama
SuperCollider Headless MCP Server

SuperCollider Headless MCP Server

by dheerajstvpm

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SUPERCOLLIDER_PATHNoOverride 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

CapabilityDetails
tools
{}
prompts
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
compose_trackGenerate a complete multi-track composition using SuperCollider patterns
design_synthDesign a custom SynthDef with specified characteristics

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 6 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

Six tools cover the core lifecycle of a headless SuperCollider runtime without redundancy. The set is tightly scoped and each tool earns its place.

Completeness4/5

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.