{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.smartpolicy-protocol/smartpolicy",
  "slug": "io.github.smartpolicy-protocol.smartpolicy",
  "title": "smartpolicy",
  "summary": "Runtime authorization for AI agents and smart contracts via an immutable on-chain policy registry",
  "version": "0.2.0",
  "serverKey": "smartpolicy",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.smartpolicy-protocol.smartpolicy",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.smartpolicy-protocol.smartpolicy/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T01:37:05.542155035Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@smartpolicy/mcp@0.2.0",
        "smartpolicy-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add smartpolicy -- npx -y --package=@smartpolicy/mcp@0.2.0 smartpolicy-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"smartpolicy\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@smartpolicy/mcp@0.2.0\",\n        \"smartpolicy-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"smartpolicy\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@smartpolicy/mcp@0.2.0\",\n        \"smartpolicy-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"smartpolicy\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@smartpolicy/mcp@0.2.0\",\n        \"smartpolicy-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.smartpolicy]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@smartpolicy/mcp@0.2.0\", \"smartpolicy-mcp\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "SMARTPOLICY_REGISTRY",
      "required": false,
      "secret": false,
      "description": "PolicyRegistry contract address (omit for the public Sepolia default)",
      "help": "PolicyRegistry contract address (omit for the public Sepolia default)",
      "placeholder": "<SMARTPOLICY_REGISTRY>"
    },
    {
      "name": "SMARTPOLICY_VERIFIER",
      "required": false,
      "secret": false,
      "description": "GrantVerifier contract address (omit for the public Sepolia default)",
      "help": "GrantVerifier contract address (omit for the public Sepolia default)",
      "placeholder": "<SMARTPOLICY_VERIFIER>"
    },
    {
      "name": "SMARTPOLICY_RPC_URL",
      "required": false,
      "secret": false,
      "description": "EVM RPC endpoint (omit for the public Sepolia default)",
      "help": "EVM RPC endpoint (omit for the public Sepolia default)",
      "placeholder": "<SMARTPOLICY_RPC_URL>"
    },
    {
      "name": "SMARTPOLICY_ISSUER_KEY",
      "required": false,
      "secret": true,
      "description": "Optional grant-issuer private key; enables the grant_issue tool",
      "help": "Optional grant-issuer private key; enables the grant_issue tool",
      "placeholder": "<SMARTPOLICY_ISSUER_KEY>"
    }
  ],
  "expectedTools": [
    "policy_check",
    "policy_get",
    "grant_issue",
    "grant_issuer_info",
    "policy_fees",
    "grant_verify",
    "policy_create",
    "policy_update"
  ],
  "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: policy_check, policy_get, grant_issue, grant_issuer_info, policy_fees, grant_verify, policy_create, policy_update.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T01:37:05.542155035Z"
}
