# 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 x402-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, firewall-screened results through a single connection.

## Facts

- Endpoint: GET https://x402-audit.agentdiet.dev/v1/workflows/code-release-security-gate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: x402-audit.agentdiet.dev
- Website: https://x402-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/x402-audit-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-3d5ed7f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-mJOWO08qZ3HCkElOvFcl

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 x402-audit-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-3d5ed7f6
```

Example prompt: Search the MCP and A2A tool index for any available endpoints that handle 'github security' — I want to discover what tools are indexed and get back the best matches with compressed descriptions.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP or A2A tools are available for a given capability at runtime, rather than hardcoding tool URLs. It is especially useful for swarm-orchestration scenarios, when you want a single safe-proxy connection instead of managing many tool connections, or when you need token-efficient capability descriptions for large tool catalogs.

## Known failure modes

- Empty or too-generic query returns no meaningful matches
- Queried endpoint URL not found in the 500+ index, returning empty results
- Prompt-Guard firewall flags a query as potentially malicious and blocks it
- Payment not processed (x402 HTTP 402 response) if $0.01 USDC not provided
- Service unavailable if meta-router backend is down, returning 5xx

## 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://x402-audit.agentdiet.dev/v1/workflows/code-release-security-gate)

## Output

A structured JSON object listing matching MCP servers and A2A tools for the query, with 85% token-compressed capability descriptions, safety/firewall status from the Prompt-Guard layer, and routing metadata for single-connection access.

## 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/x402-audit-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-3d5ed7f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-audit.agentdiet.dev](https://www.zero.xyz/host/x402-audit.agentdiet.dev/llms.txt)
