x402-test-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
x402-test-mcp
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.
Related MCP server: obolpay-x402-mcp
Tool
test_agent_payment
Input | Type | Description |
| boolean? | Fetch the 402 challenge without paying |
| 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
Endpoint + docs: https://test.sycamore-api.com
Privacy / data retention: https://test.sycamore-api.com/privacy
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
PHANTOM ID MCP payment server: agent-to-agent USDC payments on Base.
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Agent-native MCP for governed commerce, x402 payments, paid capabilities, and verifiable receipts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for agent-native and human-accessible payments using MPP and x402 protocols, enabling payment flows from CLI or agent hosts.3 npmMIT
- FlicenseAqualityCmaintenanceMCP server for a live x402 payment gateway on Base (USDC). Lets AI agents discover, preview for free, then pay per call — with prepaid gasless payments, signed receipts, and delta delivery.7-
- AlicenseNot gradedqualityDmaintenanceA small, autonomous, pay-per-call MCP server that AI agents discover and pay for per call, with revenue landing directly in a USDC wallet on Base via the x402 payment protocol.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server for agentic commerce, enabling AI agents to discover services, make x402 payments with USDC across multiple chains, and manage crypto wallets and token swaps.339 npm1MIT