hashproof-mcp
v0.1.2
Published
MCP server for HashProof — issue verifiable credentials (diplomas, certificates, badges) from any AI agent for $0.10 USDC via x402 or an API key. Each credential is registered on-chain on Celo, pinned to IPFS, and verifiable by anyone via QR.
Downloads
273
Maintainers
Readme
hashproof-mcp
MCP server for HashProof — issue verifiable credentials (diplomas, certificates, badges) from any AI agent for $0.10 USDC via x402 or an API key. Each credential is registered on-chain on Celo, pinned to IPFS, and comes with a PDF + QR anyone can verify for free.
Install
Claude Code:
claude mcp add hashproof -- npx -y hashproof-mcpCursor / any MCP client (.mcp.json / mcp.json):
{
"mcpServers": {
"hashproof": {
"command": "npx",
"args": ["-y", "hashproof-mcp"],
"env": {
"HASHPROOF_WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Configuration
| Env var | Required | Description |
|---|---|---|
| HASHPROOF_API_KEY | one of the two | Prepaid API key (contact [email protected]). Takes precedence if both are set. |
| HASHPROOF_WALLET_PRIVATE_KEY | one of the two | EVM key of a wallet holding USDC — pays $0.10 per issuance via x402, gasless. Use a dedicated wallet with minimal funds. |
| HASHPROOF_X402_NETWORK | no | base (default) or celo — where your USDC lives. |
| HASHPROOF_API_BASE | no | Default https://api.hashproof.dev. |
The free tools (get_template_requirements, preview_template, verify_credential) work with no configuration at all.
No wallet yet? Generate a dedicated EVM wallet for the agent (never reuse your main wallet), put its private key in HASHPROOF_WALLET_PRIVATE_KEY, and fund the address with a few USDC on Base or Celo ($0.10 per credential, gasless). Never paste the private key into a chat — write it straight into the config file. Agents: if issue_credential fails with "No payment method configured", walk the human through exactly this.
Tools
| Tool | Cost | What it does |
|---|---|---|
| get_template_requirements | free | Required fields + layout of an existing template |
| preview_template | free | Watermarked PDF from an inline template — iterate field positions without paying or storing anything; the PDF is saved locally so vision-capable agents can inspect and adjust |
| issue_credential | $0.10 | Issue one credential: registered on Celo, pinned to IPFS, returns verification_url |
| verify_credential | free | 3-layer verification (database, IPFS, blockchain) of any credential id |
Typical flow
- Human: "issue completion certificates for my workshop, with our branding".
- Agent gets/generates a background image, gets it hosted at a public URL (there is no upload endpoint — own site, GitHub raw, S3/R2...; warn the human about this upfront), measures it, proposes
fields_json. preview_template→ agent inspects the PDF → adjusts → human approves the final preview.issue_credentialonce per recipient (first call carries the inlinetemplate, the rest reusetemplate_slug).- Share each
verification_url— the QR on the PDF points there.
Full guide (schema, templates, errors): hashproof.dev/skill.md
