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

Searches 500+ indexed MCP servers and A2A tools by capability query, returning compressed, firewall-screened results via a single meta-router connection

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/api/mcp/audit?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-6fc953eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yUI5AJOodmFsP3_TLukZp

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-6fc953eb -d '<json body>'
```

Example prompt: Search the MCP tool index for any servers that can handle SEC filings or company financial data enrichment — I want a curated shortlist with token-compressed descriptions and prompt-injection screening already applied.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover the right MCP server or A2A tool at runtime rather than hard-coding a specific integration. It is especially valuable for swarm orchestration scenarios where the best tool is unknown upfront, when token budget is tight (85% compression), or when untrusted third-party tools need prompt-injection vetting before use.

## Known failure modes

- Empty query string returns 400 validation error
- No matching tools found for obscure or highly specific queries returns empty results array
- Endpoint URL verification fails if the remote server is offline or non-compliant
- Rate limiting or payment failure (HTTP 402) if x402 micropayment is not provided
- Prompt-Guard may flag legitimate tools as suspicious, producing false positives

## 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/api/mcp/audit)

## Output

Returns a structured JSON object listing matched MCP servers or A2A tools, ranked by relevance to the query, with 85% token-compressed descriptions and Prompt-Guard firewall verdicts flagging any detected prompt-injection risks in the discovered tools.

## 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-6fc953eb/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)
