Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_DATA_DIRNoThe allowed root directory for the filesystem/shell/search tools. Defaults to your home directory ($HOME, or %USERPROFILE% on Windows). Set it to change the root from the start: `MCP_DATA_DIR=/other/path npm start` (or `set MCP_DATA_DIR=D:\work` then `npm start` on Windows cmd).
PUBLIC_ORIGINNoOptional non-default variable that can be configured in the .env file (see .env.example); only needed if you use your own public origin rather than the default ingress.
GROK_CALLBACK_PREFIXNoPrefix used to allowlist Grok's OAuth redirect_uri callback. Defaults to `https://grok.com/connectors-oauth-exchange-code/`; set this if a future Grok change moves that callback (a rejected registration logs `register REJECTED (redirect_uri not allowlisted): [...]` so the new value can be re-allowlisted).

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