Smartpolicy MCP Server
by smartpolicy-protocolio.github.smartpolicy-protocol/smartpolicyv0.2.0
Runtime authorization for AI agents and smart contracts via an immutable on-chain policy registry
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Smartpolicy MCP server
Install in Claude Code
claude mcp add smartpolicy -e SMARTPOLICY_ISSUER_KEY='<smartpolicy-issuer-key>' -- npx -y @smartpolicy/mcpInstall in Cursor
{
"mcpServers": {
"smartpolicy": {
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp"
],
"env": {
"SMARTPOLICY_ISSUER_KEY": "<smartpolicy-issuer-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"smartpolicy": {
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp"
],
"env": {
"SMARTPOLICY_ISSUER_KEY": "<smartpolicy-issuer-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"smartpolicy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp"
],
"env": {
"SMARTPOLICY_ISSUER_KEY": "<smartpolicy-issuer-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"smartpolicy": {
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp"
],
"env": {
"SMARTPOLICY_ISSUER_KEY": "<smartpolicy-issuer-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SMARTPOLICY_REGISTRY | — | — | PolicyRegistry contract address (omit for the public Sepolia default) |
| SMARTPOLICY_VERIFIER | — | — | GrantVerifier contract address (omit for the public Sepolia default) |
| SMARTPOLICY_RPC_URL | — | — | EVM RPC endpoint (omit for the public Sepolia default) |
| SMARTPOLICY_ISSUER_KEY | — | yes | Optional grant-issuer private key; enables the grant_issue tool |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-11 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-06 · 3mo ago · official registry · v0.2.0
FAQ
›How do I install the Smartpolicy MCP server in Claude Code?
Run: claude mcp add smartpolicy -e SMARTPOLICY_ISSUER_KEY='<smartpolicy-issuer-key>' -- npx -y @smartpolicy/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Smartpolicy require an API key?
Yes. It expects SMARTPOLICY_ISSUER_KEY, of which 1 is a secret.
›Can I use Smartpolicy as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Smartpolicy in the official MCP registry?
Yes, as io.github.smartpolicy-protocol/smartpolicy.