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

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

## Facts

- Endpoint: GET https://workflows.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: workflows.agentdiet.dev
- Website: https://workflows.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/workflows-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-97ae06d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WlnG4ixrFN0HsNPdroG0q

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 workflows-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-97ae06d2
```

Example prompt: Search the universal MCP gateway for any tools or servers that handle SEC filings and company enrichment — I want a compressed list of what's available with safety screening.

## When to prefer this

Choose this endpoint when an agent needs to discover which MCP servers or A2A tools exist for a given capability without knowing the specific endpoint in advance, especially when token budget is a concern (85% compression) or when safety screening against prompt injection is required before routing. Prefer it over direct tool calls when building swarm or orchestration agents that need a single unified index across hundreds of MCP servers.

## Known failure modes

- Query too vague — returns no relevant tools or overly broad matches
- Endpoint URL not found in index — returns unrecognized or unverified status
- Rate limit or payment failure via x402 — returns 402 Payment Required
- Downstream MCP server unreachable — routing result may be partial
- Prompt-Guard firewall blocks a query flagged as potentially malicious

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

## Output

Returns a filtered, token-compressed list of matching MCP servers and A2A tools relevant to the query, including metadata about each tool's capabilities, and safety screening results from the Prompt-Guard firewall. If an endpoint URL is supplied, returns a verification result indicating whether it is a recognized and safe MCP endpoint.

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