Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost to bind the HTTP server to. Only used when MCP_TRANSPORT=http. Default: 0.0.0.0 (from example).
MCP_PORTNoPort to bind the HTTP server to. Only used when MCP_TRANSPORT=http. Default: 8080 (from example).
WAXUM_MODENoWaxum connection mode: 'client' or 'spawn'. Auto-detected: 'client' if WAXUM_BASE_URL is set, else 'spawn'.
WAXUM_PORTNoPort for the spawned waxum process. Optional, default: 3451. Used in spawn mode.
WAXUM_TOKENNoToken for authenticating with waxum. In client mode: superadmin token or a session token. In spawn mode: becomes the spawned process's SUPERADMIN_TOKEN env var; if unset, a random one is generated.
MCP_TRANSPORTNoTransport mode for the MCP server. Valid values: 'stdio' (default) or 'http'. In HTTP mode, additional variables like MCP_PUBLIC_TOKEN are required.
WAXUM_WORKDIRNoWorking directory for the waxum process. Optional, default: binary's directory. Used in spawn mode.
WAXUM_BASE_URLNoBase URL of an already-running waxum instance. Required for client mode.
WAXUM_MEDIA_DIRNoDirectory for media files. Optional, default: ./media. Used in client mode.
MCP_PUBLIC_TOKENNoBearer token required for HTTP mode. Protects access to every WhatsApp tool. Required when MCP_TRANSPORT=http.
WAXUM_SESSION_IDNoThe paired WhatsApp session ID to operate on. Required in both client and spawn modes.
WAXUM_BINARY_PATHNoPath to the waxum binary. Required for spawn mode.
WAXUM_DATABASE_URLNoDatabase URL for waxum. Optional. Supports sqlite://, PostgreSQL, or MySQL URLs. Used in spawn mode.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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