x402-test-mcp
Click on "Install 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: agent-discovery-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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/sansscott/x402-test-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server