HPP x402 MCP Bridge logo

HPP x402 MCP Bridge

Enables MCP agents to discover HPP services and make capped x402 payments in HPP USDC.e.

Install HPP x402 MCP Bridge

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hpp-x402-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@hpp-io/x402-mcp-bridge"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

HPP x402 MCP Bridge connects MCP hosts to HPP's x402 payment network for service discovery and per-call payments in HPP USDC.e. It runs as a stdio process, manages an agent wallet or delegated smart-wallet spending, and exposes tools for HTTP, MCP, and A2A calls. Use it when an agent needs to find paid services and authorize calls without manual transaction signing. Claude Desktop, Claude Code, Cursor, and Windsurf are named host integrations.

Use cases

  • Discover paid HPP services by natural-language query
  • Inspect service schemas before making a payment
  • Pay for HTTP, MCP, or A2A calls within a spend cap
  • Delegate capped smart-wallet payments to an agent
  • Invoke x402 endpoints from an MCP-compatible host

Key features

  • HPP service discovery and schema inspection
  • Per-call HPP USDC.e x402 payments
  • HTTP, MCP, and A2A service invocation
  • Agent wallet with OS keychain storage
  • Smart-wallet delegation support
  • stdio MCP host integration

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

8/8 checks healthy over the last 42d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @hpp-io/x402-mcp-bridge (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.4kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.

How HPP x402 MCP Bridge works

What HPP x402 MCP Bridge does

HPP x402 MCP Bridge gives MCP hosts access to HPP's x402 payment flow. Agents can search the curated HPP service directory, inspect a service's input schema and example, then invoke the service while paying from an agent wallet. Payment is made in HPP USDC.e, and each paid call is constrained by the configured spending cap.

The bridge supports calls to discovered HTTP, MCP, and A2A services. It also includes a tool for calling arbitrary x402 HTTP endpoints and another for paying and messaging an A2A agent. Read-only discovery does not handle funds or expose wallet keys.

How it works

An MCP host starts the bridge as a child process over stdio. A minimal host configuration can run the package through npx:

config.json
{
  "mcpServers": {
    "hpp-x402": {
      "command": "npx",
      "args": ["-y", "@hpp-io/x402-mcp-bridge"]
    }
  }
}

The bridge can create a wallet key in the operating system keychain when no private key is supplied. Agents can report the wallet address, search the HPP directory, inspect service requirements, and submit paid calls. The separate hpp-x402 command-line interface provides equivalent terminal workflows through commands such as discover, describe, and call.

Payment can instead use an HPP Smart Wallet delegation. The delegation is issued to the agent's address and limited by the wallet owner, including an expiration and spending limit. The bridge validates the delegation against the agent key and selected network when installed and when it starts.

Setup and configuration

Install with the project installer for macOS or Linux, the PowerShell installer for Windows, or npm:

Terminal
npm install -g @hpp-io/x402-mcp-bridge

Node.js 20 or newer is required. Run hpp-x402 setup --install <host> to create a wallet and register the bridge with a supported host, then use hpp-x402 fund to obtain the wallet funding destination and hpp-x402 status to verify the setup. A headless machine without an operating-system keychain can use setup --print-key.

The default network is HPP Sepolia. HPP_NETWORK selects between HPP Sepolia and HPP Mainnet. DELEGATE_PRIVATE_KEY supplies the agent key; if omitted, the bridge can create and store one in the OS keychain. HPP_PAYMENT_DELEGATION enables delegated payment from a user's smart account. RESOURCE_SERVER_URL can proxy one upstream MCP server, while SAFE_ADDRESS and ALLOWANCE_MODULE_ADDRESS together enable Safe governance mode.

Tools and capabilities

  • wallet_address reports the wallet address used for funding or delegation.
  • hpp_discover searches the curated HPP directory without making payments.
  • hpp_describe returns a service's input arguments, schema, and example.
  • hpp_call pays for and invokes a discovered HTTP, MCP, or A2A service.
  • x402_http_call pays for and invokes any x402 HTTP endpoint.
  • pay_a2a_agent pays and sends a message to another A2A agent.

Limitations and notes

The bridge is intended for HPP x402 payments and defaults to HPP Sepolia. Mainnet use requires selecting the Mainnet network. A bare package invocation starts the MCP server; CLI commands require invoking the hpp-x402 executable separately.

Delegation values are checked against the agent key and network, and revoked, expired, or cross-network delegations prevent the bridge from starting. Delegation values written through installation may remain in shell history, so they should be handled like capped payment credentials. Discovery is limited to the curated HPP directory, while arbitrary endpoint access is available through the dedicated x402 HTTP tool.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about HPP x402 MCP Bridge

HPP x402 MCP Bridge is an MCP server that connects agent hosts to HPP's x402 services and USDC.e payment network. Its tools discover services, inspect schemas, report a wallet address, pay for HTTP/MCP/A2A calls, invoke x402 endpoints, and message A2A agents within a configured spending cap.

Install it with npm or the project installer, then register it with a host using `hpp-x402 setup --install <host>`. The npm command is `npm install -g @hpp-io/x402-mcp-bridge`; Node.js 20 or newer is required.

Configure the wallet with `hpp-x402 setup`, which can create a key and store it in the operating-system keychain. Use `DELEGATE_PRIVATE_KEY` for an explicit key, or use `setup --print-key` on a headless machine without an OS keychain.

Yes, it can use an HPP Smart Wallet through a payment delegation. Issue the delegation to the agent address, then install the host with `--delegation`; the bridge checks the delegation against the agent key and network and enforces its on-chain limits.

Yes, Cursor is one of the named MCP hosts supported by the setup flow. Register the bridge with `hpp-x402 setup --install cursor`, or add the stdio command and package name to Cursor's MCP configuration.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHPP x402 MCP Bridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hpp-x402-mcp-bridge?style=directory)](https://allmcps.com/mcp/hpp-x402-mcp-bridge)
HTML Embed
<a href="https://allmcps.com/mcp/hpp-x402-mcp-bridge"><img src="https://allmcps.com/api/badge/hpp-x402-mcp-bridge?style=directory" alt="HPP x402 MCP Bridge on AllMCPs" /></a>