Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoContainer timezone for log timestamps (e.g. America/New_York)
PORTNoPort the server listens on9595
LOG_LEVELNoLogging verbosity (debug, info, warn, error)info
AUTH_REALMYesKeycloak realm name used for both incoming clients and the MCP OAuth client
API_CLIENT_IDYesOAuth client ID for token introspection against your IdP
TRMNL_DB_PATHNoPath to SQLite database file./trmnl.sqlite
ACTIVE_VERSIONNoAPI version prefix (not fully implemented)v1
MCP_SERVER_URLYesThe resource server URL — incoming tokens must include this in their audience claim
AUTH_SERVER_URLYesBase URL of the Keycloak (or compatible) authentication server
TRMNL_CLIENT_IDNoOAuth 2.0 client ID provided by TRMNL for your plugin (required for TRMNL plugins)
API_CLIENT_SECRETYesOAuth client secret for token introspection
WMATA_PRIMARY_KEYNoWMATA API key for DC Metro arrival predictions and incidents (required for metro plugin)
AERODATABOX_API_KEYNoRapidAPI key for AeroDataBox (live flight status data) (required for flight plugin)
TRMNL_CLIENT_SECRETNoOAuth 2.0 client secret paired with TRMNL_CLIENT_ID (required for TRMNL plugins)
TRMNL_IP_ALLOW_PRIVATENoSet to true to bypass TRMNL worker IP allowlist check (useful for local dev)
TRMNL_FLIGHTS_CLIENT_IDNoOAuth 2.0 client ID for the TRMNL flight tracker plugin (required for flight plugin)
ACTIVITY_DISCORD_CLIENT_IDNoDiscord OAuth client ID for the activity token exchange endpoint (deprecated)
TRMNL_FLIGHTS_CLIENT_SECRETNoOAuth 2.0 client secret paired with TRMNL_FLIGHTS_CLIENT_ID (required for flight plugin)
ACTIVITY_DISCORD_CLIENT_SECRETNoDiscord OAuth client secret (deprecated)

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/subtype-space/subspace-api'

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