# 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 and routes to 500+ MCP servers and A2A tools via a single connection, with token-compressed responses and a prompt-injection firewall.

## Facts

- Endpoint: GET https://mcp-compiler.agentdiet.dev/v1/execute?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-38ad259e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8LI1nvnKHii3Ozm-FRLpp

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-38ad259e
```

Example prompt: Search the MCP tool index for capabilities related to 'SEC filings' and tell me which servers and tools are available so I can route my next agent call there.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to delegate a subtask to, rather than hard-coding tool integrations. Ideal for meta-agents or swarm orchestrators that need to find the right capability at runtime across a broad index of 500+ tools. Prefer this over manual tool registries when you need prompt-injection protection (Prompt-Guard firewall) and compressed tool metadata to stay within context limits.

## Known failure modes

- Empty or too-vague query returns low-relevance or no results
- Queried endpoint URL is unreachable or not a valid MCP/A2A endpoint
- Index may not include newly launched MCP servers not yet crawled
- Token compression artifacts may occasionally omit edge-case schema details
- Rate limiting or payment failure (x402) blocks the request

## 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/execute)

## Output

Returns a compressed list of matching MCP servers and A2A tools relevant to the query, including tool names, capabilities, and routing metadata — delivered with up to 85% token compression compared to raw tool schemas. May also verify whether a provided endpoint URL is a valid, compliant MCP/A2A endpoint.

## 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-38ad259e/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)
