Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONTEXTSERVER_TESTNoJSON object test runner config with fields: commands (string[]), hashLocations (string[]), hashExtensions (string[]), cacheFile (string), and timeout (integer milliseconds).
CONTEXTSERVER_URLSNoJSON array of external URLs to fetch, strip, split into sections, and include in search_docs results.
CONTEXTSERVER_URL_TTLNoHow long to cache fetched URL content before re-fetching, in seconds.3600
CONTEXTSERVER_REPOROOTNoBase dir for test commands and relative path resolution. Set to "." to use the MCP host's working directory.server dir
CONTEXTSERVER_BLOCK_SIZENoMaximum lines per code block (integer >= 5). Increase for larger functions; decrease for faster scanning.30
CONTEXTSERVER_CODELOCATIONSNoJSON array of directories to index for code search. Multiple entries are merged into one searchable index.
CONTEXTSERVER_DOCSLOCATIONSNoJSON array of directories containing .md documentation files.
CONTEXTSERVER_WATCHLOCATIONSNoJSON array of directories to watch for hot-reload. Defaults to the union of all configured content locations.auto-derived
CONTEXTSERVER_CODE_EXTENSIONSNoJSON array of file extensions to index. Leading dot is optional.[".js",".ts",".jsx",".tsx",".json",".md"]
CONTEXTSERVER_PERSONASLOCATIONSNoJSON array of directories containing .md agent persona files.

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