# 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 a meta-index of 500+ MCP servers and A2A tools by capability query, returning compressed tool discovery results via a single connection with prompt-injection firewall protection.

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/mesh/dispatch?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-e317def7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R57AsN4wKVAvbgyUGaist

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

Example prompt: Search the MCP and A2A tool mesh for agents that can handle 'SEC filings' — I want to find what's available and route my next call to the right tool.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to use for a given capability rather than hardcoding a tool URL. It is especially useful for multi-agent swarm architectures where capability routing must be decided at runtime, or when you want a single connection point with built-in prompt-injection protection and token-compressed responses instead of querying individual tool registries separately.

## Known failure modes

- Empty results if query is too narrow or no indexed tools match the capability
- Payment required (HTTP 402) if x402 micropayment header is missing or malformed
- Timeout if the mesh index is unavailable or degraded
- Invalid query error if the query string is empty or below minimum length
- Firewall rejection if the query is flagged as a prompt-injection attempt by Prompt-Guard

## 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/mesh/dispatch)

## Output

A compressed list of matching MCP servers or A2A tools relevant to the query, including tool names, capability descriptions, and routing metadata — delivered with up to 85% token compression through a Prompt-Guard-filtered proxy response.

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