# 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 and routes queries across 500+ indexed MCP servers and A2A tools, returning matching capabilities with token-compressed results through a prompt-guard firewall.

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/b2b-osint-dag?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-c7fdc190
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CepYfRVI36z288PQwu22R

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

Example prompt: Search the MCP tool index for any servers that handle 'github security' auditing — I want to find available endpoints I can route my agent to.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools exist for a given capability rather than hardcoding tool endpoints. It is especially useful when building meta-agents or swarms that need to self-configure their tool access, or when you want to verify whether a specific endpoint URL is indexed and compliant.

## Known failure modes

- No matching tools found for the query string — returns empty result set
- Query too vague or short triggers validation error (minLength:1 enforced)
- Upstream MCP server index unavailable — returns service error
- Payment not authorized via x402 — returns HTTP 402 before processing
- Prompt injection detected by firewall — request blocked with security notice

## 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/b2b-osint-dag)

## Output

Returns a list of matching MCP servers or A2A tools from the 500+ item index, with token-compressed capability descriptions, endpoint URLs, and metadata about each matching tool, filtered through a Prompt-Guard firewall.

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