Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RELAY_DB_PATHNoPath to SQLite database file (default '~/.bot-relay/relay.db').~/.bot-relay/relay.db
RELAY_HTTP_HOSTNoHost for HTTP daemon (default 127.0.0.1).127.0.0.1
RELAY_HTTP_PORTNoPort for HTTP daemon (default 3777).3777
RELAY_TRANSPORTNoTransport mode: 'stdio' (default), 'http', or 'both'.stdio
RELAY_AGENT_TOKENNoPer-agent token for authentication; issued on first registration.
RELAY_HTTP_SECRETNoShared secret for HTTP authentication; required for non-loopback hosts in production.
RELAY_ALLOW_LEGACYNoSet to '1' to allow tool calls against unmigrated pre-v1.7 agents (temporary).0
RELAY_SPAWN_EFFORTNoEffort level for spawned agents (e.g., 'high', 'xhigh').high
RELAY_TERMINAL_APPNoOverride for terminal app in spawn_agent (allowlist-gated).
RELAY_SQLITE_DRIVERNoSQLite driver: 'native' (default, better-sqlite3) or 'wasm' (sql.js).native
RELAY_ENCRYPTION_KEYNoLegacy single encryption key (base64-32); auto-wraps to keyring with deprecation warning.
RELAY_SPAWN_KICKSTARTNoCustom kickstart prompt for spawned agents (default auto-pulls messages).
RELAY_TRUSTED_PROXIESNoComma-separated CIDRs for trusted reverse proxies (e.g., '127.0.0.0/8,::1/128').
RELAY_DASHBOARD_SECRETNoSecret for dashboard access; falls back to RELAY_HTTP_SECRET if not set.
RELAY_ALLOW_OPEN_PUBLICNoSet to '1' to allow starting on public hosts without RELAY_HTTP_SECRET (dev only).0
RELAY_ENCRYPTION_KEYRINGNoInline JSON for encryption keyring (e.g., '{"current":"k1","keys":{"k1":"<base64>"}}').
RELAY_SPAWN_DISPLAY_NAMENoCustom display name for spawned agents (default uses agent name).
RELAY_SPAWN_NO_KICKSTARTNoSet to '1' to disable kickstart prompt for spawned agents.0
RELAY_HTTP_SECRET_PREVIOUSNoComma-separated list of previous secrets for rotation without downtime.
RELAY_SPAWN_PERMISSION_MODENoPermission mode for spawned agents (e.g., 'bypassPermissions', 'auto').bypassPermissions
RELAY_ENCRYPTION_KEYRING_PATHNoFile path to encryption keyring JSON (e.g., '~/.bot-relay/keyring.json').
RELAY_ENCRYPTION_LEGACY_KEY_IDNoKey ID for decrypting legacy 'enc1:...' rows (default 'k1').k1

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/Maxlumiere/bot-relay-mcp'

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