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

Searches and discovers MCP servers and A2A tools from an index of 500+ sources using a capability query, with token-compressed results and a prompt-guard firewall.

## Facts

- Endpoint: GET https://arxiv-digest.agentdiet.dev/v1/mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: arxiv-digest.agentdiet.dev
- Website: https://arxiv-digest.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/arxiv-digest-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-0a2672ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MxPhnfeRfuzGQrr5h_zod

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 arxiv-digest-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-0a2672ad
```

Example prompt: Search the MCP and A2A tool index for 'github security audit' and return up to 10 matching tools so I can pick the best one for my coding agent pipeline.

## When to prefer this

Choose this endpoint when an AI agent or orchestrator needs to dynamically discover MCP servers or A2A tools at runtime without hardcoding integrations. It is especially useful for swarm architectures that need to route tasks to the best available tool, or when building meta-agents that compose capabilities on the fly from a large indexed pool of 500+ services.

## Known failure modes

- Empty result set if query is too narrow or no matching tools are indexed
- Missing or invalid query parameter returns a 400 error
- Pagination cursor mismatch or expiry causes a failed next-page fetch
- Payment failure (x402) if the $0.01 per-call fee is not settled
- Prompt-Guard firewall may block queries detected as adversarial or injection attempts

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

## Output

A paginated list of matching MCP servers or A2A tool entries relevant to the capability query, with token-compressed metadata (up to 85% compression) and a next-page cursor for continued browsing. Each result includes tool name, description, and routing/proxy details.

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