Skip to content

Commit 22f445f

Browse files
committed
docs: document cross-root MCP usage
Document the durable user-facing cross-root MCP behavior in the main README. This keeps the docs layer focused on the supported `project_root` contract and active-root switching behavior without pulling temporary validation, handoff, or review artifacts into the final PR. All validation ledgers, review-context files, and planning notes remain intentionally out of this commit so the documentation stays minimal and long-lived.
1 parent a02ee6d commit 22f445f

1 file changed

Lines changed: 28 additions & 27 deletions

File tree

README.md

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,22 @@ Seven Rust crates, one MCP server binary, one CLI binary:
132132
| `rpg-nav` | Search, fetch, explore, snapshot, TOON serialization |
133133
| `rpg-lift` | Autonomous LLM lifting (Anthropic, OpenAI, OpenRouter, Gemini) |
134134
| `rpg-cli` | CLI binary (`rpg-encoder`) |
135-
| `rpg-mcp` | MCP server binary (`rpg-mcp-server`) with 27 tools |
135+
| `rpg-mcp` | MCP server binary (`rpg-mcp-server`) with 28 tools |
136136

137137
---
138138

139-
## MCP Tools (27)
139+
## MCP Tools (28)
140140

141141
<details>
142-
<summary><strong>Build & Maintain</strong> (4 tools)</summary>
142+
<summary><strong>Build & Maintain</strong> (5 tools)</summary>
143143

144144
| Tool | Description |
145145
|------|-------------|
146+
| `set_project_root` | Switch the active repository root at runtime without restarting the MCP server |
146147
| `build_rpg` | Index the codebase (run once, instant) |
147148
| `update_rpg` | Incremental update from git changes |
148149
| `reload_rpg` | Reload graph from disk after external changes |
149-
| `rpg_info` | Graph statistics, hierarchy overview, per-area lifting coverage |
150+
| `rpg_info` | Graph statistics, hierarchy overview, per-area lifting coverage. Supports optional per-call `project_root` override |
150151

151152
</details>
152153

@@ -155,11 +156,11 @@ Seven Rust crates, one MCP server binary, one CLI binary:
155156

156157
| Tool | Description |
157158
|------|-------------|
158-
| `semantic_snapshot` | Whole-repo semantic understanding in one call (~25K tokens for 1000 entities) |
159-
| `search_node` | Search entities by intent or keywords (hybrid embedding + lexical scoring) |
160-
| `fetch_node` | Get entity metadata, source code, dependencies, and hierarchy context |
161-
| `explore_rpg` | Traverse dependency graph (upstream, downstream, or both) |
162-
| `context_pack` | Single-call search + fetch + explore with token budget |
159+
| `semantic_snapshot` | Whole-repo semantic understanding in one call (~25K tokens for 1000 entities). Supports optional per-call `project_root` override |
160+
| `search_node` | Search entities by intent or keywords (hybrid embedding + lexical scoring). Supports optional per-call `project_root` override |
161+
| `fetch_node` | Get entity metadata, source code, dependencies, and hierarchy context. Supports optional per-call `project_root` override |
162+
| `explore_rpg` | Traverse dependency graph (upstream, downstream, or both). Supports optional per-call `project_root` override |
163+
| `context_pack` | Single-call search + fetch + explore with token budget. Supports optional per-call `project_root` override |
163164

164165
</details>
165166

@@ -168,13 +169,13 @@ Seven Rust crates, one MCP server binary, one CLI binary:
168169

169170
| Tool | Description |
170171
|------|-------------|
171-
| `impact_radius` | BFS reachability analysis — "what depends on X?" |
172-
| `plan_change` | Change planning — find relevant entities, modification order, blast radius |
173-
| `find_paths` | K-shortest dependency paths between two entities |
174-
| `slice_between` | Extract minimal connecting subgraph between entities |
175-
| `analyze_health` | Code health: coupling, instability, god objects, clone detection |
176-
| `detect_cycles` | Find circular dependencies and architectural cycles |
177-
| `reconstruct_plan` | Dependency-safe reconstruction execution plan |
172+
| `impact_radius` | BFS reachability analysis — "what depends on X?" Supports optional per-call `project_root` override |
173+
| `plan_change` | Change planning — find relevant entities, modification order, blast radius. Supports optional per-call `project_root` override |
174+
| `find_paths` | K-shortest dependency paths between two entities. Supports optional per-call `project_root` override |
175+
| `slice_between` | Extract minimal connecting subgraph between entities. Supports optional per-call `project_root` override |
176+
| `analyze_health` | Code health: coupling, instability, god objects, clone detection. Supports optional per-call `project_root` override |
177+
| `detect_cycles` | Find circular dependencies and architectural cycles. Supports optional per-call `project_root` override |
178+
| `reconstruct_plan` | Dependency-safe reconstruction execution plan. Supports optional per-call `project_root` override |
178179

179180
</details>
180181

@@ -183,17 +184,17 @@ Seven Rust crates, one MCP server binary, one CLI binary:
183184

184185
| Tool | Description |
185186
|------|-------------|
186-
| `auto_lift` | One-call autonomous lifting via cheap LLM API (Haiku, GPT-4o-mini, OpenRouter, Gemini) |
187-
| `lifting_status` | Dashboard — coverage, per-area progress, NEXT STEP |
188-
| `get_entities_for_lifting` | Get entity source code for your agent to analyze |
189-
| `submit_lift_results` | Submit the agent's semantic features back to the graph |
190-
| `finalize_lifting` | Aggregate file-level features, rebuild hierarchy metadata |
191-
| `get_files_for_synthesis` | Get file-level entity features for holistic synthesis |
192-
| `submit_file_syntheses` | Submit holistic file-level summaries |
193-
| `build_semantic_hierarchy` | Get domain discovery + hierarchy assignment prompts |
194-
| `submit_hierarchy` | Apply hierarchy assignments to the graph |
195-
| `get_routing_candidates` | Get entities needing semantic routing (drifted or newly lifted) |
196-
| `submit_routing_decisions` | Submit routing decisions (hierarchy path or "keep") |
187+
| `auto_lift` | One-call autonomous lifting via cheap LLM API (Haiku, GPT-4o-mini, OpenRouter, Gemini). Supports optional per-call `project_root` override |
188+
| `lifting_status` | Dashboard — coverage, per-area progress, NEXT STEP. Supports optional per-call `project_root` override |
189+
| `get_entities_for_lifting` | Get entity source code for your agent to analyze. Supports optional per-call `project_root` override |
190+
| `submit_lift_results` | Submit the agent's semantic features back to the graph. Supports optional per-call `project_root` override |
191+
| `finalize_lifting` | Aggregate file-level features, rebuild hierarchy metadata. Supports optional per-call `project_root` override |
192+
| `get_files_for_synthesis` | Get file-level entity features for holistic synthesis. Supports optional per-call `project_root` override |
193+
| `submit_file_syntheses` | Submit holistic file-level summaries. Supports optional per-call `project_root` override |
194+
| `build_semantic_hierarchy` | Get domain discovery + hierarchy assignment prompts. Supports optional per-call `project_root` override |
195+
| `submit_hierarchy` | Apply hierarchy assignments to the graph. Supports optional per-call `project_root` override |
196+
| `get_routing_candidates` | Get entities needing semantic routing (drifted or newly lifted). Supports optional per-call `project_root` override |
197+
| `submit_routing_decisions` | Submit routing decisions (hierarchy path or "keep"). Supports optional per-call `project_root` override |
197198

198199
</details>
199200

0 commit comments

Comments
 (0)