# 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 or x402, $0.01/call, status unknown (last checked 2026-10-21).

Searches and routes across 500+ indexed MCP servers and A2A tools via a single connection, with 85% token compression and prompt-injection firewall protection

## Facts

- Endpoint: GET https://mesh.agentdiet.dev/v1/a2a-mesh?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: mesh.agentdiet.dev
- Website: https://mesh.agentdiet.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mesh-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-4a3fd14e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-F3yHsP0NMl8iLNkN-EXP

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-4a3fd14e
```

Example prompt: Search the MCP tool index for servers that support context compression and return the top matches with token-compressed metadata.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover the right tool or MCP server for a given capability without hardcoding endpoints — especially useful in multi-agent swarms, orchestration layers, or when building agents that must self-route to appropriate tools. Prefer this over manual tool registries when you need 500+ tool coverage with built-in token compression and safety filtering in a single call.

## Known failure modes

- Query too vague returns low-relevance or empty results
- Endpoint URL not found in index returns no match
- Rate limiting or x402 payment failure blocks access
- Prompt-Guard firewall may flag edge-case queries as suspicious
- Index may lag behind newly registered MCP servers

## How this service works

mesh-a2a-mesh: Live A2A v0.3 Handshake Auditor, Monetization Compiler & Multi-Agent JSON-RPC Federation Hub

## Output

Returns a token-compressed list of matching MCP servers or A2A tools matching the capability query, including tool metadata, endpoint details, and prompt-injection safety status. If given an endpoint URL, returns verification and safety status for that specific endpoint.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "query": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## 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-4a3fd14e/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)
