vouch-mcp
v3.3.0Sign and verify W3C Verifiable Credentials so AI agents can cryptographically authorize actions.
Values you need
| Variable | What it is | |
|---|---|---|
VOUCH_PRIVATE_KEY | required secret | The agent's signing key as a JWK JSON string, held only in this server process. |
VOUCH_DID | required | The agent's DID, e.g. did:web:agent.example.com |
VOUCH_MCP_TRANSPORT | optional | Transport to serve: 'stdio' (default), 'http' (Streamable HTTP), or 'sse'. |
VOUCH_MCP_HOST | optional | Bind host when VOUCH_MCP_TRANSPORT=http (default 127.0.0.1). |
VOUCH_MCP_PORT | optional | Bind port when VOUCH_MCP_TRANSPORT=http (default 8080). |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add vouch-mcp -e 'VOUCH_DID=<VOUCH_DID>' -e 'VOUCH_PRIVATE_KEY=<VOUCH_PRIVATE_KEY>' -- uvx vouch-mcp==3.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"vouch-mcp": {
"args": [
"vouch-mcp==3.3.0"
],
"command": "uvx",
"env": {
"VOUCH_DID": "<VOUCH_DID>",
"VOUCH_PRIVATE_KEY": "<VOUCH_PRIVATE_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"vouch-mcp": {
"args": [
"vouch-mcp==3.3.0"
],
"command": "uvx",
"env": {
"VOUCH_DID": "<VOUCH_DID>",
"VOUCH_PRIVATE_KEY": "<VOUCH_PRIVATE_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "VOUCH_DID",
"id": "vouch-did",
"password": true,
"type": "promptString"
},
{
"description": "VOUCH_PRIVATE_KEY",
"id": "vouch-private-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"vouch-mcp": {
"args": [
"vouch-mcp==3.3.0"
],
"command": "uvx",
"env": {
"VOUCH_DID": "${input:vouch-did}",
"VOUCH_PRIVATE_KEY": "${input:vouch-private-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.vouch-mcp]
command = "uvx"
args = ["vouch-mcp==3.3.0"]
env = { "VOUCH_DID" = "<VOUCH_DID>", "VOUCH_PRIVATE_KEY" = "<VOUCH_PRIVATE_KEY>" }For AI agents
- Ask the user for: VOUCH_PRIVATE_KEY, VOUCH_DID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: sign, verify, create_session, check_revocation, get_identity, evaluate_freshness, check_intent_freshness, verify_disconnected_edge, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json