{"openapi":"3.0.0","info":{"title":"PII Scrubber","version":"1.0.0","description":"Strips PII from text. Pay-per-request via x402 (USDC on Base).","guidance":"POST to /mcp with a JSON-RPC body calling 'scrub_pii' with a 'text' argument. Include your USDC-on-Base transaction hash in the X-Payment-Tx header. Returns { scrubbed, pii_found, count }."},"paths":{"/mcp":{"post":{"summary":"Strip PII from text","description":"MCP endpoint for scrub_pii tool. Requires x402 payment (0.005 USDC on Base).","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.005"},"parameters":[{"name":"X-Payment-Tx","in":"header","required":true,"description":"Transaction hash from USDC transfer on Base","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"method":{"type":"string","enum":["tools/call"]},"params":{"type":"object","required":["name","arguments"],"properties":{"name":{"type":"string","enum":["scrub_pii"]},"arguments":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"The text to scrub PII from"}}}}},"id":{"type":"number"}}}}}},"responses":{"200":{"description":"Scrubbed text result","content":{"application/json":{"schema":{"type":"object","properties":{"scrubbed":{"type":"string"},"pii_found":{"type":"array","items":{"type":"string"}},"count":{"type":"number"}}}}}},"402":{"description":"Payment Required"}}}}}}