repopilot 0.13.0 → 0.14.0

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.
Files changed (2) hide show
  1. package/README.md +18 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -92,6 +92,23 @@ repopilot scan . --format json --output repopilot-report.json --receipt .repopil
92
92
  repopilot scan . --format sarif --output repopilot.sarif
93
93
  ```
94
94
 
95
+ ## Use with AI agents (MCP)
96
+
97
+ RepoPilot ships a local [Model Context Protocol](https://modelcontextprotocol.io) server so AI coding agents (Claude Code, Cursor, …) can call it as a tool — auditing what the agent just changed, without anything leaving your machine.
98
+
99
+ ```bash
100
+ claude mcp add repopilot -- repopilot mcp
101
+ ```
102
+
103
+ The server runs locally over stdio (JSON-RPC, no network, no AI calls) and exposes four tools:
104
+
105
+ - `repopilot_review_change` — audit the current Git changes: in-diff vs out-of-diff findings plus blast radius.
106
+ - `repopilot_scan` — full repository audit as a JSON report.
107
+ - `repopilot_context` — a budgeted, AI-ready Markdown brief of the repo.
108
+ - `repopilot_explain_file` — how a single file is classified and which rules apply.
109
+
110
+ More: [docs/mcp.md](docs/mcp.md).
111
+
95
112
  ## What It Checks
96
113
 
97
114
  | Area | Examples |
@@ -121,7 +138,7 @@ More: [docs/trust-mode.md](docs/trust-mode.md).
121
138
  ## Core Commands
122
139
 
123
140
  ```text
124
- scan | review | baseline | compare | doctor | inspect | ai | init | cache
141
+ scan | review | baseline | compare | doctor | inspect | ai | init | cache | mcp
125
142
  ```
126
143
 
127
144
  Common workflows:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repopilot",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Local-first CLI for repository audit, architecture risk detection, baseline tracking, and CI-friendly code review.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "repository": {
@@ -26,11 +26,11 @@
26
26
  "LICENSE"
27
27
  ],
28
28
  "optionalDependencies": {
29
- "@repopilot/darwin-arm64": "0.13.0",
30
- "@repopilot/darwin-x64": "0.13.0",
31
- "@repopilot/linux-arm64-gnu": "0.13.0",
32
- "@repopilot/linux-x64-gnu": "0.13.0",
33
- "@repopilot/win32-x64-msvc": "0.13.0"
29
+ "@repopilot/darwin-arm64": "0.14.0",
30
+ "@repopilot/darwin-x64": "0.14.0",
31
+ "@repopilot/linux-arm64-gnu": "0.14.0",
32
+ "@repopilot/linux-x64-gnu": "0.14.0",
33
+ "@repopilot/win32-x64-msvc": "0.14.0"
34
34
  },
35
35
  "keywords": [
36
36
  "cli",