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

Searches and routes across 500+ indexed MCP servers and A2A tools via a single meta-router endpoint with token compression and prompt-injection firewall

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/broker/catalog?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-28
- 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-5f68d847
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PEKGhffwh9eJGGSog071f

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

Example prompt: Search the agentdiet tool catalog for any MCP servers or A2A agents that handle 'github security audit' so I can route my workflow to the best available one.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover, search, or route to external MCP servers or A2A tools at runtime without hardcoding individual service URLs. Especially useful in swarm-agent architectures where the right tool for a task is not known in advance, or when token efficiency matters and 85% compression is valuable. Prefer this over direct tool invocation when the tool landscape is broad and you want a safe-proxied, firewall-protected meta-layer.

## Known failure modes

- Empty results if query terms are too narrow or misspelled
- Payment failure if x402 micropayment is not properly initialized
- Query too short (minLength:1 not satisfied) returns validation error
- Firewall blocks query if it resembles prompt injection
- Timeout if catalog index is temporarily unavailable
- Generic object response with no matches if no tools fit the query

## 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/broker/catalog)

## Output

Returns a catalog of matching MCP server and A2A tool entries relevant to the query, including tool names, capability descriptors, endpoint URLs, and routing metadata, filtered through the Prompt-Guard firewall for safety.

## 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-5f68d847/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)
