Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LABBY_LOGNoTracing filter.
LABBY_LOG_DIRNoOptional rolling JSON file log directory.
LABBY_AUTH_MODENoAuthentication mode: 'bearer' or 'oauth'. Default is 'bearer'.bearer
LABBY_LOG_COLORNoNon-TTY color policy.
LABBY_LOG_FORMATNoText or json format for logging.
LABBY_PUBLIC_URLNoPublic base URL for OAuth metadata, issuer/audience, callbacks, and allowed-host derivation.
LABBY_ADMIN_ENABLEDNoRuntime opt-in for the lab_admin tool.
LABBY_MCP_HTTP_HOSTNoHost to bind the HTTP server. Default is '127.0.0.1'.127.0.0.1
LABBY_MCP_HTTP_PORTNoPort to bind the HTTP server. Default is '8765'.8765
LABBY_MCP_TRANSPORTNoTransport type for the MCP server. Default is 'http'.http
LABBY_MCP_HTTP_TOKENNoStatic bearer token for protected admin/API/MCP routes. If not provided, a random token is generated and stored in ~/.labby/.env.
LABBY_WEB_ASSETS_DIRNoOverride static Labby export directory.
LABBY_ACTOR_KEY_SECRETNoStable secret for redacted actor correlation in logs.
LABBY_AUTH_ADMIN_EMAILNoBootstrap admin email. Required in OAuth mode.
LABBY_GOOGLE_CLIENT_IDNoGoogle OAuth client ID. Required when LABBY_AUTH_MODE=oauth.
LABBY_GOOGLE_CLIENT_SECRETNoGoogle OAuth client secret. Required when LABBY_AUTH_MODE=oauth.
LABBY_OAUTH_ENCRYPTION_KEYNoBase64 32-byte key required for encrypted upstream OAuth credentials. Rotation requires reauthorizing affected upstreams.
LABBY_WEB_UI_AUTH_DISABLEDNoDevelopment-only browser auth bypass.

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/dinglebear-ai/labby'

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