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

Searches an index of 500+ MCP servers and A2A tools by capability query, returning compressed, firewall-filtered results for agent routing and discovery

## Facts

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

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 llms-generator-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-724e9aea -d '<json body>'
```

Example prompt: Search the universal MCP gateway index for tools that handle 'B2B lead enrichment' so I can find the right server to route my company data calls through.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool supports a given capability at runtime, rather than hardcoding tool references. Especially useful for swarm architectures that need to route tasks to the best available tool, or when you want a single safe-proxy layer with prompt injection protection across a large tool ecosystem.

## Known failure modes

- Empty or too-broad query returns generic results with low relevance
- Unknown or unindexed endpoint URL returns no match
- Query for very niche capability returns zero results if not yet indexed
- Rate limit or payment failure (402) blocks the request
- Malformed query string triggers input 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://llms-generator.agentdiet.dev/v1/universal-mcp-gateway)

## Output

A compressed (up to 85% token reduction) JSON object listing matched MCP servers or A2A tools relevant to the query, including capability metadata, endpoint URLs, and Prompt-Guard firewall status — filtered and safe for direct agent routing.

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