</>MCP Agents Market
MCP Server

x402

by x402-foundation6.6kTypeScriptUpdated 2026-08-28

A payments protocol for the internet. Built on HTTP.

Claude Desktop

The x402 MCP server enables AI agents to integrate internet-native payment capabilities directly into their workflows. Built on the x402 open payment protocol, it allows agents to make and accept payments across multiple blockchain networks (EVM, Solana, Aptos, Stellar, and others) as well as fiat systems. Developers can add payment requirements to API endpoints with minimal code, while AI agents gain the ability to autonomously pay for premium resources, APIs, and services during task execution.

Key Features

Multi-network payment support including EVM, Solana (SVM), Aptos, Stellar, Hedera, and TVM chains
Multiple payment schemes: exact transfers, up-to authorization caps, and batch settlement for gas efficiency
HTTP-native protocol that integrates seamlessly into existing request/response flows
Facilitator architecture for payment verification and settlement without self-hosting blockchain infrastructure
Network and token agnostic design supporting stablecoins, native tokens, and fiat currencies
Trust-minimizing design where facilitators cannot move funds outside client intentions
Self-facilitation option for resource servers that want direct blockchain control
TypeScript, Python, and Go SDK support with framework integrations for Express, Fastify, Next.js, and Hono

Use Cases

  • 01AI agents paying for premium API access during research or data gathering tasks
  • 02Autonomous payment for compute resources, RPC endpoints, or file storage services
  • 03Monetizing AI agent services by requiring payment before fulfilling requests
  • 04Enabling agents to purchase digital content, weather data, or specialized information feeds
  • 05Building pay-per-use AI tools where agents handle micropayments automatically
  • 06Creating agent-to-agent payment workflows for collaborative multi-agent systems

Related MCP Servers

View more

x402 — FAQ

What is the x402 MCP server?+

The x402 MCP server is an AI agent building block that integrates the x402 payment protocol into Model Context Protocol environments. It enables AI agents to make and accept payments across multiple blockchain networks and payment schemes as part of their standard workflows.

How do I install the x402 MCP server?+

Install the x402 MCP package via npm using 'npm install @x402/mcp' along with the core package and desired network implementations (like @x402/evm or @x402/svm). Configure your MCP client to run the server with the installed package and necessary API keys for your chosen networks.

Which MCP clients work with x402?+

The x402 MCP server works with standard MCP-compatible clients including Claude Desktop and other applications that support the Model Context Protocol. Specific client compatibility depends on your MCP client's ability to execute Node.js-based servers.

Do I need API keys or blockchain credentials?+

Yes, you need credentials for the blockchain networks you want to support (wallet private keys or RPC endpoints). You can use the public x402 facilitator for testing, but production deployments should use a dedicated facilitator service or self-facilitation with your own blockchain infrastructure.

Is the x402 MCP server free to use?+

The x402 software is open source and free to use. However, blockchain transactions require gas fees, and production facilitator services may charge fees for payment verification and settlement services.

What payment schemes does x402 support?+

x402 supports three main payment schemes: 'exact' for specific amounts, 'upto' for capped authorizations where the seller settles actual usage, and 'batch-settlement' for aggregating multiple small payments into efficient on-chain batches.

How do I install x402?+

Open the source repository on GitHub and follow its README. x402 is a mcp server — MCP Agents Market links you directly to the official repo.

Is x402 free?+

x402 is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches