# 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-11-18).

Meta-router that searches 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed responses and prompt-injection firewall protection.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/a2a-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-18
- 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-a417959e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AyRjJ3rpqkfesu5XZv41o

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

Example prompt: Search the A2A and MCP tool index for any servers or tools that handle GitHub security audits — I want to find the best one I can route my agent through safely.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool to use for a given capability without maintaining its own index, especially when operating in multi-agent or swarm architectures requiring a single connection point with built-in safety filtering and token efficiency.

## Known failure modes

- Empty or too-broad query returns low-relevance or no results
- Queried capability not indexed among the 500+ servers, returning empty match set
- Malformed endpoint URL input fails validation
- Rate limiting or payment failure (x402) blocks the request
- Prompt-Guard firewall may suppress results flagged as potentially adversarial

## 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/a2a-router)

## Output

Returns a list of matching MCP servers or A2A tools relevant to the query, with capability metadata and token-compressed descriptions (up to 85% compression), filtered through a Prompt-Guard firewall to block prompt injection risks. The response object includes matched tool endpoints, summaries, and routing information.

## 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-a417959e/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)
