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

Searches and routes queries across 500+ indexed MCP servers and A2A tools through a single compressed, firewall-protected connection

## Facts

- Endpoint: GET https://token-intel.agentdiet.dev/v1/swarm-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: token-intel.agentdiet.dev
- Website: https://token-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/token-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-7cced07b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aSsCUMJfAwcIirVB9Vi0d

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 token-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-7cced07b
```

Example prompt: Search the swarm router for MCP tools that handle 'github security audits' and return the best matching endpoints I can connect to.

## When to prefer this

Use this endpoint when an agent needs to dynamically discover the right MCP server or A2A tool from a large indexed pool without maintaining its own registry, especially when token budget is a concern (85% compression) or when prompt injection safety is required. Prefer this over hardcoded tool lists or direct MCP connections when the target capability is unknown upfront or varies by task.

## Known failure modes

- No tools found matching the query — returns empty result set
- Query string too vague or too short — may return irrelevant or overly broad results
- Endpoint URL verification fails if the URL is unreachable or non-compliant
- Payment required (HTTP 402) if x402 micropayment is not fulfilled
- Index lag may cause recently added MCP servers to not appear in results

## 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://token-intel.agentdiet.dev/v1/swarm-router)

## Output

Returns a list of matching MCP servers or A2A tools relevant to the query, with endpoint references, capability descriptions, and compressed metadata (85% token reduction) — optionally verified through the Prompt-Guard firewall before being returned.

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