# 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 indexes 500+ MCP servers and A2A tools, routes queries to the right tool with 85% token compression and a Prompt-Guard firewall, returning results through a single connection.

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/universal-mcp-gateway?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-0afd00f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RyU9jBi7pysGb95_3VKTF

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

Example prompt: Search across all indexed MCP servers and A2A tools for anything that can handle 'company enrichment' — route me to the best match with compressed output and firewall protection enabled.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover the right tool or MCP server from a large index without hardcoding individual service URLs, especially when token budget is constrained (85% compression) or when prompt injection protection is required for untrusted inputs.

## Known failure modes

- No matching tool found for the query — returns empty or low-confidence match set
- Prompt-Guard firewall blocks query if it contains potentially unsafe or injection-like content
- Payment required error (HTTP 402) if x402 credentials are missing or insufficient
- Query too short or vague — minLength:1 enforced but vague queries may return poor matches
- Downstream MCP server unavailable — gateway may return partial or degraded results

## 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/universal-mcp-gateway)

## Output

Returns matched MCP servers or A2A tools relevant to the query, with token-compressed results and firewall-filtered responses, including routing metadata and tool capability descriptions.

## 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-0afd00f4/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)
