a2a-x402-mcp-services
a2a-x402-mcp-services
本番運用向け x402 v2 収益化 MCP ツール。実際のエージェント間(A2A)取引を実現する本物のツールです。
本物のオンチェーン決済(モックや、偽の支払いは一切なし)
現在の x402 v2 仕様に完全準拠(CAIP-2 ネットワーク、
PAYMENT-REQUIRED/PAYMENT-SIGNATURE/PAYMENT-RESPONSEヘッダー、x402Version: 2、exact スキーム)公式の
@x402/mcp+@x402/core+@x402/evmパッケージBazaar 対応(Bazaar 拡張を実装するファシリテーターを介してツールを検出可能)
現在のエコシステムのギャップに合わせて構築:エージェントが実際に再購入する運用ユーティリティ
現在の有料ツール
Tool | Price | Purpose |
| $0.02 | EVM ウォレットの A2A カウンターパーティリスクをスコア化(0-100 + 推奨事項) |
| $0.01 | 複雑なエージェントワークフローの JSON を厳密な決定論的スキーマに変換する |
| $0.005 | 要求された CAIP-2 ネットワーク + Bazaar をサポートする本番用ファシリテーターを返す |
すべてのツールは exact な支払いスキームを使用し、実際のファシリテーターを通じて決済されます。
Related MCP server: fabler-x402-tools
x402 v2 準拠チェックリスト
x402Version: 2CAIP-2 ネットワーク識別子(
eip155:84532(Base Sepolia デフォルト)、eip155:8453(mainnet 用))公式ヘッダー(
PAYMENT-REQUIRED、PAYMENT-SIGNATURE、PAYMENT-RESPONSE)@x402/evm/exactによる exact スキームファシリテーターによる検証と決済(プロセス内での自己決済は行わない)
MCP ツール発見のための Bazaar 拡張メタデータ
環境変数駆動の
payToアドレス(本番ウォレットのハードコードなし)
クイックスタート(テストネット)
git clone https://github.com/Disseveru/a2a-x402-mcp-services.git
cd a2a-x402-mcp-services
npm install
# Required: receiving wallet (Base Sepolia)
export X402_PAY_TO_EVM=0xYourTestnetAddress
# Optional overrides
# export X402_NETWORK=eip155:84532
# export X402_FACILITATOR_URL=https://x402.org/facilitator
# export PORT=4022
npm run devヘルスチェック(無料):
curl http://localhost:4022/healthツールカタログ(無料):
curl http://localhost:4022/toolsMCP エンドポイント(有料):
POST http://localhost:4022/mcpx402 v2 対応の MCP クライアント(@x402/mcp クライアントヘルパー、CDP 管理のウォレットなど)を使用してください。有料ツールへの最初の呼び出しでは 402 が返され、クライアントが署名して PAYMENT-SIGNATURE 付きで再試行し、ファシリテーターが決済し、ツールの結果が返されます。
メインネットへの移行
メインネットの受取アドレスを設定する:
export X402_PAY_TO_EVM=0xYourMainnetAddressネットワークを切り替える:
export X402_NETWORK=eip155:8453本番用ファシリテーターを使う(例 – CDP):
export X402_FACILITATOR_URL=https://api.cdp.coinbase.com/platform/v2/x402(選択したファシリテーターが要求する場合、CDP の認証情報を提供してくだう。)
サーバーを起動する。実際の USDC が移動します。
失っても構わない額を超える資金を保持したホットキーでメインネットを実行しないでください。
アーキテクチャ
src/
config.ts – env-driven CAIP-2 + facilitator + payTo
server.ts – McpServer + official createPaymentWrapper (@x402/mcp)
tools/
definitions.ts – paid tool implementations (real logic)
index.ts – Express host + Streamable HTTP MCP transport設計原則
モックなし – 有料パス・はすべて、実際のファシリテーターの決済で完了します。
v2 のみ – 従来の
X-PAYMENTヘッダーや v1 ネットワーク文字列は使いません。運用ユーティリティ – エージェントが繰り返し購入する問題(リスク評価、正規化、ファシリテーター選抜)を解決するツールです。
発見可能 – エージェントが URL をハードコードせずにツールを見つけられるよう、Bazaar メタデータを提供します。
運用者の安全性 – 受取アドレスとネットワークは環境変数のみから取得します。
ライセンス
--MIT
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.
Related MCP Servers
- AlicenseBqualityAmaintenanceMCP server exposing x402 Bazaar's paid Base APIs (token risk/honeypot, prices, gas, wallet intel, tx decode + AI utilities) as agent tools. Your agent pays per call in USDC over x402 — no API keys, no signup.17218MIT

fabler-x402-toolsofficial
AlicenseNot gradedqualityBmaintenanceEnables MCP clients to use paid tools for secret scanning, agent-config auditing, and OG image rendering, with payments handled over the x402 protocol on Base.MIT- AlicenseNot gradedqualityBmaintenanceProduction-grade suite of monetized tools for autonomous AI agent-to-agent commerce, enabling payments and task execution via x402 protocol and MCP.223MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover, query, and pay for HTTP endpoints and MCP tools using Stellar USDC/SEP-41 stablecoins through a federated P2P bazaar catalog and x402 payment facilitator.Apache 2.0
Related MCP Connectors
Metered MCP tools: free discovery over MCP; per-call execution settled in USDC via x402 v2.
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Agent x402 Paywall MCP — Coinbase HTTP 402 protocol + on-chain settlement. Agents pay per-call
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Disseveru/a2a-x402-mcp-services'
If you have feedback or need assistance with the MCP directory API, please join our Discord server