SmartPolicy MCP
Provides runtime authorization for AI agents and smart contracts by enforcing immutable on-chain policies. The MCP server issues short-lived signed grants (EIP-712) based on a policy registry, allowing agents to query permissions and contracts to verify access without redeploying code.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Query if an AI agent is allowed to perform a specific action under a given policy
- Issue short-lived signed grants for AI systems to consume
- Enforce access rules on smart contracts via on-chain registry checks
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@smartpolicy/mcp 0.2.0
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "@smartpolicy/mcp",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "SMARTPOLICY_REGISTRY",
"format": "string",
"description": "PolicyRegistry contract address (omit for the public Sepolia default)"
},
{
"name": "SMARTPOLICY_VERIFIER",
"format": "string",
"description": "GrantVerifier contract address (omit for the public Sepolia default)"
},
{
"name": "SMARTPOLICY_RPC_URL",
"format": "string",
"description": "EVM RPC endpoint (omit for the public Sepolia default)"
},
{
"name": "SMARTPOLICY_ISSUER_KEY",
"format": "string",
"description": "Optional grant-issuer private key; enables the grant_issue tool"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"smartpolicy-mcp": {
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp@0.2.0"
],
"env": {
"SMARTPOLICY_REGISTRY": "<YOUR_SMARTPOLICY_REGISTRY>",
"SMARTPOLICY_VERIFIER": "<YOUR_SMARTPOLICY_VERIFIER>",
"SMARTPOLICY_RPC_URL": "<YOUR_SMARTPOLICY_RPC_URL>",
"SMARTPOLICY_ISSUER_KEY": "<YOUR_SMARTPOLICY_ISSUER_KEY>"
}
}
}
}Cline
{
"mcpServers": {
"smartpolicy-mcp": {
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp@0.2.0"
],
"env": {
"SMARTPOLICY_REGISTRY": "<YOUR_SMARTPOLICY_REGISTRY>",
"SMARTPOLICY_VERIFIER": "<YOUR_SMARTPOLICY_VERIFIER>",
"SMARTPOLICY_RPC_URL": "<YOUR_SMARTPOLICY_RPC_URL>",
"SMARTPOLICY_ISSUER_KEY": "<YOUR_SMARTPOLICY_ISSUER_KEY>"
}
}
}
}VS Code
{
"servers": {
"smartpolicy-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp@0.2.0"
],
"env": {
"SMARTPOLICY_REGISTRY": "<YOUR_SMARTPOLICY_REGISTRY>",
"SMARTPOLICY_VERIFIER": "<YOUR_SMARTPOLICY_VERIFIER>",
"SMARTPOLICY_RPC_URL": "<YOUR_SMARTPOLICY_RPC_URL>",
"SMARTPOLICY_ISSUER_KEY": "<YOUR_SMARTPOLICY_ISSUER_KEY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"smartpolicy-mcp": {
"command": "npx",
"args": [
"-y",
"@smartpolicy/mcp@0.2.0"
],
"env": {
"SMARTPOLICY_REGISTRY": "<YOUR_SMARTPOLICY_REGISTRY>",
"SMARTPOLICY_VERIFIER": "<YOUR_SMARTPOLICY_VERIFIER>",
"SMARTPOLICY_RPC_URL": "<YOUR_SMARTPOLICY_RPC_URL>",
"SMARTPOLICY_ISSUER_KEY": "<YOUR_SMARTPOLICY_ISSUER_KEY>"
}
}
}
}Let your agent find its tools
Find servers like SmartPolicy MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.