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

Searches an index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed results via a Prompt-Guard firewall proxy

## Facts

- Endpoint: POST https://github-audit.agentdiet.dev/v1/tool-search?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-6d21b586
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JXadqXOuQIV6My7852GVH

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

Example prompt: Search across all available MCP servers and A2A tools to find me something that can do GitHub security auditing — I need a tool that handles repository analysis.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hard-coding a specific API. Ideal for swarm architectures where agents must self-route to the right tool at runtime, or when building meta-agents that orchestrate other agents across a large tool ecosystem. Prefer this over manual tool registries when the tool landscape changes frequently or when token efficiency in discovery is important.

## Known failure modes

- Empty or too-short query returns no results or validation error
- Query too broad returns low-relevance tool matches
- Payment failure (x402) if USDC balance insufficient — returns 402 status
- Firewall blocks query if flagged as adversarial by Prompt-Guard
- Timeout if meta-index is unavailable or overloaded
- Invalid idempotency key format returns 400 error

## 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/tool-search)

## Output

Returns a list of matching MCP servers or A2A tools relevant to the capability query, with compressed metadata (85% token reduction), endpoint URLs, descriptions, and routing information, filtered through a Prompt-Guard firewall to block adversarial content.

## 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-6d21b586/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)
