Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP bind address127.0.0.1
PORTNoHTTP server port (1024-65535)3000
API_KEYNoAdds a static bearer token and enables X-API-Key header
AUTH_MODENostatic or oauth. Auto-selects OAuth if OAUTH_ISSUER_URL, OAUTH_AUTHORIZATION_URL, OAUTH_TOKEN_URL, or OAUTH_INTROSPECTION_URL is setauto
CACHE_TTLNoCache TTL in seconds (60-86400)3600
LOG_LEVELNoLogging level (debug enables verbose logs)info
USER_AGENTNoUser-Agent header for outgoing requestssuperFetch-MCP/2.0
ALLOW_REMOTENoAllow non-loopback binds (OAuth required)false
ACCESS_TOKENSNoComma/space-separated static bearer tokens
ALLOWED_HOSTSNoAdditional allowed Host/Origin values
CACHE_ENABLEDNoEnable response cachingtrue
OAUTH_CLIENT_IDNoClient ID for introspection
OAUTH_TOKEN_URLNoToken endpoint
TOOL_TIMEOUT_MSNoOverall tool timeout in ms (1000-300000)50000
OAUTH_ISSUER_URLNoOAuth issuer
OAUTH_RESOURCE_URLNoProtected resource URL
OAUTH_CLIENT_SECRETNoClient secret for introspection
OAUTH_REVOCATION_URLNoRevocation endpoint
TRANSFORM_TIMEOUT_MSNoWorker transform timeout in ms (5000-120000)30000
OAUTH_REQUIRED_SCOPESNoRequired scopes (comma/space separated)
OAUTH_REGISTRATION_URLNoDynamic client registration endpoint
OAUTH_AUTHORIZATION_URLNoAuthorization endpoint
OAUTH_INTROSPECTION_URLNoIntrospection endpoint
TRANSFORM_METADATA_FORMATNoRaw markdown metadata format (markdown or frontmatter)markdown
OAUTH_INTROSPECTION_TIMEOUT_MSNoIntrospection timeout (1000-30000)5000

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/j0hanz/super-fetch-mcp-server'

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