# 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 mesh.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, returning token-compressed results through a prompt-injection firewall for safe, single-connection tool discovery and routing.

## Facts

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

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 mesh-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-d9d30712 -d '<json body>'
```

Example prompt: Search the MCP and A2A tool index for capabilities related to 'context compression' and tell me which servers or tools are available, using the safe-proxy firewall to filter any injections.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability at runtime, especially when token efficiency matters and prompt-injection safety is required. Prefer this over hardcoding tool lists or manually browsing MCP registries — it consolidates 500+ servers into a single searchable interface with built-in safety filtering. Ideal for swarm architectures where agents need to self-route to the right tool.

## Known failure modes

- Empty or too-vague query returns no useful matches
- Query for a niche capability not indexed among the 500+ servers returns empty results
- Payment failure via x402 results in 402 response and no tool results
- Prompt-Guard firewall blocks a query that resembles an injection pattern, returning a rejection notice
- Malformed query (empty string) rejected by schema validation
- Network timeout if upstream MCP server index is temporarily 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://mesh.agentdiet.dev/paid)

## Output

Returns a token-compressed list of matching MCP servers or A2A tools relevant to the search query, including endpoint metadata, capability descriptions, and firewall-filtered safety status. Results are compressed by approximately 85% to minimize token usage in downstream agent contexts.

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