Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_TTLNoCache time-to-live in seconds3600
LOG_LEVELNoLog verbosity (debug/info/warn/error)info
REDIS_URLNoRedis connection URL (Required if CACHE_TYPE is redis)
AWS_REGIONNoAWS region (Required for AWS cost tracking). Cost Explorer only works in us-east-1.us-east-1
CACHE_TYPENoCache backend (memory/redis)memory
OPENAI_API_KEYNoOpenAI API key (Required for OpenAI cost tracking)
MCP_SERVER_PORTNoServer port3000
ANTHROPIC_API_KEYNoAnthropic Admin API key (starts with sk-ant-admin...) (Required for Anthropic cost tracking)
AWS_ACCESS_KEY_IDNoAWS access key (Required for AWS cost tracking)
AWS_SECRET_ACCESS_KEYNoAWS secret key (Required for AWS cost tracking)
GCP_BILLING_ACCOUNT_IDNoYour GCP billing account ID
GOOGLE_APPLICATION_CREDENTIALSNoPath to your GCP service account JSON file

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/knishioka/cost-management-mcp'

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