Skip to content
Grok

smartpolicy for Grok

io.github.smartpolicy-protocol/smartpolicy

Runtime authorization for AI agents and smart contracts via an immutable on-chain policy registry

client:Grok transport:stdio runtime:npm

Install smartpolicy in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "smartpolicy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@smartpolicy/mcp"
      ],
      "env": {
        "SMARTPOLICY_REGISTRY": "<SMARTPOLICY_REGISTRY>",
        "SMARTPOLICY_VERIFIER": "<SMARTPOLICY_VERIFIER>",
        "SMARTPOLICY_RPC_URL": "<SMARTPOLICY_RPC_URL>",
        "SMARTPOLICY_ISSUER_KEY": "<SMARTPOLICY_ISSUER_KEY>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

smartpolicy in other clients