Skip to content
Claude Code

smartpolicy for Claude Code

io.github.smartpolicy-protocol/smartpolicy

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

client:Claude Code transport:stdio runtime:npm

Install smartpolicy in Claude Code

run in your project directory

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

claude mcp add smartpolicy -e SMARTPOLICY_REGISTRY=<SMARTPOLICY_REGISTRY> -e SMARTPOLICY_VERIFIER=<SMARTPOLICY_VERIFIER> -e SMARTPOLICY_RPC_URL=<SMARTPOLICY_RPC_URL> -e SMARTPOLICY_ISSUER_KEY=<SMARTPOLICY_ISSUER_KEY> -- npx -y @smartpolicy/mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

smartpolicy in other clients