@codeatlas/mcp 1.2.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # @codeatlas/mcp
2
2
 
3
- > **Live codebase architecture for any MCP-compatible LLM client.**
4
- > 25 tools + 5 resources expose routes, sequences, dependency graphs, diffs, impact analysis, architecture violations, and full SQL access over your workspace — so the model gets structured answers instead of grepping through files.
3
+ > **Live codebase architecture and AI code review for any MCP-compatible LLM client.**
4
+ > 39 tools + 8 resources expose routes, sequences, dependency graphs, diffs, impact analysis, architecture violations, full SQL access, and AI-driven review findings over your workspace — so the model gets structured answers instead of grepping through files.
5
5
 
6
6
  Works with **Claude Code, Cursor, VS Code Copilot, Codex CLI, Gemini CLI, Antigravity, Continue** — anything that speaks the Model Context Protocol.
7
7
 
8
+ **New in v2** — AI code review tools. Run a review with `run_review`, list findings with `list_ai_findings`, ask "what's wrong with auth?" with `search_ai_findings`, then ask for a one-shot context bundle to fix the issue with `review_and_fix_pack`. Findings are grounded in source quotes the model has to copy verbatim — no invented issues.
9
+
8
10
  ---
9
11
 
10
12
  ## Why it matters: token economics
@@ -79,7 +81,7 @@ After registering, reload your client and the 25 tools appear alongside its buil
79
81
 
80
82
  ## What it exposes
81
83
 
82
- ### 25 tools
84
+ ### 39 tools
83
85
 
84
86
  **Context packs** — minimum-token retrieval primitives
85
87
  `list_entrypoints` · `list_entrypoints_paged` · `get_entrypoint_pack` · `get_feature_pack` · `pre_edit_brief` · `get_function_source` · `trace_call_path`
@@ -99,7 +101,10 @@ After registering, reload your client and the 25 tools appear alongside its buil
99
101
  **Interop**
100
102
  `export_openapi_spec` · `export_function_calling_spec` · `summarise_payload`
101
103
 
102
- ### 5 resources
104
+ **AI code review** — query, score, and act on findings (new in v2)
105
+ `list_ai_findings` · `get_ai_finding` · `get_ai_finding_counts` · `update_ai_finding_status` · `get_review_guidelines` · `set_review_guidelines` · `search_ai_findings` · `summarise_findings` · `list_findings_by_guideline` · `get_review_summary` · `clear_findings` · `review_and_fix_pack` · `score_findings` · `propose_guideline_from_finding` · `review_diff_with_baseline`
106
+
107
+ ### 8 resources
103
108
 
104
109
  | URI | Contents |
105
110
  |-----|----------|
@@ -108,6 +113,13 @@ After registering, reload your client and the 25 tools appear alongside its buil
108
113
  | `codeatlas://workspace/features` | Feature clusters — label, file membership, cohesion, API count |
109
114
  | `codeatlas://workspace/entrypoints` | Every entry point flattened across all categories |
110
115
  | `codeatlas://workspace/diff-summary` | Baseline-vs-working summary across all 6 diagram layers |
116
+ | `codeatlas://workspace/ai-findings` | All AI-review findings — severity, layer bindings, source quotes |
117
+ | `codeatlas://workspace/review-guidelines` | Team review rules currently injected into every review prompt |
118
+ | `codeatlas://workspace/review-summary` | Counts by layer + severity, top findings, last review metadata |
119
+
120
+ ### Push notifications
121
+
122
+ Stdio clients that subscribe get `notifications/codeatlas/findings_changed` when findings are added, updated, or removed — no polling needed.
111
123
 
112
124
  ---
113
125
 
@@ -137,6 +149,12 @@ A tab opens at `http://localhost:7742` showing six linked diagram layers: system
137
149
 
138
150
  Set `CODEATLAS_EDITOR=<cmd>` to pick the editor (defaults to `$EDITOR`, then `code`, `cursor`, `subl`, `nvim`, `vim`).
139
151
 
152
+ ### Run an AI Review from the browser
153
+
154
+ The home page has a **Start review** card that fans the review out across every entry point. **Changed only** restricts it to entry points whose code differs from baseline. **Specific review** opens a textarea so you can tell the AI exactly what to focus on. **Cancel** stops the in-flight LLM call immediately; **Clear** wipes findings and resets state.
155
+
156
+ Each finding is tagged with the commit SHA it was reviewed against (or a content-hash for non-git workspaces). Re-running with the same code + guidelines surfaces a **"Nothing changed since last review"** badge instead of burning another LLM call.
157
+
140
158
  ### Connect an LLM
141
159
 
142
160
  AI Review and natural-language search use any OpenAI-compatible provider. Pick one: