New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

hashproof-mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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 verifiable by anyone via QR.

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
71
162.96%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Two ways to connect

Local (stdio) — this packageRemote (HTTP) — https://api.hashproof.dev/mcp
Installnpx -y hashproof-mcpnothing to install
Paying for issue_credentialyour own wallet, $0.10 USDC via x402 — or an API keyAPI key only
preview_template outputPDF written to a local filePDF returned inline (base64, max 800 KB)

The remote server has no wallet and cannot pay on your behalf, so it can't do x402. Use the local server if you want to pay per credential with USDC; use the remote one if you have a prepaid API key and don't want to run anything.

Install — local (stdio)

Claude Code:

claude mcp add hashproof -- npx -y hashproof-mcp

Cursor / any MCP client (.mcp.json / mcp.json):

{
  "mcpServers": {
    "hashproof": {
      "command": "npx",
      "args": ["-y", "hashproof-mcp"],
      "env": {
        "HASHPROOF_WALLET_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Install — remote (Streamable HTTP)

Claude Code:

claude mcp add --transport http hashproof https://api.hashproof.dev/mcp

Any MCP client, with an API key so issue_credential works:

{
  "mcpServers": {
    "hashproof": {
      "type": "http",
      "url": "https://api.hashproof.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Without that header the three free tools still work; issue_credential returns an error explaining how to authenticate.

Configuration

Env varRequiredDescription
HASHPROOF_API_KEYone of the twoPrepaid API key (contact hi@hashproof.dev). Takes precedence if both are set.
HASHPROOF_WALLET_PRIVATE_KEYone of the twoEVM key of a wallet holding USDC — pays $0.10 per issuance via x402, gasless. Use a dedicated wallet with minimal funds.
HASHPROOF_X402_NETWORKnobase (default) or celo — where your USDC lives.
HASHPROOF_API_BASEnoDefault https://api.hashproof.dev.

These env vars apply to the local (stdio) server. The remote server is configured through HTTP headers instead — send Authorization: Bearer <api-key>.

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

ToolCostWhat it does
get_template_requirementsfreeRequired fields + layout of an existing template
preview_templatefreeWatermarked PDF from an inline template — iterate field positions without paying or storing anything; saved locally (stdio) or returned inline as base64 (remote) so vision-capable agents can inspect and adjust
issue_credential$0.10Issue one credential: registered on Celo, pinned to IPFS, returns verification_url
verify_credentialfree3-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_credential once per recipient (first call carries the inline template, the rest reuse template_slug).
  • Share each verification_url — the QR on the PDF points there.

Full guide (schema, templates, errors): hashproof.dev/skill.md

Keywords

mcp

FAQs

Package last updated on 09 Aug 2026

Related posts