Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_TOKENNoLegacy single-token auth secret (optional if API_TOKENS_JSON is set).
SERENA_HOMENoSerena config directory./app/.serena
R2_ACCOUNT_IDNoYour Cloudflare account ID for the R2 S3 endpoint.
SERENA_DOCKERNoSignals to Serena it runs in a container.1
R2_BUCKET_NAMENoSuggested R2 bucket name for Serena state.serena-mcp-state-prod
API_TOKENS_JSONNoJSON object or array of tokens for multi-terminal token routing.
AWS_ACCESS_KEY_IDNoR2 Access API key ID (for optional snapshot sync).
AWS_SECRET_ACCESS_KEYNoR2 Access API secret (for optional snapshot sync).
SERENA_R2_STATE_PREFIXNoPrefix (path) inside the R2 bucket used for Serena snapshots.serena-mcp/default/serena-home-snapshots-v1
SERENA_R2_STATE_STRICTNoIf "1", fail container startup when R2 mount/restore fails; otherwise degrade to local-only mode.0
SERENA_R2_STATE_ENABLEDNoEnable ("1") R2 snapshot restore/sync for local SERENA_HOME.0
MCP_CONTAINER_ROUTE_GENERATIONNoGeneration string used to derive named container routes; bump to force fresh instances.gen-1
SERENA_R2_STATE_PARTITION_MODENoPartition R2 snapshot paths per Durable Object/container (recommended for multi-token routing).durable-object
SERENA_R2_SNAPSHOT_RETENTION_COUNTNoNumber of snapshot archives to keep in R2.5
SERENA_R2_SNAPSHOT_INTERVAL_SECONDSNoPeriodic snapshot interval in seconds ("0" disables background snapshots).180

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