← Back to Plugins
MCP Server MCP

io.github.smartpolicy-protocol/smartpolicy

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

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

Comments

Sign in to leave a comment

Loading comments...