{"uid":"cap_V92_5shQj5jja4pvClzqJ","slug":"mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-7ca07934","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/mesh/dispatch)","url":"https://mcp-compiler.agentdiet.dev/v1/mesh/dispatch?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_-44pw9heGTUaB1YKVCAbQ","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 an index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed metadata through a Prompt-Guard firewall.","exampleAgentPrompt":"Search the MCP mesh index for tools that can do SEC filings retrieval — I want to find available servers and see their compressed capability summaries.","exampleUseCases":[{"title":"Discovering SEC filing tools for a research agent","prompt":"Search the MCP tool index for any servers that handle SEC filings or financial document retrieval — I need to wire up a research agent and want to see what's available."},{"title":"Finding a prompt-safe proxy for GitHub audits","prompt":"Can you search the mesh router for MCP tools that do GitHub security auditing? I want something with prompt injection protection so it's safe to use in my automated pipeline."},{"title":"Routing a swarm agent to company enrichment tools","prompt":"I'm building a swarm of agents and need to find the right tool for B2B lead enrichment and company data lookups — search the MCP index and show me what's indexed for that capability."}],"resultDescription":"Returns a list of matching MCP servers or A2A tools relevant to the capability query, with metadata compressed by up to 85% for token efficiency. Results pass through a Prompt-Guard firewall to block malicious prompt injections from upstream tools. The response is a JSON object containing matched endpoints, their capabilities, and routing information.","failureModes":["Empty query string returns validation error","No matching tools found for obscure or overly specific capability queries","Upstream MCP server unavailable causing partial results","Firewall blocks legitimate but flagged tool descriptions","Payment not processed via x402, resulting in 402 response","Rate limiting if called too frequently"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover and route to the right MCP server or A2A tool at runtime rather than hard-coding a specific tool. It is especially useful when building swarm architectures, when the right tool is unknown ahead of time, or when token budget is a concern (85% compression). Prefer it over manual tool registries when safety from prompt injection via upstream tools is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:25:57.188Z","isFirstParty":false,"canonicalSlug":"mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-3602c71e"}