Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoInterface to bind. Default `0.0.0.0` (`npm run dev` binds `127.0.0.1`).0.0.0.0
PORTNoPort to listen on. Default `3000`.3000
TOKEN_KEYYesEncryption key for all tokens, at least 32 random bytes, base64. Generate with `openssl rand -base64 32`. Keep it secret and stable.
PUBLIC_BASE_URLYesThe public HTTPS origin of the server, e.g. `https://weather-mcp.example.com`, without a path. Used in OAuth metadata, token audiences and the Netatmo redirect URI, so it must match the redirect URI on your Netatmo app. The server refuses to start without it (only `npm run dev` defaults it to `http://localhost:3000`).
NETATMO_CLIENT_IDYesClient ID of your Netatmo app.
TOKEN_KEY_PREVIOUSNoThe previous `TOKEN_KEY` during a key rotation; tokens sealed with it are still accepted.
ALLOWED_NETATMO_USERSNoComma-separated Netatmo account emails allowed to sign in. Empty means any Netatmo account; a malformed value (an entry that isn't an email) allows nobody. Checked at sign-in and on every token refresh.
ALLOWED_REDIRECT_URISNoComma-separated exact https redirect URIs for MCP clients other than Claude, added to the built-in Claude callbacks.
NETATMO_CLIENT_SECRETYesClient secret of your Netatmo app.
ALLOW_LOOPBACK_REDIRECTSNo`false` refuses `http://localhost`-style redirect URIs (desktop clients such as Claude Code and MCP Inspector). Default `true`.true

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