Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AWARENESS_HOSTNoBind address (HTTP mode)0.0.0.0
AWARENESS_PORTNoPort (HTTP mode)8420
AWARENESS_TRANSPORTNoTransport: stdio or streamable-httpstdio
AWARENESS_JWT_SECRETNoJWT signing secret. Required if using self-signed authentication.
AWARENESS_MOUNT_PATHNoSecret path prefix for access control. When set, only /<secret>/mcp is served.
AWARENESS_OLLAMA_URLNoOllama API endpoint.http://ollama:11434
AWARENESS_PUBLIC_URLNoPublic base URL for this server. Required when behind a reverse proxy or Cloudflare Tunnel.
AWARENESS_OAUTH_PROXYNoEnable OAuth proxy workaround for Claude Desktop/Claude.ai.false
AWARENESS_SESSION_TTLNoSession expiry in seconds (30 min). Sliding window.1800
AWARENESS_DATABASE_URLYesPostgreSQL connection string. Accepts URL format (postgresql://user:pass@host:5432/db) or psycopg DSN format (host=X dbname=Y user=Z password=W).
AWARENESS_OAUTH_ISSUERNoOIDC issuer URL (required for OAuth).
AWARENESS_AUTH_REQUIREDNoSet to true to require Bearer tokens on all requests.false
AWARENESS_DEFAULT_OWNERNoDefault owner_id for unauthenticated/stdio connections. Defaults to system username.
AWARENESS_JWT_ALGORITHMNoJWT signing algorithm.HS256
AWARENESS_OAUTH_AUDIENCENoExpected aud claim in tokens.
AWARENESS_OAUTH_JWKS_URINoOverride JWKS endpoint.
AWARENESS_STATELESS_HTTPNoWhen true, uses stateless HTTP mode. Recommended for production.false
AWARENESS_EMBEDDING_MODELNoOllama model name for embeddings.granite-embedding:278m
AWARENESS_OAUTH_USER_CLAIMNoJWT claim to use as owner_id.sub
AWARENESS_SESSION_POOL_MAXNoMax connection pool size for the session database.5
AWARENESS_SESSION_POOL_MINNoMin connection pool size for the session database.1
AWARENESS_SESSION_NODE_NAMENoIdentifies this node in the registry. Defaults to hostname.
AWARENESS_EMBEDDING_PROVIDERNoSet to ollama to enable vector branch of hybrid search.
AWARENESS_EMBEDDING_DIMENSIONSNoVector dimensions. Must match model output.768
AWARENESS_OAUTH_AUTO_PROVISIONNoAuto-create user on first valid OAuth login.false
AWARENESS_SESSION_DATABASE_URLNoPostgres DSN for session database. Ignored when stateless_http is true.
AWARENESS_MAX_SESSIONS_PER_OWNERNoMaximum active sessions per owner.10
AWARENESS_OAUTH_PROXY_IP_HEADERSNoTrusted IP header priority chain.CF-Connecting-IP,X-Real-IP
AWARENESS_OAUTH_PROXY_RATE_TOKENNoMax /token requests per minute per IP.60
AWARENESS_OAUTH_PROXY_RATE_WINDOWNoRate limit sliding window in seconds.60
AWARENESS_MAX_CONCURRENT_PER_OWNERNoMax concurrent requests per authenticated owner.10
AWARENESS_OAUTH_PROXY_BAN_DURATIONNoAuto-ban duration (seconds) for bogus OAuth requests.3600
AWARENESS_OAUTH_PROXY_RATE_REGISTERNoMax /register requests per minute per IP.30
AWARENESS_OAUTH_PROXY_RATE_AUTHORIZENoMax /authorize requests per minute per IP.60

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

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/cmeans/mcp-awareness'

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