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

Searches and discovers MCP servers and A2A tools from a 500+ item index using a capability query, returning matching endpoints with token-compressed results through a Prompt-Guard firewall.

## Facts

- Endpoint: GET https://whale-momentum.agentdiet.dev/v1/mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: whale-momentum.agentdiet.dev
- Website: https://whale-momentum.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/whale-momentum-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-0586a21b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tleEUMMHuvr2vymBUcClZ

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 whale-momentum-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-0586a21b
```

Example prompt: Search the MCP tool index for any servers that support 'SEC filings' or 'company enrichment' and show me the top 10 results.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover and route to the correct MCP server or A2A tool from a large index without managing 500+ individual connections. It is best suited for swarm orchestration, meta-routing, or when the right downstream tool is not known in advance. Its built-in Prompt-Guard firewall and 85% token compression make it preferable over direct multi-server enumeration when safety and token budget are concerns.

## Known failure modes

- Empty results if the query string is too vague or no indexed tools match
- Pagination cursor invalid or expired, requiring restart from first page
- HTTP 402 payment required if x402 micropayment is not attached
- Rate limiting if too many queries are issued in quick succession
- Index may not reflect newly added MCP servers if not yet crawled

## 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://whale-momentum.agentdiet.dev/v1/mcp-gateway)

## Output

A paginated JSON object listing matching MCP servers and A2A tools from the 500+ item index, with token-compressed metadata about each endpoint's capabilities, filtered through a Prompt-Guard firewall. Includes an opaque cursor for fetching subsequent pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whale-momentum-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-0586a21b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whale-momentum.agentdiet.dev](https://www.zero.xyz/host/whale-momentum.agentdiet.dev/llms.txt)
