{"service":{"id":"mcp-auth-preflight","name":"MCP Authorization Compatibility Preflight","description":"Token-free deterministic preflight for MCP OAuth discovery, registration, PKCE, and client compatibility failures.","url":"https://auth.inversolabs.us","endpoint":"https://auth.inversolabs.us/v1/services/mcp-auth-preflight/invoke","discovery":"https://auth.inversolabs.us/.well-known/agent-service.json?source=inversolabs","openapi":"https://auth.inversolabs.us/openapi.json","mcp":"https://auth.inversolabs.us/mcp","price":{"amount":"0.03","currency":"USDC","unit":"successful_call"},"agent402Query":"preflight an MCP OAuth authorization integration for compatibility failures","agent402ExecuteEndpoint":"https://agent402.tools/api/route/execute-plus","exampleInput":{"resource_url":"https://mcp.example.com/mcp","protected_resource_metadata":{"resource":"https://mcp.example.com/mcp","authorization_servers":["https://auth.example.com"]},"authorization_server_metadata":{"issuer":"https://auth.example.com","authorization_endpoint":"https://auth.example.com/authorize","token_endpoint":"https://auth.example.com/token","registration_endpoint":"https://auth.example.com/register","code_challenge_methods_supported":["S256"]},"client":{"supports_dcr":true,"supports_protected_resource_metadata":true,"supports_resource_parameter":true}},"method":"POST","paymentProtocol":"x402-v2-exact","settlementNetworks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"settlementAsset":"USDC","provider":"InversoLabs","purchaseHandoff":"https://inversolabs.us/services/mcp-auth-preflight.json","agent402":{"provider":"Agent402","quoteEndpoint":"https://agent402.tools/api/route","quoteMethod":"POST","quoteBody":{"query":"preflight an MCP OAuth authorization integration for compatibility failures","top":10,"include":"external"},"executeEndpoint":"https://agent402.tools/api/route/execute-plus","executeMethod":"POST","executeBody":{"task":"preflight an MCP OAuth authorization integration for compatibility failures","include":"external","params":{"resource_url":"https://mcp.example.com/mcp","protected_resource_metadata":{"resource":"https://mcp.example.com/mcp","authorization_servers":["https://auth.example.com"]},"authorization_server_metadata":{"issuer":"https://auth.example.com","authorization_endpoint":"https://auth.example.com/authorize","token_endpoint":"https://auth.example.com/token","registration_endpoint":"https://auth.example.com/register","code_challenge_methods_supported":["S256"]},"client":{"supports_dcr":true,"supports_protected_resource_metadata":true,"supports_resource_parameter":true}}},"termsDynamic":true,"note":"Quote immediately before purchase. Agent402 is an independent routing/payment provider and may add fees or change supported rails."}},"purchaseHandoff":{"direct":{"step1":{"action":"inspect_schema","url":"https://auth.inversolabs.us/openapi.json"},"step2":{"action":"request_payment_terms","method":"POST","url":"https://auth.inversolabs.us/v1/services/mcp-auth-preflight/invoke","body":{"resource_url":"https://mcp.example.com/mcp","protected_resource_metadata":{"resource":"https://mcp.example.com/mcp","authorization_servers":["https://auth.example.com"]},"authorization_server_metadata":{"issuer":"https://auth.example.com","authorization_endpoint":"https://auth.example.com/authorize","token_endpoint":"https://auth.example.com/token","registration_endpoint":"https://auth.example.com/register","code_challenge_methods_supported":["S256"]},"client":{"supports_dcr":true,"supports_protected_resource_metadata":true,"supports_resource_parameter":true}},"note":"Send the intended JSON input without a payment signature; the service returns HTTP 402 with exact current payment requirements."},"step3":{"action":"pay_and_retry","note":"Use a caller-controlled x402 wallet to satisfy one offered Base or Solana USDC requirement, then retry the same request with the payment proof."},"success":{"status":200,"contentType":"application/json"},"privateKeysAccepted":false,"buyerSkill":"https://inversolabs.us/skills/foundry-agent-buyer/SKILL.md"},"delegated":{"provider":"Agent402","step1":{"action":"request_current_quote","method":"POST","url":"https://agent402.tools/api/route","body":{"query":"preflight an MCP OAuth authorization integration for compatibility failures","top":10,"include":"external"}},"step2":{"action":"inspect_origin_schema","url":"https://auth.inversolabs.us/openapi.json","exampleParams":{"resource_url":"https://mcp.example.com/mcp","protected_resource_metadata":{"resource":"https://mcp.example.com/mcp","authorization_servers":["https://auth.example.com"]},"authorization_server_metadata":{"issuer":"https://auth.example.com","authorization_endpoint":"https://auth.example.com/authorize","token_endpoint":"https://auth.example.com/token","registration_endpoint":"https://auth.example.com/register","code_challenge_methods_supported":["S256"]},"client":{"supports_dcr":true,"supports_protected_resource_metadata":true,"supports_resource_parameter":true}},"note":"Use the included schema-valid example as-is or replace it with input validated against the live origin schema."},"step3":{"action":"delegate_purchase_and_execute","method":"POST","url":"https://agent402.tools/api/route/execute-plus","body":{"task":"preflight an MCP OAuth authorization integration for compatibility failures","include":"external","params":{"resource_url":"https://mcp.example.com/mcp","protected_resource_metadata":{"resource":"https://mcp.example.com/mcp","authorization_servers":["https://auth.example.com"]},"authorization_server_metadata":{"issuer":"https://auth.example.com","authorization_endpoint":"https://auth.example.com/authorize","token_endpoint":"https://auth.example.com/token","registration_endpoint":"https://auth.example.com/register","code_challenge_methods_supported":["S256"]},"client":{"supports_dcr":true,"supports_protected_resource_metadata":true,"supports_resource_parameter":true}}},"note":"Use the current Agent402 402 challenge and terms. Do not rely on a cached fee or payment rail."},"success":{"status":200,"contentType":"application/json"},"thirdPartyTermsDynamic":true,"privateKeysAcceptedByFoundry":false}}}