# 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 keyword or URL, returning matching endpoints with token-compressed metadata and prompt-injection firewall protection.

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/tool-search?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-5c8c9016
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YaxG4eRA-bOEjJrqZYBrY

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-5c8c9016
```

Example prompt: Search the MCP tool index for anything that can handle SEC filings or company financial data enrichment — I want to see what's available across the 500+ servers you index.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool is best suited for a specific capability — especially useful for swarm architectures or orchestration layers that need to route sub-tasks to specialized tools without pre-wiring every connection. Prefer it over hardcoded tool registries when the tooling landscape is large (500+), changes frequently, or when prompt-injection safety is a concern.

## Known failure modes

- Empty query string returns validation error (minLength:1 not met)
- Query too vague returns zero results or low-relevance matches
- Queried URL does not match any indexed endpoint
- Service unavailable if meta-router backend is down
- x402 payment failure if USDC balance insufficient for $0.01 fee

## 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 search query, including compressed metadata about each tool's capabilities, endpoint URLs, and relevant schema information — filtered through a Prompt-Guard firewall to prevent injection attacks.

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