Runtime authorization for AI agents and smart contracts via an immutable on-chain policy registry
Connect Runs on your machine
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]
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
SMARTPOLICY_REGISTRYOptional | PolicyRegistry contract address (omit for the public Sepolia default) |
SMARTPOLICY_VERIFIEROptional | GrantVerifier contract address (omit for the public Sepolia default) |
SMARTPOLICY_RPC_URLOptional | EVM RPC endpoint (omit for the public Sepolia default) |
SMARTPOLICY_ISSUER_KEYOptional, secret | Optional grant-issuer private key; enables the grant_issue tool |
Details
| Package | @smartpolicy/[email protected] (NPM, stdio) |
| First published | 6 Jul 2026 |
| Last updated | 6 Jul 2026 |
| Registry name | io.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.
