vouch-mcp

v3.3.0
io.github.vouch-protocol/vouch-mcp Checked 5 hours ago Published 10 hours ago

Sign and verify W3C Verifiable Credentials so AI agents can cryptographically authorize actions.

Values you need

VariableWhat it is
VOUCH_PRIVATE_KEYrequired secret The agent's signing key as a JWK JSON string, held only in this server process.
VOUCH_DIDrequired The agent's DID, e.g. did:web:agent.example.com
VOUCH_MCP_TRANSPORToptional Transport to serve: 'stdio' (default), 'http' (Streamable HTTP), or 'sse'.
VOUCH_MCP_HOSToptional Bind host when VOUCH_MCP_TRANSPORT=http (default 127.0.0.1).
VOUCH_MCP_PORToptional 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.0
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: sign, verify, create_session, check_revocation, get_identity, evaluate_freshness, check_intent_freshness, verify_disconnected_edge, ….
  5. 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