# Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router

> Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router is a paid API for AI agents from mcp-compiler.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Searches an index of 500+ MCP servers and A2A tools by capability query and returns compressed, firewall-screened results via a single connection

## Facts

- Endpoint: GET https://mcp-compiler.agentdiet.dev/v1/universal-mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: mcp-compiler.agentdiet.dev
- Website: https://mcp-compiler.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-2d6cbfb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A9djFAhw5fdEdbwzIX10R

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-2d6cbfb6
```

Example prompt: Search the MCP tool index for servers that handle 'SEC filings' and show me the top matches with compressed metadata — I want to find the right tool to connect to without browsing hundreds of servers manually.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hardcoding a specific tool. It is especially useful in swarm architectures, meta-agent routers, or when building systems that need to adapt to a changing landscape of 500+ tools without managing individual integrations. Prefer it over manually curated tool lists when breadth of discovery and token-efficient responses matter.

## Known failure modes

- Empty or too-vague query returns no useful matches
- Queried endpoint URL not found in the index returns a not-found result
- Rate limiting or payment failure (HTTP 402) if x402 payment is not attached
- Prompt-Guard firewall may reject queries containing injection-like patterns
- Index may not yet include newly published MCP servers

## How this service works

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/universal-mcp-gateway)

## Output

Returns a compressed (up to 85% token reduction), firewall-screened list of matching MCP servers and A2A tools relevant to the capability query, including tool names, endpoint metadata, and verification status where applicable.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-2d6cbfb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-compiler.agentdiet.dev](https://www.zero.xyz/host/mcp-compiler.agentdiet.dev/llms.txt)
