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

Indexes 500+ MCP servers and A2A tools to route capability queries, proxy calls with 85% token compression, and filter outputs through a Prompt-Guard firewall.

## Facts

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

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-security-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-236c3fea -d '<json body>'
```

Example prompt: Search the MCP tool index for something that can do 'SEC filings retrieval' and route me to the best match — I need it filtered through the prompt firewall and compressed so it fits my context window.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover the right MCP server or A2A tool from a large index (500+) without maintaining separate connections to each, especially when token budget is limited (85% compression) and untrusted tool outputs must be sanitized before being fed back into the agent context.

## Known failure modes

- Query too vague — no matching tools found in the index
- Target MCP server unavailable or unresponsive — proxy timeout
- Prompt-Guard firewall blocks response due to detected injection
- Payment not processed (x402) — 402 response returned
- Invalid or malformed query string — validation error

## 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-security.agentdiet.dev/v1/a2a-router)

## Output

Returns a list of matching MCP servers or A2A tools ranked by relevance to the query, along with proxied, token-compressed responses from the selected tool and a Prompt-Guard firewall scan indicating whether any prompt injection threats were detected.

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