SuperCollider MCP Server
Click on "Deploy 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 MCP Server play a soft atmospheric pad for 3 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 Server
A Model Context Protocol (MCP) server for controlling SuperCollider audio synthesis. This server enables AI assistants like Claude to generate and control real-time audio synthesis through natural language descriptions.
Features
Natural Language Sound Synthesis: Describe sounds in plain English and have them synthesized in real-time
10 Built-in Synth Types: sine, pluck, bell, bass, pad, kick, snare, hihat, atmosphere, sweep
Server Lifecycle Management: Boot, quit, and monitor SuperCollider server status
Pattern Sequencing: Create rhythmic patterns and melodic sequences
Audio Recording: Record synthesis output to files
Raw Code Execution: Execute custom SuperCollider code for advanced control
TypeScript & Type-Safe: Fully typed with Zod schema validation
Related MCP server: SuperCollider MCP Server
Prerequisites
Node.js 18+
SuperCollider installed locally (download here)
Installing SuperCollider
macOS:
Download from https://supercollider.github.io/downloads
Drag
SuperCollider.appto/Applications/The MCP server will auto-detect it
Linux (Ubuntu/Debian):
sudo apt-get install supercolliderLinux (Arch):
sudo pacman -S supercolliderWindows:
Download installer from https://supercollider.github.io/downloads
Run the installer
The MCP server will auto-detect it
Custom Installation Path
If SuperCollider is installed in a non-standard location, set the environment variable:
export SCLANG_PATH="/path/to/sclang"
# Optional: export SCSYNTH_PATH="/path/to/scsynth"Installation
npm install
npm run buildUsage
With Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"supercollider": {
"command": "node",
"args": ["/absolute/path/to/supercollider-mcp/dist/index.js"]
}
}
}Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after updating the config.
With MCP Inspector (for testing)
npm run inspectorStandalone Development
npm run devAvailable Tools
Setup & Diagnostics
sc_health_check
Check if SuperCollider is installed and configured correctly. Run this first if you have any issues.
// No parameters required
sc_health_check()Returns:
✅ Success: SuperCollider path and confirmation
❌ Error: Installation instructions for your platform
Core Server Management
sc_boot
Boot the SuperCollider audio server. Must be called before any sound synthesis.
// No parameters required
sc_boot()sc_quit
Quit the SuperCollider server and clean up resources.
sc_status
Get current server status including CPU usage and running synths.
Sound Synthesis
sc_play_synth (Recommended for AI)
Play a synthesized sound based on a natural language description. This is the primary tool for sound generation.
Examples:
"play a bell sound at C4"
"play a low bass tone for 2 seconds"
"play a bright plucked string"
"play a soft atmospheric pad"
"play a short snare"
"play a sweep from 100hz to 2000hz over 3 seconds"
{
"description": "play a bell sound at C5 for 2 seconds"
}The parser understands:
Note names: C4, D#5, Bb3, etc.
Frequencies: 440hz, 880hz, etc.
Descriptive terms: high, low, bright, deep, soft, loud, short, long
Synth types: bell, bass, pad, pluck, kick, snare, hihat, sweep, atmosphere
Spatial terms: left, right (for panning)
sc_play_synth_advanced
Play a specific synth with explicit parameters for precise control.
Available synths: sine, pluck, bell, bass, pad, kick, snare, hihat, atmosphere, sweep
{
"synthName": "bell",
"freq": 523.25,
"amp": 0.4,
"duration": 2,
"pan": 0.5
}Parameters:
freq: Frequency in Hz (default: 440)amp: Amplitude 0-1 (default: 0.3)duration: Duration in seconds (default: 1)pan: Pan position -1 (left) to 1 (right) (default: 0)decay: Decay time for pluck synth (default: 2)cutoff: Filter cutoff frequency for bass/padstartFreq,endFreq: For sweep synth
sc_play_pattern
Play a rhythmic pattern or sequence of notes.
{
"pattern": [
{ "synth": "kick", "delay": 0 },
{ "synth": "snare", "delay": 0.5 },
{ "synth": "hihat", "delay": 0.25, "amp": 0.2 },
{ "synth": "hihat", "delay": 0.25, "amp": 0.2 },
{ "synth": "kick", "delay": 0.5 }
]
}sc_stop_all
Stop all currently playing synths immediately.
Advanced Control
sc_execute
Execute raw SuperCollider code for custom synthesis and advanced control.
{
"code": "{ SinOsc.ar([440, 442], 0, 0.2) }.play;"
}Recording
sc_record_start
Start recording audio output to a file.
{
"filename": "my-composition.wav"
}Files are saved to the recordings/ directory.
sc_record_stop
Stop the current recording.
Example Conversation Flow
User: "I want to hear a dreamy bell sound"
Claude:
Using sc_boot to start SuperCollider server...
Using sc_play_synth with description "bell sound at C5"...The server will synthesize a bell-like tone using FM synthesis.
User: "Now play a bass line"
Claude:
Using sc_play_pattern with:
- Low bass notes
- Rhythmic timingSynth Descriptions
sine
Pure sine wave tone. Clean and simple.
pluck
Plucked string simulation using the Karplus-Strong algorithm. Good for guitar-like sounds.
bell
Bell-like FM synthesis. Bright and metallic.
bass
Filtered sawtooth wave. Deep bass tones.
pad
Warm, detuned sawtooth pad. Good for ambient backgrounds.
kick
Kick drum with frequency envelope.
snare
Snare drum with noise and tone components.
hihat
Hi-hat cymbal using filtered noise.
atmosphere
Atmospheric noise with slow filter modulation. Good for ambient textures.
sweep
Frequency sweep/riser. Goes from startFreq to endFreq over duration.
Architecture
src/
├── index.ts # MCP server implementation
├── supercollider.ts # SuperCollider process management
└── synth-library.ts # Synth definitions and NLP parserKey Components:
SuperColliderServer: Manages sclang process lifecycle and code execution
Synth Library: Pre-defined SynthDefs for common sound types
NLP Parser: Converts natural language to synth parameters
MCP Tools: Exposed functions for AI interaction
Integration with MXF
This server is designed to work with the Model Exchange Framework (MXF) for multi-agent music composition. Future enhancements will include:
Event-driven synthesis triggered by MXF events
Shared memory for musical context (key, tempo, style)
Coordination with MIDI MCP server for external control
Agent collaboration on compositional tasks
Development
Build
npm run buildWatch mode (for development)
npm run devType checking
npx tsc --noEmitTroubleshooting
"sclang not found"
Make sure SuperCollider is installed and sclang is in your PATH:
which sclang # Should show the path to sclangOn macOS, you may need to add to your PATH:
export PATH="/Applications/SuperCollider.app/Contents/MacOS:$PATH"Server won't boot
Check that no other SuperCollider instances are running
Verify SuperCollider works standalone:
sclangCheck server output in the MCP logs
No sound output
Verify your system audio is working
Check SuperCollider audio device settings
Try
Server.default.options.device = "your-device-name";viasc_execute
Future Enhancements
Real-time parameter modulation
MIDI input/output integration
Sample playback and manipulation
Effects processing (reverb, delay, filters)
Visual waveform/spectrum display
Multi-server support (supernova)
Preset management
MXF event bus integration
Collaborative composition with multiple agents
License
MIT
Contributing
Contributions welcome! Please open an issue or PR.
Available Tools
11 toolssc_bootA
Boot the SuperCollider audio server. Must be called before any sound synthesis.
Inputs: no named parameters.
sc_executeB
Execute raw SuperCollider code. Use this for advanced synthesis control or custom SynthDefs.
Inputs: code (required).
sc_health_checkA
Check if SuperCollider is installed and configured correctly. Run this first if you have issues.
Inputs: no named parameters.
sc_play_patternB
Play a rhythmic pattern or sequence of notes. Useful for creating melodies, beats, or musical phrases.
Inputs: pattern (required).
sc_play_synthA
Play a synthesized sound based on a natural language description. This is the primary tool for sound synthesis. Examples: "play a bell sound at C4", "play a low bass tone for 2 seconds", "play a plucked string sound"
Inputs: description (required).
sc_play_synth_advancedB
Play a specific synth with explicit parameters. Available synths: sine, pluck, bell, bass, pad, kick, snare, hihat, atmosphere, sweep
Inputs: synthName (required), freq, amp, duration, +5 more.
sc_quitA
Quit the SuperCollider audio server and clean up resources.
Inputs: no named parameters.
sc_record_startB
Start recording audio output to a file
Inputs: filename (required).
sc_record_stopB
Stop recording audio
Inputs: no named parameters.
sc_statusA
Get the current status of the SuperCollider server (running, CPU usage, etc.)
Inputs: no named parameters.
sc_stop_allA
Stop all currently playing synths immediately
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have distinct purposes, but sc_play_synth and sc_play_synth_advanced could cause confusion as both handle sound synthesis with overlapping functionality. The descriptions help differentiate them, with sc_play_synth using natural language and sc_play_synth_advanced offering explicit synth selection, but an agent might misselect between them for certain tasks.
All tool names follow a consistent sc_verb_noun pattern with snake_case throughout, such as sc_boot, sc_execute, and sc_play_pattern. This predictability makes it easy for agents to understand and navigate the toolset without naming confusion.
With 11 tools, the count is well-scoped for an audio synthesis server, covering essential operations like booting, playing sounds, recording, and cleanup. Each tool earns its place by addressing a specific aspect of the SuperCollider workflow without being excessive or insufficient.
The toolset provides comprehensive coverage for core audio synthesis tasks, including server management, sound playback, recording, and monitoring. Minor gaps exist, such as the lack of tools for modifying or deleting recorded files or adjusting synth parameters mid-playback, but agents can work around these with existing tools like sc_execute for advanced control.
Maintenance
Related MCP Connectors
Synth, sampler and music tracker for AI assistants: sound effects, UI sounds and songs as audio.
Audio for your agent: transcribe, speak, translate, summarise, plus sound effects and music.
Audio and video tools for your AI assistant: remove noise, enhance voices, transcribe, and more.
Make all the audio for your game from a single prompt. Describe your game and your AI assistant plans every sound it needs (sound effects, ambience loops, music tracks and character voice lines), then generates them all in one go. You get several AI versions of each sound and keep the ones you like. Sounds are organized per game in folders and scenes, and the free Godot plugin installs them into your project, ready to play with one line of code. Works with Claude, Claude Code, Cursor and any MCP client, with OAuth login (no API key needed). Free plan included; sounds can be used in commercial games.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to control synthesizer parameters in real-time by translating natural language commands into OSC messages sent to a JUCE synthesizer application.-
- AlicenseBqualityNot gradedmaintenanceEnables execution of SuperCollider synth code through the Model Context Protocol using supercolliderjs, allowing AI assistants to generate and run audio synthesis programs.28 npm-
- AlicenseAqualityDmaintenanceEnables AI-powered music composition and synthesis by generating Pure Data patches, VCV Rack modules, and MIDI controller mappings through natural language.1013 npm5MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to control SuperCollider audio synthesis via OSC, supporting melody, rhythm, and soundscape generation through MCP tools.1328MIT