protect-context 2.0.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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,6 +6,8 @@
6
6
  front of it — then makes scope creep, unverified claims, and repeated failures
7
7
  visible *before* they cost you a session.
8
8
 
9
+ <!-- mcp-name: io.github.XJTLUmedia/protect-context -->
10
+
9
11
  <p align="center">
10
12
  <a href="./LICENSE"><img alt="license: MIT" src="https://img.shields.io/badge/license-MIT-green"></a>
11
13
  <a href="https://pi.dev/packages"><img alt="pi-package" src="https://img.shields.io/badge/pi--package-gallery-8a2be2"></a>
@@ -167,8 +169,9 @@ For pi with `pi-mcp-adapter`, add `.mcp.json` at the project root:
167
169
  }
168
170
  ```
169
171
 
170
- The same stdio shape works in any generic MCP host. Set `PC_SESSION_ID` when
171
- several host sessions need distinct evidence and loop views:
172
+ The same stdio shape works in any generic MCP host. No checkout is needed
173
+ either: `uvx protect-context mcp` runs the same server straight from PyPI. Set
174
+ `PC_SESSION_ID` when several host sessions need distinct evidence and loop views:
172
175
 
173
176
  ```json
174
177
  {
@@ -196,6 +199,7 @@ pip install protect-context # or: pipx install protect-context
196
199
  protect-context init # seed .agent-guard/ in the current project
197
200
  protect-context status
198
201
  protect-context verify "pytest -q"
202
+ protect-context mcp # serve the MCP tools on stdio
199
203
  ```
200
204
 
201
205
  The CLI and MCP server are distributed through PyPI; the npm package ships only
@@ -353,6 +357,7 @@ protect-context loops
353
357
  protect-context diff [--baseline REF]
354
358
  protect-context preflight
355
359
  protect-context budget
360
+ protect-context mcp
356
361
  ```
357
362
 
358
363
  ### Configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protect-context",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Pi extension that adds agent guardrails: context brief, verification evidence, loop blocking, diff-scope warnings, and a durable journal.",
5
5
  "type": "module",
6
6
  "license": "MIT",