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). 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 |
| 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
| 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