Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoServer bind addresslocalhost
PORTNoServer port8000
LOG_LEVELNoLogging levelinfo
CACHE_FILENoCache file pathopenrouter_model_cache.json
CACHE_MAX_ITEMSNoMax items in memory cache1000
CACHE_TTL_HOURSNoModel cache TTL in hours1
OPENROUTER_API_KEYYesYour OpenRouter API key (required)
OPENROUTER_APP_NAMENoApp identifier for trackingopenrouter-mcp
OPENROUTER_HTTP_REFERERNoHTTP referer headerhttps://localhost

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/physics91/openrouter-mcp'

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