{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.XJTLUmedia/protect-context",
  "slug": "io.github.xjtlumedia.protect-context",
  "title": "protect-context",
  "summary": "Agent guardrails: contract, evidence ledger, loop brake, diff-scope warnings, durable journal.",
  "version": "3.3.1",
  "serverKey": "protect-context",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.xjtlumedia.protect-context",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.xjtlumedia.protect-context/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T18:08:37.218894184Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "protect-context==3.3.1",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add protect-context -- uvx protect-context==3.3.1 mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"protect-context\": {\n      \"args\": [\n        \"protect-context==3.3.1\",\n        \"mcp\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"protect-context\": {\n      \"args\": [\n        \"protect-context==3.3.1\",\n        \"mcp\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"protect-context\": {\n      \"args\": [\n        \"protect-context==3.3.1\",\n        \"mcp\"\n      ],\n      \"command\": \"uvx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.protect-context]\ncommand = \"uvx\"\nargs = [\"protect-context==3.3.1\", \"mcp\"]"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "PC_SESSION_ID",
      "required": false,
      "secret": false,
      "description": "Session name for evidence and loop views when several host sessions share one repo. Leave unset to use the default session.",
      "help": "Session name for evidence and loop views when several host sessions share one repo. Leave unset to use the default session.",
      "placeholder": "<PC_SESSION_ID>"
    }
  ],
  "expectedTools": [
    "guard_status",
    "guard_verify",
    "guard_evidence",
    "guard_contract",
    "guard_note",
    "guard_journal",
    "guard_intent",
    "guard_recall",
    "guard_loop_check",
    "guard_diff_audit",
    "guard_preflight",
    "guard_budget",
    "guard_orientation"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: guard_status, guard_verify, guard_evidence, guard_contract, guard_note, guard_journal, guard_intent, guard_recall, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T18:08:37.218894184Z"
}
