MCP Server
MCP
io.github.smartpolicy-protocol/smartpolicy
Runtime authorization for AI agents and smart contracts via an immutable on-chain policy registry
Install
npx -y @smartpolicy/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@smartpolicy/mcp",
"version": "0.2.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "PolicyRegistry contract address (omit for the public Sepolia default)",
"format": "string",
"name": "SMARTPOLICY_REGISTRY"
},
{
"description": "GrantVerifier contract address (omit for the public Sepolia default)",
"format": "string",
"name": "SMARTPOLICY_VERIFIER"
},
{
"description": "EVM RPC endpoint (omit for the public Sepolia default)",
"format": "string",
"name": "SMARTPOLICY_RPC_URL"
},
{
"description": "Optional grant-issuer private key; enables the grant_issue tool",
"format": "string",
"isSecret": true,
"name": "SMARTPOLICY_ISSUER_KEY"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment