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

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

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/swarm-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: github-audit.agentdiet.dev
- Website: https://github-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/github-audit-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-385909e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VdrgJzcjgVFhuGKlu42JR

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 github-audit-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-385909e2
```

Example prompt: Search the swarm router index for MCP servers or A2A tools that can handle GitHub security auditing — I want to find what's available with a single query.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool to call for a capability, rather than hardcoding a tool URL. It is especially useful when the agent doesn't know which of 500+ indexed tools handles a given capability, or when token budget is constrained and compressed schemas are needed. Prefer it over manual tool registries when you want a single-connection meta-routing layer with built-in prompt firewall protection.

## Known failure modes

- Empty or too-short query returns no results
- Query matches no indexed tools — returns empty result set
- Endpoint URL verification fails if target is offline
- Rate limiting or x402 payment failure blocks the request
- Overly broad queries return too many loosely-matched tools

## 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://github-audit.agentdiet.dev/v1/swarm-router)

## Output

A list of matching MCP servers and A2A tool endpoints relevant to the search query, with compressed schemas (up to 85% token reduction) and safety-filtered results via Prompt-Guard firewall, allowing the agent to identify and connect to the right downstream tool.

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