{"uid":"cap_9nwm4t5kjWJ-A846k2UwL","slug":"mesh-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-d340ee42","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://mesh.agentdiet.dev/v1/agent-router)","url":"https://mesh.agentdiet.dev/v1/agent-router?utm_source=zero.xyz","method":"POST","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_dsHVR-mcOTx3gqqTgW0Mm","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"mesh.agentdiet.dev","brandSlug":"mesh-agentdiet-dev-mpp","brandBaseUrl":"https://mesh.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Discovers, proxies, and routes AI agent requests across 500+ MCP servers and A2A tools with token compression and prompt injection protection","exampleAgentPrompt":"Search the agent-router for any MCP servers or A2A tools that handle 'context compression' — I want to find the best available capability and have it safely proxied to my agent.","exampleUseCases":[{"title":"Agent capability discovery for swarm","prompt":"My autonomous agent swarm needs to find all available MCP servers that handle GitHub security auditing — can you search the meta-router for 'github security' and return the best matching tools with compressed metadata?"},{"title":"Safe-proxy routing with prompt firewall","prompt":"Before my agent calls that external MCP tool for SEC filings, I want to route it through the safe proxy with prompt-injection protection — can you send the query 'sec filings' through the agent-router to find and safely proxy the right endpoint?"},{"title":"Validate external tool endpoint safety","prompt":"Can you verify this endpoint URL against the agent-router index to check if it's a known, safe MCP server before my agent connects to it?"}],"resultDescription":"Returns a structured object listing matched MCP servers and A2A tools relevant to the query, with 85% token-compressed metadata, prompt-guard safety signals, and routing information for downstream agent calls.","failureModes":["Query too short or empty — returns validation error","No matching tools found for obscure capability query — empty result set","Prompt-Guard firewall blocks suspicious or injection-laden queries","Payment required error (x402) if API credits are exhausted","Idempotency-Key collision if reused UUID is supplied"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, especially when operating in multi-agent swarms, when token budget is tight (85% compression), or when proxying through an untrusted external tool where prompt injection is a risk. Prefer over direct MCP connections when a single-connection aggregator with built-in safety filtering is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:42:19.766Z","isFirstParty":false,"canonicalSlug":"mesh-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-3ac1dbb7"}