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

Meta-router that searches, proxies, and routes queries across 500+ MCP servers and A2A tools through a single connection with token compression and prompt firewall protection.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/swarm-execute?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-64718eef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rWJpvVQbl8JBrI2vFN9Bk

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-64718eef -d '<json body>'
```

Example prompt: Search the swarm router for any MCP tools or A2A agents that can handle SEC filings and company lead enrichment — I want to find and route through the best available option in a single call.

## When to prefer this

Choose this endpoint when you need to discover or route to multiple AI tools, MCP servers, or A2A agents through a single API call rather than managing dozens of individual connections. It is best suited for agent orchestration pipelines that need dynamic tool selection, token-efficient responses, and built-in prompt injection protection. Prefer it over direct MCP server connections when you want a unified discovery layer with firewall safety.

## Known failure modes

- No matching tools found for the query — returns empty results or low-confidence matches
- Query string too vague or too short — may return irrelevant or broad tool matches
- Prompt-Guard firewall blocks the query as potentially unsafe — returns a rejection notice
- Downstream MCP server unavailable — proxy routing fails for specific tools
- Payment not fulfilled via x402 — request blocked before tool discovery executes
- Idempotency-Key collision causing repeated results from a cached prior call

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

## Output

Returns matched MCP server endpoints and A2A tools relevant to the query, along with routing metadata, compressed token output (up to 85% reduction), and Prompt-Guard firewall validation status. The response is a generic JSON object containing discovered capabilities and proxied results.

## 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-64718eef/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)
