Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP bind host (default: localhost)localhost
PORTNoHTTP server port (default: 3100)3100
DATA_DIRNoPath to the data directory (default: ~/.context-mcp)~/.context-mcp
ACCESS_GITNoEnable git tools for HTTP clients (default: false)false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
codegraph_buildA

Scan a project directory and build the knowledge graph from code files. Uses tree-sitter AST (with regex fallback) for all code files. Fast, local, no API key needed. Run once per project; rebuild whenever code changes.

codegraph_queryA

Ask a structural question about the codebase OR look up a specific node by name — or both in one call. Pass question for natural-language traversal: what calls X, what does module Y depend on. Pass node for fast single-node lookup: returns type, file, depends_on, used_by. Pass both to get node detail + surrounding graph context together. Returns structured text within token_budget. Use before reading any files.

codegraph_reportC

Return CODEGRAPH_REPORT.md — god nodes, clusters, surprising connections, suggested questions.

codegraph_nodesB

List all nodes of a given type in the graph.

codegraph_pathC

Find the shortest relationship path between two concepts in the graph.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vibhasdutta/context-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server