# 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-18).

Searches a meta-index of 500+ MCP servers and A2A tools by capability query, routing requests through a prompt-injection firewall with 85% token compression

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/execute?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-18
- 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-2e2bf094
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FVEDdyQ9paRFZ5OfCXDaU

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-2e2bf094 -d '<json body>'
```

Example prompt: Search the agentdiet meta-index for MCP tools that handle SEC filings and company enrichment — I need to find the best available tools for those capabilities.

## When to prefer this

Use this endpoint when an AI agent needs to discover or route to one of hundreds of MCP servers or A2A tools without managing individual connections, especially when token efficiency matters or when upstream tool safety (prompt injection screening) is a concern. Prefer it over direct tool calls when you don't know which specific tool to use for a capability, or when you want a single connection point that handles routing, compression, and firewall screening across a large tool ecosystem.

## Known failure modes

- Empty or vague query returns no matches or low-relevance results
- Endpoint URL verification fails if the target is offline or non-compliant
- Prompt-Guard firewall may block or flag responses from suspicious upstream tools
- Payment required error (HTTP 402) if x402 micropayment is not attached
- Timeout if upstream MCP server is slow to respond during proxy routing

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

## Output

Returns a list of matching MCP servers or A2A tools from a 500+ item meta-index, with tool metadata and routing information, delivered with 85% token compression through a Prompt-Guard firewall that screens for prompt injection.

## 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-2e2bf094/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)
