{"uid":"cap_uX0N4gq4irjBtENyalBcr","slug":"agentdiet-x402-broker-universal-mcp-gateway-c2c709f9","name":"AgentDiet X402-BROKER Universal MCP Gateway","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/universal-mcp-gateway?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"query":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X7umOH_EHNwRGOs6nLSeP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes agent requests through a unified gateway to 31,390+ MCP servers, x402 APIs, and A2A agents, settling payments in USDC on Base.","exampleAgentPrompt":"Search for a weather tool across the 31,000+ MCP servers on the AgentDiet gateway and return the current forecast for San Francisco — route it as a GET request with query 'weather San Francisco'.","exampleUseCases":[{"title":"Discovering and calling an MCP tool","prompt":"I want to find a code execution MCP server from the AgentDiet gateway and run a quick Python snippet — can you query the universal gateway with 'python code execution' and get me the result?"},{"title":"Routing A2A agent task through broker","prompt":"Send a task to an available A2A agent through the AgentDiet universal MCP gateway asking it to summarize the latest AI research papers — use a GET request with the query 'AI research summarizer'."},{"title":"Accessing x402 API via unified endpoint","prompt":"Use the AgentDiet X402 broker to look up a financial data tool for me — search for 'crypto price feed' through the gateway and return whatever data it finds, settling in USDC on Base."}],"resultDescription":"Returns a JSON object with a 'data' field containing the proxied MCP/API/agent response, a 'status' field (e.g. 'ok'), and an 'roi_proof' object including a compression_ratio_pct metric indicating efficiency of the brokered call.","failureModes":["Payment failure: insufficient USDC balance or failed settlement on Base returns payment error","Unknown tool: query does not match any of the 31,390+ registered MCP servers, returns empty or error data","Invalid method: method not in allowed enum (GET/POST) returns schema validation error","Upstream MCP server unavailable: downstream timeout or error propagated in data field","Malformed input: missing required 'type' or 'method' fields causes 400-level error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to access any of thousands of MCP servers, x402 APIs, or A2A agents through a single brokered interface without needing to know individual endpoint URLs, especially when per-call USDC micropayment settlement on Base is acceptable and a unified routing layer is preferred over direct API calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:21.630Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-broker-universal-mcp-gateway-c2c709f9"}