{"openapi":"3.1.0","info":{"title":"Port4 Demo Gateway — Port4 Paid MCP & Visa TAP Gateway","version":"1.0.0","description":"Stateless MCP 2026-07-28 gateway for Port4 Demo Gateway. Supports Visa Trusted Agent Protocol (TAP RFC 9421), Tempo OUSD (MPP), and multi-chain USDC (x402 v2)."},"servers":[{"url":"https://port4.dev"}],"x-port4-tenant":{"subdomain":"demo","mcp_endpoint":"https://port4.dev/mcp/demo","mcp_mode":"direct","require_visa_tap":false},"paths":{"/mcp/demo/tools/edge_dns_lookup":{"post":{"operationId":"edge_dns_lookup","summary":"Low-latency DNS record intelligence at Cloudflare Edge.","description":"Low-latency DNS record intelligence at Cloudflare Edge. (Stateless MCP 2026-07-28 tools/call 'edge_dns_lookup', $0.002 OUSD/USDC)","x-payment-info":{"intent":"charge","method":"tempo","amount":"2000","currency":"0x20c0000000000000000000006a37da5c996874be","chainId":42431,"recipient":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","number"]},"method":{"type":"string","const":"tools/call"},"params":{"type":"object","required":["name","arguments"],"properties":{"name":{"type":"string","const":"edge_dns_lookup"},"arguments":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name to inspect"}},"required":["domain"]}}}}}}}},"responses":{"200":{"description":"MCP JSON-RPC 2.0 tool execution result"},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED + Visa MPP WWW-Authenticate: Payment)"}}}},"/mcp/demo/tools/market_quote":{"post":{"operationId":"market_quote","summary":"Real-time edge crypto & FX quote paid via x402 USDC on Base Sepolia.","description":"Real-time edge crypto & FX quote paid via x402 USDC on Base Sepolia. (Stateless MCP 2026-07-28 tools/call 'market_quote', $0.001 OUSD/USDC)","x-payment-info":{"intent":"charge","method":"tempo","amount":"1000","currency":"0x20c0000000000000000000006a37da5c996874be","chainId":42431,"recipient":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","number"]},"method":{"type":"string","const":"tools/call"},"params":{"type":"object","required":["name","arguments"],"properties":{"name":{"type":"string","const":"market_quote"},"arguments":{"type":"object","properties":{"symbol":{"type":"string","description":"Ticker symbol, e.g. ETH-USD or BTC-USD"}},"required":["symbol"]}}}}}}}},"responses":{"200":{"description":"MCP JSON-RPC 2.0 tool execution result"},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED + Visa MPP WWW-Authenticate: Payment)"}}}},"/mcp/demo/tools/ping":{"post":{"operationId":"ping","summary":"Instant edge liveness & x402 settlement test tool ($0.001 USDC on Base Sepolia).","description":"Instant edge liveness & x402 settlement test tool ($0.001 USDC on Base Sepolia). (Stateless MCP 2026-07-28 tools/call 'ping', $0.001 OUSD/USDC)","x-payment-info":{"intent":"charge","method":"tempo","amount":"1000","currency":"0x20c0000000000000000000006a37da5c996874be","chainId":42431,"recipient":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","number"]},"method":{"type":"string","const":"tools/call"},"params":{"type":"object","required":["name","arguments"],"properties":{"name":{"type":"string","const":"ping"},"arguments":{"type":"object","properties":{"message":{"type":"string","description":"Optional ping payload"}}}}}}}}}},"responses":{"200":{"description":"MCP JSON-RPC 2.0 tool execution result"},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED + Visa MPP WWW-Authenticate: Payment)"}}}}}}