@hpp-io/x402-mcp-bridge
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@hpp-io/x402-mcp-bridgediscover paid AI services"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@hpp-io/x402-mcp-bridge
The agent payment rail for HPP. A stdio MCP bridge + the
hpp-x402CLI that let Claude Desktop / Claude Code / Cursor / Windsurf / OpenClaw make autonomous HPP USDC.e payments over x402 β discover paid services, pay per call, within a spend cap. No API keys, no manual signing.
π Full documentation
hpp-io/x402-tools β the complete manual: how it works, every command, buyer and seller flows, payment schemes (exact / upto), wallet modes, and troubleshooting. This README is a quick reference.
Related MCP server: x402-discovery
Install
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/hpp-io/x402-tools/main/install/install.sh | bash
# Windows (PowerShell)
irm https://raw.githubusercontent.com/hpp-io/x402-tools/main/install/install.ps1 | iex
# β¦or npm
npm install -g @hpp-io/x402-mcp-bridgeNeeds Node 20+. On a headless box (no OS keychain) use setup --print-key β see
the manual.
Quick start
hpp-x402 setup --install claude-code # create a wallet + register into your host
hpp-x402 fund # where to send USDC.e (gasless, no native gas)
hpp-x402 status # confirm it's wiredRestart your host and your agent can discover and pay for services. Browse and pay from the terminal too:
hpp-x402 discover --limit 5 # shows type Β· scheme Β· price Β· URL Β· id
hpp-x402 call <url-or-id> --body '{"hi":"there"}' # pay + call β a URL, or an id from discoverFull command reference, selling (serve), schemes, and Safe mode β
the manual.
Use it from an MCP host
The host spawns the bridge over stdio. A bare entry boots zero-config on HPP Sepolia with an auto-created keychain wallet:
{ "mcpServers": { "hpp-x402": {
"command": "npx", "args": ["-y", "@hpp-io/x402-mcp-bridge"]
} } }hpp-x402 install <host> writes this for you. Note: a bare
npx @hpp-io/x402-mcp-bridge runs the MCP server (what the host wants) β for
the CLI use npx -y -p @hpp-io/x402-mcp-bridge hpp-x402 <command>.
Host-facing tools
Tool | What it does |
| report your wallet address (to fund it) |
| list/search the curated HPP directory (read-only) |
| call a discovered service; pays via your wallet |
| pay + call any x402 HTTP endpoint |
| pay + message another A2A agent |
Every paid call stays within your spend cap; discovery never holds funds or sees your keys.
Key env (all optional)
Var | Notes |
| auto-created in the OS keychain if unset |
|
|
| proxy one upstream MCP server (omit = local tools only) |
| set both = Safe (governance) mode |
Full environment reference + Safe/governance setup are in the manual.
Related
Building an agent / SDK integration (LangChain, OpenAI function-calling, AgentKit, A2A)? See the runnable gallery β hpp-io/hpp-x402-agent-sample
License
Apache-2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hpp-io/x402-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server