mcp-repo-graph
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REPO_GRAPH_REPO | No | The path to the repository to analyze |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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). Incremental by default — reuses a per-file parse cache so only changed files re-parse. Accepts a local path or a git URL (cloned on demand). 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 | Structural graph in dense sigil notation — the map of entities, relationships, and scopes. The primary context tool: feed it to the LLM so it can navigate without reading files. With |
| flowA | End-to-end flow for a feature: entry point through service layer to data store, rendered as layered tiers. Call after |
| traceA | Shortest path between two nodes, showing each hop with tier transitions. |
| impactA | Blast radius analysis: fan out from one or more nodes to see everything they affect (downstream) or depend on (upstream), grouped by tier. Pass several comma-separated nodes to assess a whole diff at once. |
| neighboursA | All direct connections to and from a node, one hop in each direction. |
| readA | Return the source code for a node, sliced from its file by the graph's line span. Use after |
| 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. |
| findA | Find nodes by name or qualified name pattern. Returns matching nodes with their kinds and qnames. |
| locateA | Resolve a failure signal — a stacktrace, a failing-test id, or a diff/changed-file list — to the most relevant nodes in the graph. Sniffs the signal shape, maps frames/symbols/paths to seed nodes, then ranks the surrounding subgraph by Personalized PageRank. The on-ramp for debugging: paste the error, get the code that matters. |
| graph_viewA | Visual ASCII graph. With node: tree of children and connections. Without: full overview with counts. |
| reloadA | Re-generate the graph from source. Incremental by default — only changed files re-parse, so this is cheap to call after edits. Set incremental=False to force a full reparse. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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