Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address for the HTTP transport (default: '127.0.0.1').127.0.0.1
PORTNoPort for the HTTP transport (default: '3000'). Ignored in stdio mode.3000
MCP_TRANSPORTNoTransport mode. Set to 'stdio' to use stdio; otherwise the server uses HTTP.
MCP_AUTH_TOKENNoBearer token for /mcp, read from the environment. Set only one of MCP_AUTH_TOKEN_FILE or MCP_AUTH_TOKEN; prefer the file form.
PIHOLE_BASE_URLNoPi-hole base URL for the single instance named 'pihole' (e.g. 'http://pihole.example.com').
PIHOLE_PASSWORDNoPi-hole API password for the single instance named 'pihole' (or use Docker secrets at /run/secrets/pihole_password).
PIHOLE_INSTANCESNoComma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary').
PRIMARY_BASE_URLNoPi-hole base URL for the 'primary' instance (e.g. 'http://192.0.2.100').
PRIMARY_PASSWORDNoPi-hole API password for the 'primary' instance (or use Docker secrets at /run/secrets/primary_password).
MCP_ALLOWED_HOSTSNoExtra hostnames accepted in the Host header (port-agnostic). localhost, 127.0.0.1 and [::1] are always accepted.
SECONDARY_BASE_URLNoPi-hole base URL for the 'secondary' instance (e.g. 'https://198.51.100.101').
SECONDARY_PASSWORDNoPi-hole API password for the 'secondary' instance (or use Docker secrets at /run/secrets/secondary_password).
MCP_ALLOWED_ORIGINSNoExact browser origins allowed to call the server. Requests with an Origin header not listed get 403.
MCP_AUTH_TOKEN_FILENoPath to a file holding a bearer token for /mcp (e.g. /run/secrets/mcp_auth_token). Minimum 32 characters, no whitespace.
PIHOLE_INSECURE_TLSNoSet to 'true' for self-signed certs (default: 'false').false
PRIMARY_INSECURE_TLSNoSet to 'true' for self-signed certs on the 'primary' instance (default: 'false').false
MCP_ALLOW_NON_LOOPBACKNoMust be 'true' to bind any non-loopback address; otherwise the server refuses to start.
SECONDARY_INSECURE_TLSNoSet to 'true' for self-signed certs on the 'secondary' instance (default: 'false').false
MCP_ALLOW_UNAUTHENTICATEDNoSet to 'true' to allow a non-loopback bind without a bearer token. Not recommended.

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