# 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 preflight.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Indexes 500+ MCP servers and A2A tools, routes capability search queries with 85% token compression, and applies a Prompt-Guard firewall to responses.

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/swarm-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-4a35f3ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mq2dHU6oLq0TvMyvpQH7L

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 preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-4a35f3ab -d '<json body>'
```

Example prompt: Search the swarm router index for tools that handle SEC filings or company enrichment — I need the best available MCP or A2A endpoint for that capability, with token-compressed results and prompt injection filtering applied.

## When to prefer this

Choose this endpoint when an agent needs to discover the right tool from a large catalog of 500+ MCP servers and A2A tools in a single query, especially when token budget is tight (85% compression), when untrusted tool responses need safety-filtering, or when you want a single meta-router rather than querying each tool registry individually.

## Known failure modes

- Query too vague — returns zero or low-confidence matches
- Endpoint URL not indexed — returns not-found or unverified status
- Prompt-Guard blocks a legitimate result flagged as suspicious
- Token compression may drop edge-case metadata fields
- Service returns generic 500 if upstream MCP index is unavailable

## 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://preflight.agentdiet.dev/v1/swarm-router)

## Output

Returns a JSON object containing matched tools or MCP/A2A endpoints ranked by relevance, with metadata compressed by up to 85% to reduce token usage, and each result having passed through the Prompt-Guard firewall to strip prompt injection risks.

## 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/preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-4a35f3ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
