Four steps: discover free, see the price, pay, verify.
Discovery needs no wallet, no API key and no account. Step 1 lists the tools for free, step 2 shows the exact 402 challenge an unpaid call returns ($0.01 USDC on Base mainnet ($0.001 USDC on Base Sepolia testnet), or $0.02 for the two attesting tools), step 3 pays it with any x402 v2 client or buys prepaid credits, and step 4 verifies a proof bundle on xoonya for free. The live line is 3.9.31.
1. Discover the tools (free)
The MCP server speaks Streamable HTTP. initialize, tools/list, resources, prompts and the catalog tool are free. The runtime catalog marks each task with purchase.executable_now and, when it can run, its per-call price.
curl -s -X POST https://mcp.naxytra.com/mcp \
-H "content-type: application/json" \
-H "accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{ "name": "summarize", "inputSchema": { "required": ["text"] } },
{ "name": "keccak256", "inputSchema": { "required": ["data"] } },
"... 17 tools: summarize, zones.lookup, catalog, reply.draft, json.validate, text.extract, html.to-text, text.chunk, x402.decode, keccak256, address.validate, x402.verify-receipt, tx.status, abi.encode, abi.decode, merkle.verify, eip712.hash"
]
}
}curl -s https://api.naxytra.com/v1/catalog{
"executable_task_refs": ["adapter.mcp.invoke", "adapter.xoonya.invoke"],
"tasks": [
{
"task_ref": "adapter.mcp.invoke",
"purchase": {
"executable_now": true,
"execute": "POST /x402/commands/execute",
"x402_per_call": [
{ "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "10000", "usd": "0.01" },
{ "network": "eip155:84532", "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "amount": "1000", "usd": "0.001" }
],
"credits_per_call": 3
}
},
{ "task_ref": "...", "purchase": { "executable_now": false, "note": "Reference entry: not executable on this deploy, so it is never charged." } }
]
}
- On PowerShell 5.1 call curl.exe explicitly so the single-quoted JSON body is passed through unchanged; the built-in curl alias is a different cmdlet.
- Catalog tasks that are not executable are reference entries: calling them returns 501 capability_not_executable and nothing is charged.
2. See the exact price: the 402 challenge
Calling a paid task without payment returns HTTP 402 Payment Required. The body (and the base64 PAYMENT-REQUIRED header) carries the x402 v2 accepts, a plain price array, and a trimmed quote whose amount_minor is the charged price in cents. Nothing is charged for an unpaid call.
curl -s -i -X POST https://api.naxytra.com/x402/commands/execute \
-H "content-type: application/json" \
-d '{"task_ref":"adapter.mcp.invoke","command":"mcp tool invoke","body":{"tool_name":"keccak256","arguments":{"data":"hello"}}}'HTTP/1.1 402 Payment Required
content-type: application/json; charset=utf-8
payment-required: eyJ4NDAyVmVyc2lvbiI6Mi...
x-request-id: 3f6c...
{
"ok": false,
"payment_required": {
"x402Version": 2,
"scheme": "exact",
"resource": { "url": "https://api.naxytra.com/x402/commands/execute", "mimeType": "application/json" },
"accepts": [
{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","payTo":"0x7cd2E0Ed2721319B20FAac4109774d030833F84D","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60},
{"scheme":"exact","network":"eip155:84532","asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","amount":"1000","payTo":"0x7cd2E0Ed2721319B20FAac4109774d030833F84D","extra":{"name":"USDC","version":"2"},"maxTimeoutSeconds":60}
],
"price": [
{ "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "10000", "usd": "0.01" },
{ "network": "eip155:84532", "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "amount": "1000", "usd": "0.001" }
],
"quote": { "quote_id": "quote_...", "task_refs": ["adapter.mcp.invoke"], "amount_minor": 1, "currency": "USD_CENTS", "payment_protocol": "x402" }
}
}
- Base mainnet: amount 10000 USDC base units = $0.01. Base Sepolia (testnet): amount 1000 = $0.001.
- On the MCP server an unpaid tools/call returns a payment-required tool result instead (x402 MCP transport); https://mcp.naxytra.com/mcp/http402 answers with HTTP 402 for fetch-wrapper clients.
- Every runtime response carries an X-Request-Id header; errors include request_id. Quote it if you contact support.
3. Pay: one gasless USDC authorization, or prepaid credits
Sign an x402 exact USDC authorization (EIP-3009 transferWithAuthorization) for one of the accepts and retry the same request with it. The buyer needs USDC but no gas: the Coinbase CDP facilitator broadcasts the transfer, and settlement happens only after the call succeeds. Any x402 v2 client library does the signing; the signature itself cannot be produced with curl.
# retry the step-2 request with the signed payment
curl -s -i -X POST https://api.naxytra.com/x402/commands/execute \
-H "content-type: application/json" \
-H "PAYMENT-SIGNATURE: <base64 x402 v2 payment payload>" \
-d '{"task_ref":"adapter.mcp.invoke","command":"mcp tool invoke","body":{"tool_name":"keccak256","arguments":{"data":"hello"}}}'
# -> 200, the tool output, a PAYMENT-RESPONSE settlement receipt header,
# and a signed delivery receipt (Ed25519 + ML-DSA-65)# $1.00 USDC on Base mainnet -> 400 credits (1 credit = $0.0025)
curl -s -X POST https://api.naxytra.com/x402/credits/topup -H "content-type: application/json" -d '{}'
# -> 402 with the top-up price; pay it the same way.
# The paid response returns a spend credential (shown once): Bearer xytara_spend_...
curl -s -X POST https://api.naxytra.com/x402/commands/execute \
-H "content-type: application/json" \
-H "Authorization: Bearer xytara_spend_..." \
-d '{"task_ref":"adapter.mcp.invoke","command":"mcp tool invoke","payment_preference":"credits_first","body":{"tool_name":"keccak256","arguments":{"data":"hello"}}}'
# a task costs 1-8 credits by tier; a typical MCP call costs 3
- Post-quantum proof verification uses the same route with task_ref adapter.xoonya.invoke and tool_name proof.verify-signature or proof.verify-bundle.
- Without a spend credential a credits_first call is refused; the reason names the top-up route.
- Hosted card checkout is not live. Wallet keys and spend credentials never belong in public docs or JSON.
x402 protocol and client libraries · Base Sepolia USDC faucet · Delivery receipt keys (MCP) · Delivery receipt keys (runtime)
4. Build and verify a proof bundle on xoonya (free)
xoonya is the proof and review spine. The quickest end-to-end verification is to build a bundle from a canonical event and verify it back. The event_hash is any 64-hex digest you control; here it is sha256 of the string naxytra-quickstart. The verify response says exactly which verification class you got.
curl -s -X POST https://xoonya.onrender.com/v1/proof-bundles/build \
-H "content-type: application/json" \
-d '{"event":{"domain_id":"naxytra.quickstart","sequence":"1","actor_id":"quickstart-agent","adapter_source":"curl","event_type":"quickstart.verify","event_hash":"0c6080431415c9dbcd0e77b18ad5d1380f1042174b892b285e402294ca6452ee","timestamp_ns":"1759425600000000000"}}' \
-o bundle.json{
"version": "proof-bundle/v1",
"ceb": { "version": "canonical-event-bundle/v1", "domain_id": "naxytra.quickstart", "sequence": "1", "event_type": "quickstart.verify", "...": "..." },
"receipt": {
"version": "receipt/v1",
"receipt_id": "2effc7b51c5cd4bc0b9f5c3081459f286129f8a9da6cdb74eab48e8899074a1a",
"event_commitment": "c7c63e9b2453f993b9bbe53c95c9214d4beed815af5870d9ba707b1b3f4afc12",
"algorithm": "xoonya-native-sha256-v1",
"signature": "xoonya-native-sha256-v1:71ecff38e502e0d06bbc77b41366481b3e68cf3786663f5199e064df3f0f4e81"
}
}curl -s -X POST https://xoonya.onrender.com/v1/proof-bundles/verify \
-H "content-type: application/json" \
--data-binary "{\"bundle\": $(cat bundle.json)}"{
"valid": true,
"reason": null,
"version": "proof-bundle/v1",
"event_commitment": "c7c63e9b2453f993b9bbe53c95c9214d4beed815af5870d9ba707b1b3f4afc12",
"receipt_id": "2effc7b51c5cd4bc0b9f5c3081459f286129f8a9da6cdb74eab48e8899074a1a",
"verification_method": "xoonya-native-sha256-v1",
"verification_method_family": "xoonya_native",
"verification_state": "verified_native_digest",
"verification_class": "digest",
"cryptographically_verified": false,
"strict": false,
"trust_root_applied": false
}
- verification_class digest means a native SHA-256 receipt was recomputed and matched; cryptographically_verified stays false until a signed or anchored method and a trust root are used. The paid adapter.xoonya.invoke task performs real signature verification.
- On PowerShell, replace the $(cat bundle.json) substitution with --data-binary from a file you wrote as {"bundle": {contents}}, or run the two calls from bash.
- XNYA verification is machine-evidence verification, not an identity, custody or chain-truth claim.
Where this quickstart stops, and what comes next
These calls use the live services on xytara (https://api.naxytra.com), the MCP executor (https://mcp.naxytra.com) and xoonya (https://xoonya.onrender.com). The paid loop settles real USDC on Base mainnet; use Base Sepolia (free testnet USDC) to experiment first.
- Credits are self-serve: a $1.00 USDC x402 top-up returns 400 credits and a spend credential; no operator grant is needed.
- Signed payment requires wallet material you hold; the public docs never carry it.
- Not live: USD₮/Celo settlement, L402 live settlement, and hosted card checkout.
Pricing · Start guide · First-run kit · Agents · Site map