# 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-21).

Searches an index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed metadata and prompt-guard filtering

## Facts

- Endpoint: GET 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-21
- 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-479f0ce8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7O1EN1ReGo-_xNnM6faF8

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-479f0ce8
```

Example prompt: Search the universal MCP gateway for tools that handle 'github security auditing' — I need to find an MCP server or A2A tool with that capability so I can route my agent to it.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability, rather than hardcoding tool URLs. Ideal for swarm orchestrators, meta-agents, or agent pipelines that need to self-configure at runtime. Preferred over manual tool catalogs when the agent ecosystem is large (500+ tools) and token budget is a concern, given the 85% compression claim.

## Known failure modes

- Empty query string returns validation error (query is required, minLength 1)
- No matching tools found for obscure or misspelled capability queries
- Prompt-Guard firewall may block queries flagged as adversarial or injection attempts
- HTTP 402 payment required if x402 micropayment header is missing or invalid
- Stale index entries if an underlying MCP server has gone offline since last crawl

## 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

Returns a filtered, token-compressed list of matching MCP servers or A2A tools from a 500+ entry index, including endpoint URLs, capability descriptions, and routing metadata, all screened through a Prompt-Guard firewall to prevent malicious tool injection.

## 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-479f0ce8/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)
