codegraphy-lite
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEGRAPHY_ROOT | No | Absolute path to the project directory to expose to the MCP server. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use CodeGraphy graph tools before bulk-reading files: start with get_architecture_summary or list_workspace_topics, then get_topic_context for signatures and dependencies. When truncated is true, check skipped_files and re-scope CODEGRAPHY_ROOT to a smaller subdirectory.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_workspace_topicsB | List workspace modules with lifecycle state, files, and dependency counts; includes truncation metadata for the 150-file cap. |
| get_topic_contextB | Get one module's description, 1-hop dependencies, and AST signatures from its attached files. |
| get_architecture_summaryB | Summarize project architecture: module and dependency counts, lifecycle distribution, lanes, and the most connected modules. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool occupies a distinct level of the same hierarchy: enumerate modules, inspect one module in detail, and roll everything up into a project-wide summary. There is no realistic way to confuse list_workspace_topics with get_topic_context or get_architecture_summary, since each targets a different granularity (collection, single item, aggregate).
All three names follow a strict snake_case verb_noun pattern (list_/get_/get_ + domain noun). The vocabulary is also coherent: 'topic' is used consistently alongside 'workspace' and 'architecture' in a way that maps to the same domain model.
Three tools is on the thin side but fits a deliberately 'lite', read-only code graph explorer where each tool earns its place. There is no filler or redundancy, though a fourth tool (e.g. search/lookup) would round the surface out.
The read-only lifecycle (enumerate, inspect, aggregate) is fully covered and there are no dead ends for the stated analysis purpose. Minor gaps remain: no way to search or filter modules by name, no traversal beyond 1-hop dependencies, and no file-content access beyond AST signatures.