Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CGR_LOGNoService log filter, default warn; logs go to stderr
CGR_DEDUPNoSet to 1 to share session-level deduplication across explore, node, callers, and callees in MCP (also --dedup)
CGR_FSYNCNoDefault platform syncing; full selects strongest syncing, off skips syncing
CGR_SESSIONNoSession ID for persistent cross-call CLI deduplication across explore, node, callers, and callees (.cgr/sessions/)
CGR_THREADSNoIndexing worker count; the detected memory budget can reduce it
CGR_TIMINGSNoEnable CLI indexing phase timing output
CGR_AUTO_SYNCNo1 enables pre-query incremental sync on CLI; 0 disables default pre-query sync in cgr serve
CGR_MCP_TOOLSNoComma-separated list of exposed MCP tools; CODEGRAPH_MCP_TOOLS is a fallback
CGR_MEMORY_MBNoTuning budget for workers, batches, kernel spill and resolver caches; not an RSS cap
CGR_HTTP_TOKENNoRequire a bearer token on HTTP requests
CGR_EXPLORE_DEDUPNoSet to 1 to share session-level deduplication across explore, node, callers, and callees in MCP (also --dedup)
CGR_TELEMETRY_LOGNoOptional JSONL file path recording per-call latency, sync, dedup savings, and tail_idx counters (dormant when unset)
CGR_NO_PROMPT_HOOKNoSet to 1 to disable the optional Claude Code prompt hook at runtime

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