
Agon Gateway
Connect your agent to Agon Gateway for x402-paid API calls, Helius wallet flows, and token market data without hand-writing auth each time.
Overview
Agon Gateway MCP is an MCP server for the Build phase that connects agents to Agon Gateway x402 payments, Helius Wallet, and token market data APIs.
What is this MCP server?
- npm @agonx402/gateway-mcp v0.4.2 with stdio MCP transport
- Agon Gateway base URL override via AGON_GATEWAY_BASE_URL (default gateway.agonx402.com)
- x402 flow: agon_gateway_auth_call runs AGON_SIGNER_COMMAND after HTTP 402 with auth JSON on stdin
- Optional AGON_PAYMENT_MAX_AMOUNT_USD cap and AGON_WALLET_PROFILE for signer hints
- Helius Wallet and Tokens API market data surfaced for agent-driven crypto workflows
- npm package version 0.4.2 (@agonx402/gateway-mcp)
- Default gateway base URL https://gateway.agonx402.com
- Stdio transport with optional AGON_PAYMENT_MAX_AMOUNT_USD spend cap
What problem does it solve?
Building agent tools that pay per request on x402 gateways means fragile custom auth and signer scripts every time you add an endpoint.
Who is it for?
Solo crypto or agent-commerce builders already on Agon x402 who want MCP-native gateway and market data tools.
Skip if: Builders with no wallet signer, no interest in paid API micropayments, or who only need traditional REST without x402.
What do I get? / Deliverables
After MCP registration, your agent can prepare auth, invoke your signer on 402, and query gateway wallet and token data with env-driven guardrails.
- MCP tools for Agon Gateway authenticated calls and token market queries
- Documented x402 signer hook pattern for agent-initiated paid requests
Recommended MCP Servers
Journey fit
Wiring paid crypto gateways and wallet signers into an agent product is Build-phase integration work before you ship a stable billing story. Integrations subphase is for third-party protocols and payment rails; Agon Gateway MCP wraps x402, signer hooks, and Tokens API in MCP tools.
How it compares
Agon Gateway HTTP and x402 MCP bridge, not the on-chain Agon Protocol state server or a generic Stripe billing skill.
Common Questions / FAQ
Who is Agon Gateway MCP for?
Developers shipping agent features that call Agon Gateway, Helius wallets, or token market endpoints and want stdio MCP tools in Claude Code or Cursor.
When should I use Agon Gateway MCP?
Use it while building integrations when you need x402 auth loops, capped USD payments, and gateway market reads from an coding agent.
How do I add Agon Gateway MCP to my agent?
Install @agonx402/gateway-mcp from npm, add the stdio server to MCP config, set AGON_SIGNER_COMMAND and optional AGON_GATEWAY_BASE_URL, AGON_WALLET_PROFILE, and AGON_PAYMENT_MAX_AMOUNT_USD as documented.