|
33 | 33 |
|
34 | 34 | AI coding agents are **blind to architecture**. They grep, they guess, they break things. |
35 | 35 |
|
36 | | -Recon fixes this by indexing your codebase into a **knowledge graph** — functions, classes, call chains, imports, communities — and exposing it through **12 MCP tools**, **3 prompts**, and **5 resources** that any AI agent can query. |
| 36 | +Recon fixes this by indexing your codebase into a **knowledge graph** — functions, classes, call chains, imports, communities — and exposing it through **14 MCP tools**, **3 prompts**, and **5 resources** that any AI agent can query. |
37 | 37 |
|
38 | 38 | > 💡 **One command, full awareness.** Your agent gets dependency mapping, blast radius analysis, safe renames, execution flow tracing, Cypher queries, and hybrid semantic search — without reading every file. |
39 | 39 |
|
@@ -330,6 +330,14 @@ recon serve --no-index # Skip auto-indexing and file watcher |
330 | 330 | recon serve --no-watch # Auto-index but disable file watcher |
331 | 331 | recon serve --repo my-backend # Serve specific repo only |
332 | 332 |
|
| 333 | +recon export # Export graph as Mermaid flowchart |
| 334 | +recon export --format dot # Export as Graphviz DOT |
| 335 | +recon export --symbol handleQuery # Ego graph around a symbol |
| 336 | + |
| 337 | +recon review # PR review — blast radius + risk |
| 338 | +recon review --scope branch # Review branch diff vs main |
| 339 | +recon review --scope staged # Review staged changes only |
| 340 | + |
333 | 341 | recon status # Show index stats |
334 | 342 | recon status --repo my-backend # Status for specific repo |
335 | 343 | recon clean # Delete index |
@@ -381,7 +389,7 @@ With a config file, your MCP setup stays minimal: |
381 | 389 |
|
382 | 390 | ## Tool Reference |
383 | 391 |
|
384 | | -All 12 tools accept an optional `repo` parameter for multi-repo filtering. |
| 392 | +All 14 tools accept an optional `repo` parameter for multi-repo filtering. |
385 | 393 |
|
386 | 394 | ### recon_packages |
387 | 395 |
|
@@ -483,6 +491,24 @@ Get the live status of the file watcher — active state, watched directories, u |
483 | 491 | recon_watcher_status() |
484 | 492 | ``` |
485 | 493 |
|
| 494 | +### recon_export |
| 495 | + |
| 496 | +Export the knowledge graph as a Mermaid flowchart or Graphviz DOT diagram. Filterable by package, symbol, node type, and edge type. |
| 497 | + |
| 498 | +``` |
| 499 | +recon_export(format?: "mermaid" | "dot", package?: string, symbol?: string, depth?: number, type?: string, edges?: string, limit?: number) |
| 500 | +``` |
| 501 | + |
| 502 | +### recon_pr_review |
| 503 | + |
| 504 | +Graph-aware PR review — analyzes code changes using the dependency graph to assess blast radius, risk, affected execution flows, and review priorities. |
| 505 | + |
| 506 | +``` |
| 507 | +recon_pr_review(scope?: "staged" | "unstaged" | "branch" | "all", base?: string, include_diagram?: boolean) |
| 508 | +``` |
| 509 | + |
| 510 | +**Risk levels:** `LOW` · `MEDIUM` · `HIGH` · `CRITICAL` — scored by direct callers, confidence tiers, and cross-community impact. |
| 511 | + |
486 | 512 | --- |
487 | 513 |
|
488 | 514 | ## MCP Resources |
|
0 commit comments