{"uid":"cap_x3F9sEaiSQTKqrVbaRlVN","slug":"agentdiet-mcp-compiler-gateway-c0ecd653","name":"AgentDiet MCP Compiler 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/mcp-compiler?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":{"target":{"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_rFnTJdxf9o-8mVk24i8-E","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 and compiles HTTP requests to 31,390+ MCP servers, x402 APIs, and A2A agents via a unified broker endpoint, settling payments in USDC on Base.","exampleAgentPrompt":"Route a GET request to the target MCP server for weather data through the AgentDiet broker — compile it and settle the $0.01 USDC fee on Base.","exampleUseCases":[{"title":"Unified MCP tool access for agent","prompt":"I need to call a specific MCP server tool without setting up a direct integration — can you route the request through the AgentDiet broker gateway using a GET to the target endpoint and pay the micro-fee automatically?"},{"title":"A2A task delegation via broker","prompt":"My agent needs to delegate a subtask to another AI agent registered in the x402 ecosystem — use the MCP compiler gateway to dispatch a POST request to that agent and handle the USDC settlement on Base."},{"title":"x402 API access with compression proof","prompt":"I want to query one of the x402-gated APIs through the AgentDiet broker using a GET method with the target URL as a query param, and I'd like to see the compression ratio proof in the response."}],"resultDescription":"Returns a JSON object with a 'data' field containing the compiled response from the target MCP server or API, a 'status' field (e.g. 'ok'), and an 'roi_proof' object including a compression_ratio_pct metric demonstrating efficiency of the routing.","failureModes":["Target MCP server or API unavailable — returns error status","Insufficient USDC balance for $0.01 settlement — payment failure","Invalid or missing 'input.type' or 'input.method' fields — schema validation error","Unsupported HTTP method (only GET/POST allowed) — enum validation failure","Target query parameter missing or malformed — routing failure","Base network congestion causing settlement delay"],"whenToPreferThis":"Choose this endpoint when you need a single unified gateway to reach any of 31,390+ MCP servers, x402 APIs, or A2A agents without setting up individual integrations. Ideal for agents that need deterministic routing, automatic micropayment settlement in USDC on Base, and support for MCP, x402, MPP, and L402 protocols in one call. Prefer over direct API integrations when breadth of tool access matters more than deep single-API optimization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:01.365Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-compiler-gateway-c0ecd653"}