Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REPO_GRAPH_REPONoThe path to the repository to analyze

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generateA

Scan the codebase and (re)build the structural graph using tree-sitter AST parsing. Auto-detects 20 languages and frameworks. Runs cross-stack resolvers (HTTP, gRPC, GraphQL, WebSocket, queues, events, CLI). Call on first use or after major refactors.

statusA

Repo overview: node/edge counts, detected kinds, entry points, and a dense text preview. Call this first to orient before using other tools.

dense_textA

Full structural graph in dense sigil notation — the complete map of entities, relationships, and scopes. This is the primary context tool: feed it to the LLM so it can navigate without reading files.

flowA

End-to-end flow for a feature: entry point through service layer to data store, rendered as layered tiers. Call after status to drill into a specific feature.

traceC

Shortest path between two nodes, showing each hop with tier transitions.

impactA

Blast radius analysis: fan out from a node to see everything it affects (downstream) or depends on (upstream), grouped by tier.

neighboursA

All direct connections to and from a node, one hop in each direction.

activateA

Spreading activation from seed nodes — finds the most relevant nodes in the graph relative to your seeds. Uses Personalized PageRank with domain-tuned edge weights. Returns ranked results by relevance score.

findA

Find nodes by name or qualified name pattern. Returns matching nodes with their kinds and qnames.

graph_viewA

Visual ASCII graph. With node: tree of children and connections. Without: full overview with counts.

reloadA

Re-generate the graph from source. Call after code changes.

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/James-Chahwan/repo-graph'

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