Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
METABASE_URLNoBase URL of your Metabase instance
MCP_HTTP_HOSTNoHTTP bind address, default `127.0.0.1:3333` (with MCP_HTTP_PORT)127.0.0.1
MCP_HTTP_PORTNoHTTP bind port, default `127.0.0.1:3333` (`PORT` also works)3333
MCP_TRANSPORTNo`stdio` (default) or `http`. `--http` on the command line does the samestdio
MCP_HTTP_TOKENNoBearer token clients must send (min. 16 chars). Required in HTTP mode.
METABASE_EMAILNoEmail for session-based auth. Required together with METABASE_PASSWORD if METABASE_API_KEY is not provided.
METABASE_API_KEYNoAPI key for authentication (starts with mb_). Either this or both METABASE_EMAIL + METABASE_PASSWORD must be provided; API key is recommended.
METABASE_PASSWORDNoPassword for session-based auth. Required together with METABASE_EMAIL if METABASE_API_KEY is not provided.
METABASE_TOOLSETSNoComma list of toolsets or presets to load (default: all). Presets: all, query, content, admin.
METABASE_TOOLS_ENABLENoExtra tools to load on top of the toolsets (names or globs, e.g. `get_card,export_*`)
MCP_HTTP_ALLOW_NO_AUTHNo`true` runs HTTP without a token, only on a loopback host
METABASE_TOOLS_DISABLENoTools never to load (names or globs); always wins over enable
METABASE_CUSTOM_HEADERSNoExtra HTTP headers sent on every request, including the session login. A JSON object (e.g. {"CF-Access-Client-Id": "xxx.access", "CF-Access-Client-Secret": "yyy"}) or `Name: value` pairs separated by newlines or `;`. A malformed value stops the server at startup.
METABASE_READ_ONLY_MODENoSet to `true` to disable write tools

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