Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
R2_REGIONNoOptional region for the r2 storage provider.auto
AGENT_MODELNoOptional model for the selected agent provider. Defaults include gpt-4o-mini for openai, claude-3-5-sonnet-latest for anthropic, and gemini-2.5-flash for gemini.
MCP_API_KEYYesRequired Bearer token for /api/mcp.
R2_ENDPOINTNoAlternative to R2_ACCOUNT_ID for the r2 storage provider.
AGENT_API_KEYNoAPI key for openai, anthropic, or gemini. Optional for webhook and sent as Authorization: Bearer.
R2_ACCOUNT_IDNoRequired for the r2 storage provider unless R2_ENDPOINT is set.
AGENT_BASE_URLNoOptional base URL for openai and OpenAI-compatible APIs, such as OpenRouter or Groq.
AGENT_PROVIDERNoDownstream agent provider: mock (default), openai, anthropic, gemini, or webhook.mock
R2_BUCKET_NAMENoRequired for the r2 storage provider.
MCP_ALLOW_PUBLICNoSet to true only for unauthenticated local dev. In production, /api/mcp fails closed if MCP_API_KEY is unset and MCP_ALLOW_PUBLIC is not true.
R2_ACCESS_KEY_IDNoRequired for the r2 storage provider.
STORAGE_PROVIDERNoStorage backend: auto (default), vercel-blob, r2, or local.auto
AGENT_WEBHOOK_URLNoRequired when AGENT_PROVIDER is webhook. The downstream webhook URL.
LOCAL_STORAGE_DIRNoDirectory used by the local storage provider. Defaults to .data/storage, or /tmp/mcp-connector-storage on Vercel.
R2_SECRET_ACCESS_KEYNoRequired for the r2 storage provider.
BLOB_READ_WRITE_TOKENNoRequired for the vercel-blob storage provider. Auto-selects vercel-blob when STORAGE_PROVIDER is auto.
ARTIFACT_INLINE_THRESHOLD_BYTESNoSize threshold in bytes above which response bodies are offloaded as artifacts.16384

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