{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.withwrit/writ",
  "slug": "io.github.avenuedadmin.writ",
  "title": "writ",
  "summary": "Policy checks for AI agent writes (ALLOW/DENY/STEP_UP) with a tamper-evident audit log.",
  "version": "0.2.8",
  "serverKey": "writ",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.avenuedadmin.writ",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.avenuedadmin.writ/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T17:58:21.043271768Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "writ-mcp==0.2.8"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add writ -e 'WRIT_API_KEY=<WRIT_API_KEY>' -- uvx writ-mcp==0.2.8"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"writ\": {\n      \"args\": [\n        \"writ-mcp==0.2.8\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"WRIT_API_KEY\": \"<WRIT_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"writ\": {\n      \"args\": [\n        \"writ-mcp==0.2.8\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"WRIT_API_KEY\": \"<WRIT_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"WRIT_API_KEY\",\n      \"id\": \"writ-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"writ\": {\n      \"args\": [\n        \"writ-mcp==0.2.8\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"WRIT_API_KEY\": \"${input:writ-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.writ]\ncommand = \"uvx\"\nargs = [\"writ-mcp==0.2.8\"]\nenv = { \"WRIT_API_KEY\" = \"<WRIT_API_KEY>\" }"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "WRIT_API_KEY",
      "required": true,
      "secret": true,
      "description": "Writ API key (get one free at https://withwrit.com)",
      "help": "Writ API key (get one free at https://withwrit.com)",
      "placeholder": "<WRIT_API_KEY>"
    },
    {
      "name": "WRIT_SPONSOR_TOKEN",
      "required": false,
      "secret": true,
      "description": "Writ sponsor token, only required for sponsor tools (grant, revoke, reinstate)",
      "help": "Writ sponsor token, only required for sponsor tools (grant, revoke, reinstate)",
      "placeholder": "<WRIT_SPONSOR_TOKEN>"
    },
    {
      "name": "WRIT_BASE_URL",
      "required": false,
      "secret": false,
      "description": "Optional custom Writ API base URL (default: https://api.withwrit.com)",
      "help": "Optional custom Writ API base URL (default: https://api.withwrit.com)",
      "placeholder": "<WRIT_BASE_URL>"
    }
  ],
  "expectedTools": [
    "writ_check",
    "writ_verify_token",
    "writ_lease",
    "writ_execute",
    "writ_grant",
    "writ_revoke",
    "writ_reinstate",
    "writ_receipts",
    "writ_verify_receipts",
    "writ_policy",
    "writ_policies",
    "writ_policy_env",
    "writ_policy_principal",
    "writ_me",
    "writ_sandbox",
    "writ_github_installations",
    "writ_github_set_threshold",
    "writ_github_toggle_pr_comments",
    "writ_manifests",
    "writ_scan",
    "writ_explain_receipt",
    "writ_tenant_notify",
    "writ_principals",
    "writ_verbs",
    "writ_keys",
    "writ_badge_token",
    "writ_badge_revoke",
    "writ_tenant_invite",
    "writ_join_tenant"
  ],
  "agentSteps": [
    "Ask the user for: WRIT_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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: writ_check, writ_verify_token, writ_lease, writ_execute, writ_grant, writ_revoke, writ_reinstate, writ_receipts, ….",
    "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-01T17:58:21.043271768Z"
}
