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

Searches and proxies across 500+ MCP servers and A2A tools via a single connection, with 85% token compression and a Prompt-Guard firewall for safe routing.

## Facts

- Endpoint: POST https://serp-extract.agentdiet.dev/v1/swarm-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: serp-extract.agentdiet.dev
- Website: https://serp-extract.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/serp-extract-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-bfbfe3c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__C9WjjOEzyVchbwLkJO6r

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 serp-extract-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-bfbfe3c2 -d '<json body>'
```

Example prompt: Search the MCP and A2A tool index for any servers that handle SEC filings or company financial data — I need to find and route to the best available tool for that capability.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which of 500+ MCP servers or A2A tools best matches a capability need, rather than hard-coding a specific tool. Ideal for meta-orchestration, swarm routing, and scenarios where the right downstream tool is unknown at design time. Prefer this over direct tool calls when token efficiency and Prompt-Guard safety are required.

## Known failure modes

- No matching tool found for the query — returns empty results
- Query too vague or short (minLength:1 not met) — returns validation error
- Prompt-Guard firewall blocks potentially unsafe or injected queries — returns rejection notice
- Downstream MCP server unavailable — routing fails with connectivity error
- Payment not completed (x402) — request rejected before processing

## 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://serp-extract.agentdiet.dev/v1/swarm-router)

## Output

Returns a list of matching MCP servers or A2A tools relevant to the capability query, with compressed metadata (85% token reduction), routing recommendations, and Prompt-Guard firewall validation to ensure safe proxying.

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