# 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 cve-intel.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-28).

Searches a meta-index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed results and prompt-guard firewall protection.

## Facts

- Endpoint: POST https://cve-intel.agentdiet.dev/v1/tool-search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Provider: cve-intel.agentdiet.dev
- Website: https://cve-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/cve-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-816d3b3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SFuRo8dimEUNs4juzKlRg

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 cve-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-816d3b3d -d '<json body>'
```

Example prompt: Search the MCP and A2A tool index for anything that can do 'context compression' — I need to find the best available tool for shrinking token usage in my agent pipeline.

## When to prefer this

Use this endpoint when an AI agent or orchestrator needs to dynamically discover which MCP servers or A2A tools exist for a given capability — especially in multi-agent swarms where the right downstream tool is not known at build time. Prefer this over hardcoded tool lists when the ecosystem is large (500+ servers) and the agent needs to self-assemble a toolchain at runtime. The built-in 85% token compression and Prompt-Guard firewall make it safer than querying raw registries.

## Known failure modes

- Empty or overly broad query returns too many low-relevance results
- Query for a very niche or newly registered tool may return no matches if not yet indexed
- Malformed query string (empty) rejected with validation error
- Payment/x402 authorization failure if funds are insufficient
- Endpoint URL verification may return not-found if the target is not indexed

## 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://cve-intel.agentdiet.dev/v1/tool-search)

## Output

Returns a list of matching MCP servers or A2A tool cards relevant to the search query, with token-compressed metadata, capability descriptions, endpoint URLs, and pricing information. Results are filtered through a Prompt-Guard firewall to block malicious tool descriptions.

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