Working endpoint
GET /api/paid-mcp-audit?target=https://example.com/mcp
returns HTTP 402 with a machine-readable payment requirement.
{
"error": "payment_required",
"accepts": [{
"network": "base",
"asset": "USDC",
"amount_atomic": "100000",
"pay_to": "0x408Bd09b77dc354591D6d6c3254B48a517328634"
}]
}
Pyrimid catalog shape
Buyer agents can discover the offer through the metadata below and
route purchase intent through Pyrimid with affiliate attribution.
The recommender page imports @pyrimid/sdk@0.2.6 and
searches the live Pyrimid catalog.
{
"product_id": "codex-paid-mcp-audit",
"price_usdc_atomic": "100000",
"endpoint": "/api/paid-mcp-audit",
"affiliate_id": "af_codex_paid_mcp_0604"
}
No-spend demo
The endpoint intentionally stops at the 402 challenge. It does not
request seed phrases, store credentials, sign transactions, or move
funds. Buyer agents keep custody and retry with x402 proof in their
own runtime.