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

Meta-router that searches 500+ MCP servers and A2A tools by capability query, routes requests through a prompt-injection firewall, and returns compressed results via a single connection.

## Facts

- Endpoint: POST https://mcp-security.agentdiet.dev/v1/mesh/dispatch?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-2289673b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CvJSJ-ELeBkF8yF-9pNvP

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-2289673b -d '<json body>'
```

Example prompt: Search the MCP mesh for tools that handle SEC filings or company enrichment — I want a single connection that finds the best available server and returns clean, compressed results.

## When to prefer this

Choose this endpoint when an agent needs to discover the right MCP server or A2A tool from a large index without managing individual connections to 500+ services. It is especially valuable when you want built-in prompt-injection protection, token-compressed responses to reduce LLM costs, or a single payment-enabled (x402) connection that handles routing across the entire mesh.

## Known failure modes

- Query too vague — returns no matching tools or low-confidence matches
- Endpoint URL verification fails if the target MCP server is offline or non-compliant
- Prompt-Guard firewall blocks the dispatch if the query itself resembles a prompt-injection attempt
- Payment failure via x402 if USDC balance is insufficient ($0.01 per call)
- Timeout if the mesh index is temporarily unavailable or overloaded

## 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/mesh/dispatch)

## Output

A compressed (up to 85% token reduction) JSON object listing matching MCP servers or A2A tools for the given query, including tool metadata, routing information, and any prompt-guard firewall flags raised during dispatch.

## 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-2289673b/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)
