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

Searches a meta-index of 500+ MCP servers and A2A tools by capability query, returning token-compressed, prompt-injection-screened results through a single proxy connection

## Facts

- Endpoint: POST https://mesh.agentdiet.dev/v1/broker/execute?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-27708f89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yoo1l-HoeWpKjcsfiHxwb

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-27708f89 -d '<json body>'
```

Example prompt: Search the MCP tool registry for anything that handles 'context compression' or 'token pruning' so I can find the right server to route my agent's requests through.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which of 500+ MCP servers or A2A tools best matches a given capability requirement, rather than hardcoding tool URLs. Ideal for swarm orchestrators, meta-agents, and dynamic routing scenarios where the right tool is unknown at design time. Prefer it over manual tool registries when you also need prompt-injection safety screening and token-compressed results to preserve context window budget.

## Known failure modes

- Empty or vague query returns no meaningful matches
- Query too broad returns overwhelming number of results with low relevance
- Endpoint URL verification fails if the target MCP server is offline
- Rate limiting or payment failure (x402) if the $0.01 per-call quota is exceeded
- Firewall may block legitimate tools that trigger false-positive injection patterns
- Malformed or missing 'query' field returns 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://mesh.agentdiet.dev/v1/broker/execute)

## Output

Returns a token-compressed (up to 85% reduction) list of matching MCP servers or A2A tools from the 500+ tool index, including endpoint URLs, capability descriptions, and prompt-injection firewall screening status. Response is a generic JSON object containing matched tools and routing metadata.

## 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-27708f89/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)
