Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SONIC_PI_HOMENoCustom Sonic Pi user-home root for logs and configuration. Optional.
SONIC_PI_ROOTYesPath to the Sonic Pi root directory, required for the server to locate daemon.rb and other resources.
SONIC_PI_MCP_RUNTIME_DIRNoWritable directory for temporary run_file buffers. Defaults to platform-specific cache directory (e.g., ~/.cache/sonic-pi-mcp).
SONIC_PI_MCP_STARTUP_TIMEOUTNoTimeout in seconds for Sonic Pi startup. Default: 60.
SONIC_PI_MCP_EVENT_BUFFER_SIZENoMaximum number of events stored in the event buffer. Default: 5000.
SONIC_PI_MCP_DEFAULT_COLLECT_MSNoDefault collection time in milliseconds for tool calls. Default: 1500.
SONIC_PI_MCP_KEEPALIVE_INTERVALNoInterval in seconds for keep-alive messages. Default: 4.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/WEEZZ-admin/sonic-pi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server