Serena MCP
by BillDuke13
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_TOKEN | No | Legacy single-token auth secret (optional if API_TOKENS_JSON is set). | |
| SERENA_HOME | No | Serena config directory. | /app/.serena |
| R2_ACCOUNT_ID | No | Your Cloudflare account ID for the R2 S3 endpoint. | |
| SERENA_DOCKER | No | Signals to Serena it runs in a container. | 1 |
| R2_BUCKET_NAME | No | Suggested R2 bucket name for Serena state. | serena-mcp-state-prod |
| API_TOKENS_JSON | No | JSON object or array of tokens for multi-terminal token routing. | |
| AWS_ACCESS_KEY_ID | No | R2 Access API key ID (for optional snapshot sync). | |
| AWS_SECRET_ACCESS_KEY | No | R2 Access API secret (for optional snapshot sync). | |
| SERENA_R2_STATE_PREFIX | No | Prefix (path) inside the R2 bucket used for Serena snapshots. | serena-mcp/default/serena-home-snapshots-v1 |
| SERENA_R2_STATE_STRICT | No | If "1", fail container startup when R2 mount/restore fails; otherwise degrade to local-only mode. | 0 |
| SERENA_R2_STATE_ENABLED | No | Enable ("1") R2 snapshot restore/sync for local SERENA_HOME. | 0 |
| MCP_CONTAINER_ROUTE_GENERATION | No | Generation string used to derive named container routes; bump to force fresh instances. | gen-1 |
| SERENA_R2_STATE_PARTITION_MODE | No | Partition R2 snapshot paths per Durable Object/container (recommended for multi-token routing). | durable-object |
| SERENA_R2_SNAPSHOT_RETENTION_COUNT | No | Number of snapshot archives to keep in R2. | 5 |
| SERENA_R2_SNAPSHOT_INTERVAL_SECONDS | No | Periodic 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues