{"name":"io.github.smartpolicy-protocol/smartpolicy","slug":"smartpolicy-protocol-smartpolicy","title":null,"description":"Runtime authorization for AI agents and smart contracts via an immutable on-chain policy registry","url":"https://mcp.market/server/smartpolicy-protocol-smartpolicy","rating":null,"grade":"B","score":77,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":21,"stars":0,"forks":0,"downloads_week":38,"last_push_at":"2026-07-11T22:00:43.000Z","license":"Apache-2.0"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/smartpolicy-protocol/smartpolicy","website":"https://smartpolicy.io","version":"0.2.0","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"}]}],"tools":[{"name":"grant_issue","description":"Issue a short-lived single-use EIP-712 grant authorizing `subject` to perform `action` under","write_action":false,"price_micros":0,"input_schema":null},{"name":"grant_issuer_info","description":"This server's grant-issuer address (authorize it on a policy via addIssuer) and limits.","write_action":false,"price_micros":0,"input_schema":null},{"name":"grant_verify","description":"Pre-flight a grant before broadcasting: checks the on-chain GrantVerifier for validity (signature,","write_action":false,"price_micros":0,"input_schema":null},{"name":"policy_check","description":"THE canonical SmartPolicy question: may `subject` perform `action` under policy `policyId`?","write_action":false,"price_micros":0,"input_schema":null},{"name":"policy_create","description":"Build the unsigned transaction that creates a new policy. Returns {to, value, data} for YOUR","write_action":true,"price_micros":0,"input_schema":null},{"name":"policy_fees","description":"Current protocol fees in wei (read live). createPolicy needs exactly creationFee as msg.value;","write_action":false,"price_micros":0,"input_schema":null},{"name":"policy_get","description":"Read a policy: owner, expiry, active/locked state, membership mode, member count, metadata URI. Free.","write_action":false,"price_micros":0,"input_schema":null},{"name":"policy_update","description":"Build the unsigned transaction for a policy rule change (submit from the owner or an admin","write_action":true,"price_micros":0,"input_schema":null}],"scan":{"score":77,"grade":"B","scanned_at":"2026-09-26T11:35:38.783Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-26T11:35:38.860Z","components":{"code":{"score":25,"max":25,"notes":["21 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":12,"max":15,"notes":["last push 77 days ago"]},"identity":{"score":7,"max":10,"notes":["registry namespace matches repository owner"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@smartpolicy/mcp","version":"0.2.0","found":true,"license":"Apache-2.0","hasInstallScripts":false,"dependencyCount":3,"publishedAt":"2026-07-06T13:19:21.599Z","repositoryUrl":"git+https://github.com/smartpolicy-protocol/smartpolicy.git","weeklyDownloads":38}],"repo":{"found":true,"owner":"smartpolicy-protocol","repo":"smartpolicy","archived":false,"pushedAt":"2026-07-11T22:00:43Z","stars":0,"forks":0,"openIssues":0,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/300211328?v=4","ownerCreatedAt":"2026-07-05T19:01:29Z","license":"Apache-2.0"},"icon":{"url":null,"source":"none"},"presence":{"stars":0,"forks":0,"downloadsWeek":38,"license":"Apache-2.0","lastPushAt":"2026-07-11T22:00:43.000Z","score":21}}}},"grade_history":[],"reviews":[]}