# 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 an index of 500+ MCP servers and A2A tools by capability query, routing agent requests through a token-compressed, prompt-firewalled meta-router

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/x402-gateway?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-ec49957f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MttEwMX0_JIf2ZRVYFi7J

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-ec49957f
```

Example prompt: Search the MCP and A2A tool index for any available endpoints that handle SEC filings or company financial data — I need something I can wire into my research agent.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover and route to external MCP or A2A tools without maintaining its own tool registry. It is especially useful when token budget is limited (85% compression), when security vetting of upstream tools is required, or when building swarm-style multi-agent systems that need to delegate to specialized sub-agents. Prefer over manual tool catalogs or self-maintained registries.

## Known failure modes

- Empty query string returns a 400 validation error
- Query matches no indexed tools, returning an empty results list
- Upstream MCP index temporarily unavailable, causing a 503 or timeout
- Highly ambiguous queries return low-relevance results
- Payment not fulfilled (HTTP 402) if x402 micropayment is not completed

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

## Output

Returns a list of matching MCP servers or A2A tool entries from a 500+ entry index, with token-compressed descriptions, endpoint URLs, capability tags, and routing metadata. Results are pre-filtered through a Prompt-Guard firewall to flag unsafe or injection-prone endpoints.

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