x402-test-mcp
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
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.
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
- Endpoint + docs: https://test.sycamore-api.com
- OpenAPI: https://test.sycamore-api.com/openapi.json
- Privacy / data retention: https://test.sycamore-api.com/privacy
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.