Skip to main content Switch to mobile version vouch-mcp 3.1.0 Model Context Protocol server that issues and verifies Vouch Credentials to authorize AI agent tool calls.
pip install vouch-mcp==3.1.0 Copy PIP instructions
A Model Context Protocol (MCP) server that lets AI agents issue and verify Vouch Credentials, so every action an agent takes carries cryptographic proof of who authorized it.
MCP standardized how agents call tools. It does not say who is calling, or on whose authority. vouch-mcp adds that layer: every authorized action carries a W3C Verifiable Credential with an eddsa-jcs-2022 Data Integrity proof (or the post-quantum hybrid profile), and any party can verify one over the same MCP connection.
The key stays out of the model. MCP already runs this server in its own process, so the agent's private key lives here, never in the LLM's context. A prompt-injected model cannot exfiltrate a key it never holds.
When to use this vs vouch.autosign
Vouch gives you two front doors onto one signing primitive:
vouch.autosign (in-process, Python): wrap a tool with protect([...]) and every call is signed deterministically, before the tool runs, with no LLM cooperation. Best when your agent is Python and you want zero-effort, can't-forget signing.
vouch-mcp (this package): the out-of-process, cross-language path. Any MCP client in any language calls sign / verify over the wire, and the key is isolated in the server process. Best for non-Python agents, key isolation, or exposing verification as a shared service.
Both call the same sign_intent core, so credentials are identical either way.
pip install vouch-mcp # or: uvx vouch-mcp This pulls in vouch-protocol[mcp], including the official MCP SDK. For the post-quantum profile, install pip install 'vouch-protocol[mcp,pq]'.
from vouch import generate_identity kp = generate_identity("agent.example.com") print(kp.did) # did:web:agent.example.com print(kp.private_key_jwk) # set as VOUCH_PRIVATE_KEY The server only signs what its rules allow. Point VOUCH_RULES at a Shield rules file that lists this agent's DID and the actions it may take:
{ "version": 2, "rules": [ { "did": "did:web:agent.example.com", "allow": [{"action": "read", "target": "https://api.example.com", "resource": "customer:*"}] } ], "deny_default": true } Without a rules file, sign refuses every intent with a structured refusal.
To check credentials from other issuers (check_revocation, and a credential with a delegation chain in verify), name the issuers you trust in VOUCH_TRUSTED_ISSUERS (comma separated) or the chain starting points in VOUCH_TRUSTED_ROOTS.
Local (stdio) for Claude Desktop, Cursor, and desktop agents:
VOUCH_RULES=rules.json VOUCH_PRIVATE_KEY='...' VOUCH_DID='did:web:agent.example.com' vouch-mcp Remote (Streamable HTTP) for hosted / networked deployments:
VOUCH_MCP_TRANSPORT=http VOUCH_MCP_HOST=0.0.0.0 VOUCH_MCP_PORT=8080 VOUCH_RULES=rules.json \ VOUCH_PRIVATE_KEY='...' VOUCH_DID='did:web:agent.example.com' vouch-mcp // Claude Desktop / Cursor MCP config { "mcpServers": { "vouch": { "command": "vouch-mcp", "env": { "VOUCH_DID": "did:web:agent.example.com", "VOUCH_PRIVATE_KEY": "
Signing proves you acted. Verifying is how everyone else benefits: any MCP-capable agent, in any framework, can confirm another agent's credential with a single tool call and no SDK. That is what turns Vouch Protocol from a per-app library into an interoperable trust layer.
Verifying without a key
verify checks the cryptographic signature, so a credential that only looks well-formed will not pass. When you do not pass a key, it resolves the issuer's key from the credential's DID: did:key is self-certifying and resolves offline, while did:web is fetched over HTTPS from the issuer's own domain. If the key cannot be resolved, the credential is rejected. To verify fully offline, pass the issuer's key as public_key.
This package ships a server.json manifest for the MCP registry, so it can be discovered and installed like any other MCP server.
This server is listed in the Model Context Protocol registry.
mcp-name: io.github.vouch-protocol/vouch-mcp
Released: Nov 30, 2026
Author: Ramprasad Gaddam
Both files in this release have provenance metadata.
View provenance details
Apache Software License (Apache-2.0)
mcp vouch ai-agents verifiable-credentials identity eddsa-jcs-2022
Development Status 4 - Beta
License OSI Approved :: Apache Software License
Programming Language Python :: 3
Topic Security :: Cryptography
Release files for vouch-mcp 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 18.0 kB
Release files / vouch_mcp-3.1.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Release files / vouch_mcp-3.1.0-py3-none-any.whl
Security for vouch-mcp 3.1.0
Both files in this release have been uploaded with provenance metadata.
With provenance vouch_mcp-3.1.0.tar.gz Nov 30, 2026
With provenance vouch_mcp-3.1.0-py3-none-any.whl Nov 30, 2026
Attestation for vouch_mcp-3.1.0.tar.gz
Attestation for vouch_mcp-3.1.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 30, 2026 2 release files Full provenance
Nov 10, 2026 2 release files Full provenance
Sep 8, 2026 2 release files Full provenance
Jul 5, 2026 2 release files No provenance
Jun 14, 2026 1 release file No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from a8e35ed











