idprova-mcp
Drop-in identity verification for MCP (Model Context Protocol) servers.
Add cryptographic agent identity to any MCP server in 3 lines:
use McpAuth;
let auth = offline;
let agent = auth.verify_request?;
Features
- McpAuth — online (registry lookup) and offline (air-gapped) verification
- Scope matching — hierarchical
mcp:tool:filesystem:readwith wildcard support - Receipt logging — BLAKE3 hash-chained audit trail for tool calls and denials
- VerifiedAgent — agent identity, scope, trust level, delegator info
Examples
filesystem_mcp— read succeeds, write blocked by scope, receipt chain shownmulti_agent— 4-agent delegation chain with progressive scope narrowing
Installation
[]
= "0.1"
License
Apache-2.0 — see LICENSE for details.
Part of the IDProva protocol.