{"uid":"cap_6CMIuxePQmrEnzdbAnB3B","slug":"mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-48ff924a","name":"Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router","description":"Single-connection meta-router indexing 500+ MCP servers & A2A tools with 85% token compression and Prompt-Guard firewall. (Live x402 v2, IETF MPP & MCP endpoint at https://mcp-compiler.agentdiet.dev/v1/agent-router)","url":"https://mcp-compiler.agentdiet.dev/v1/agent-router?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","minLength":1,"description":"Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.01","displayCostAsset":"USD","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":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y_69Oo_G3Bqi2fmQjMWSV","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"mcp-compiler.agentdiet.dev","brandSlug":"mcp-compiler-agentdiet-dev-mpp","brandBaseUrl":"https://mcp-compiler.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches a meta-index of 500+ MCP servers and A2A tools by capability query, returning token-compressed results through a Prompt-Guard firewall","exampleAgentPrompt":"Search the MCP and A2A tool index for servers that handle 'SEC filings' — I need to find the right endpoint to route my agent to for financial document retrieval.","exampleUseCases":[{"title":"Routing agent to SEC filing tools","prompt":"Search the MCP tool index for 'SEC filings' and tell me which servers can handle financial document retrieval so I can wire up my agent correctly."},{"title":"Discovering GitHub security audit tools","prompt":"I need to find MCP servers or A2A tools that can do GitHub security audits — search the meta-router index for 'github security' and give me the best matches."},{"title":"Finding company enrichment endpoints","prompt":"My agent needs to enrich B2B leads — can you search for 'company enrichment' in the MCP and A2A tool directory and return the top routing options?"}],"resultDescription":"A list of matching MCP servers and A2A tool endpoints relevant to the capability query, with token-compressed descriptions (85% compression via Prompt-Guard firewall), routing metadata, and endpoint URLs for direct use by an agent swarm.","failureModes":["Query too vague — returns no matching tools or low-relevance results","Queried endpoint URL is unreachable or returns non-compliant JSON-RPC — flagged by firewall","Payment not completed via x402 — returns HTTP 402 blocking result","Rate limiting or quota exceeded — request rejected","Index out of date — newly published MCP servers not yet indexed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover the right MCP server or A2A tool for a given capability at runtime, rather than hard-coding a specific integration. Especially useful for swarm orchestration, meta-agent routing, or when the capability domain is unknown at build time. The built-in Prompt-Guard firewall makes it preferable when prompt-injection risk from third-party tool descriptions is a concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:48:48.820Z","isFirstParty":false,"canonicalSlug":"mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-3602c71e"}