x402-test-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@x402-test-mcptest my agent's payment ability"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Verify your agent's x402 payment flow for free on Base Sepolia testnet before real money moves.
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server for agent-native and human-accessible payments using MPP and x402 protocols, enabling payment flows from CLI or agent hosts.8 npmMIT
- FlicenseAqualityBmaintenanceMCP 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-
- FlicenseNot gradedqualityBmaintenanceA 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.-
- AlicenseNot gradedqualityDmaintenanceAn 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.119 npm1MIT