Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SONIC_PI_APPNoSonic Pi application path. Default: /Applications/Sonic Pi.app (macOS).
SONIC_PI_HOMENoSonic Pi home directory. Default: ~/.sonic-pi.
SONIC_PI_TOKENNoSonic Pi token. Auto-discovered by default; the token is never shown.
SONIC_PI_MCP_LOGNoLog level (stderr only). Default: warn.
SONIC_PI_SPIDER_PORTNoSonic Pi Spider port. Auto-discovered by default.
SONIC_PI_MCP_DATA_DIRNoData directory for compositions and recordings. Default: platform data directory.
SONIC_PI_MCP_ACK_TIMEOUT_MSNoAcknowledgement timeout in milliseconds. Default: 3000.
SONIC_PI_MCP_MAX_CODE_BYTESNoMaximum code size in bytes. Default: 262144 (max 4 MiB; code above ~55 KB is sent via a file).
SONIC_PI_MCP_ALLOW_UNRESTRICTED_RUBYNoAllow unrestricted Ruby. Default: off.

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

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