Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

X402 Test

БесплатноНе проверен

An MCP server that tests agent payment capabilities by making a real x402 payment ($10 USDC on Base) and returning a signed diagnostic report covering the entir

GitHubEmbed

Описание

An MCP server that tests agent payment capabilities by making a real x402 payment ($10 USDC on Base) and returning a signed diagnostic report covering the entire payment flow.

README

Can your AI agent actually pay for things? Prove it in one tool call.

An MCP server with a single tool, test_agent_payment, that makes a real x402 payment ($10 USDC on Base) to the Sycamore Agent Payment Test endpoint and returns an Ed25519-signed diagnostic report card covering every step of the flow:

  • HTTP 402 challenge handling
  • Payment authorization (gasless EIP-3009 signature)
  • Facilitator verification
  • On-chain settlement proof (transaction hash)
  • Latency and request-origin diagnostics

No signup, no API keys — just a funded wallet.

Install

Installs straight from GitHub — no npm registry needed:

// Claude Desktop / Cursor / any MCP client config
{
  "mcpServers": {
    "x402-test": {
      "command": "npx",
      "args": ["-y", "github:sansscott/x402-test-mcp"],
      "env": {
        "X402_PRIVATE_KEY": "0x..." // funded wallet (USDC on Base)
      }
    }
  }
}

Without X402_PRIVATE_KEY (or with dry_run: true) the tool fetches the free 402 challenge only — useful for checking that your client parses x402 payment requirements.

Tool

test_agent_payment

Input Type Description
dry_run boolean? Fetch the 402 challenge without paying
receipt_email string? Email a signed receipt with the tx hash

Returns the HTTP status, settlement object (tx hash, network, payer), and the full signed report card. Verify the signature against /pubkey.

Cost

$10.00 per paid call, settled in USDC on Base. The endpoint's 402 response (accepts[]) is the source of truth for current price and network.

Links

from github.com/sansscott/x402-test-mcp

Установка X402 Test

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/sansscott/x402-test-mcp

FAQ

X402 Test MCP бесплатный?

Да, X402 Test MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для X402 Test?

Нет, X402 Test работает без API-ключей и переменных окружения.

X402 Test — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить X402 Test в Claude Desktop, Claude Code или Cursor?

Открой X402 Test на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare X402 Test with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории finance