Agent guardrails: contract, evidence ledger, loop brake, diff-scope warnings, durable journal.
Connect Runs on your machine
claude mcp add protect-context -e PC_SESSION_ID=<PC_SESSION_ID> -- uvx protect-context==3.3.1
{
"mcpServers": {
"protect-context": {
"command": "uvx",
"args": [
"protect-context==3.3.1"
],
"env": {
"PC_SESSION_ID": "<PC_SESSION_ID>"
}
}
}
}
{
"mcpServers": {
"protect-context": {
"command": "uvx",
"args": [
"protect-context==3.3.1"
],
"env": {
"PC_SESSION_ID": "<PC_SESSION_ID>"
}
}
}
}
{
"servers": {
"protect-context": {
"type": "stdio",
"command": "uvx",
"args": [
"protect-context==3.3.1"
],
"env": {
"PC_SESSION_ID": "<PC_SESSION_ID>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
PC_SESSION_IDOptional | Session name for evidence and loop views when several host sessions share one repo. Leave unset to use the default session. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 10 Nov 2026 |
| Last updated | 10 Nov 2026 |
| Registry name | io.github.XJTLUmedia/protect-context |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
