# 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 a meta-index of 500+ MCP servers and A2A tools by capability query and routes execution through a token-compressed, prompt-firewalled proxy

## Facts

- Endpoint: GET https://mcp-compiler.agentdiet.dev/v1/broker/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-716bfa89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0sWkUeYf-K4GT6xeSn4_u

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-716bfa89
```

Example prompt: Search the MCP tool index for anything that can do SEC filings or company enrichment — I want to know which servers are available and get their compressed tool descriptions.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool can fulfill a capability at runtime, rather than hard-coding a specific tool. Ideal for swarm orchestration, multi-agent pipelines, or when the right downstream tool is unknown. The built-in token compression and prompt firewall make it preferable over direct MCP connections when context window efficiency and safety are priorities.

## Known failure modes

- No matching tools found for obscure or misspelled capability queries — returns empty results
- Query string too short or vague — may return low-relevance broad matches
- Upstream MCP servers unavailable — proxy may return partial or stale index results
- Payment required (HTTP 402) if x402 micropayment header is missing or invalid
- Rate limiting if too many queries are made in quick succession

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

## Output

Returns a structured object listing matching MCP servers and A2A tools relevant to the query, including compressed (85% token reduction) tool schemas, endpoint URLs, and routing metadata. May include prompt-guard firewall status and compliance indicators.

## 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-716bfa89/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)
