Skip to content
Zed

protect-context for Zed

io.github.xjtlumedia/protect-context

Agent guardrails: contract, evidence ledger, loop brake, diff-scope warnings, durable journal.

client:Zed transport:stdio runtime:pypi

Install protect-context in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "protect-context": {
      "command": "uvx",
      "args": [
        "protect-context"
      ],
      "env": {
        "PC_SESSION_ID": "<PC_SESSION_ID>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

protect-context in other clients