NestDaddy

Smartpolicy

io.github.smartpolicy-protocol/smartpolicy ยท v0.2.0

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

Connect Runs on your machine

Terminal
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/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "smartpolicy": {
      "command": "npx",
      "args": [
        "-y",
        "@smartpolicy/[email protected]"
      ],
      "env": {
        "SMARTPOLICY_REGISTRY": "<SMARTPOLICY_REGISTRY>",
        "SMARTPOLICY_VERIFIER": "<SMARTPOLICY_VERIFIER>",
        "SMARTPOLICY_RPC_URL": "<SMARTPOLICY_RPC_URL>",
        "SMARTPOLICY_ISSUER_KEY": "<SMARTPOLICY_ISSUER_KEY>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "smartpolicy": {
      "command": "npx",
      "args": [
        "-y",
        "@smartpolicy/[email protected]"
      ],
      "env": {
        "SMARTPOLICY_REGISTRY": "<SMARTPOLICY_REGISTRY>",
        "SMARTPOLICY_VERIFIER": "<SMARTPOLICY_VERIFIER>",
        "SMARTPOLICY_RPC_URL": "<SMARTPOLICY_RPC_URL>",
        "SMARTPOLICY_ISSUER_KEY": "<SMARTPOLICY_ISSUER_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "smartpolicy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@smartpolicy/[email protected]"
      ],
      "env": {
        "SMARTPOLICY_REGISTRY": "<SMARTPOLICY_REGISTRY>",
        "SMARTPOLICY_VERIFIER": "<SMARTPOLICY_VERIFIER>",
        "SMARTPOLICY_RPC_URL": "<SMARTPOLICY_RPC_URL>",
        "SMARTPOLICY_ISSUER_KEY": "<SMARTPOLICY_ISSUER_KEY>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
SMARTPOLICY_REGISTRY
Optional
PolicyRegistry contract address (omit for the public Sepolia default)
SMARTPOLICY_VERIFIER
Optional
GrantVerifier contract address (omit for the public Sepolia default)
SMARTPOLICY_RPC_URL
Optional
EVM RPC endpoint (omit for the public Sepolia default)
SMARTPOLICY_ISSUER_KEY
Optional, secret
Optional grant-issuer private key; enables the grant_issue tool

Details

Package@smartpolicy/[email protected] (NPM, stdio)
First published6 Jul 2026
Last updated6 Jul 2026
Registry nameio.github.smartpolicy-protocol/smartpolicy

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.