# 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 shopify-spy.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-injection firewall protection.

## Facts

- Endpoint: POST https://shopify-spy.agentdiet.dev/v1/a2a-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Provider: shopify-spy.agentdiet.dev
- Website: https://shopify-spy.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/shopify-spy-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-187ca6e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c-8EQj4RPOILjGSsmY4_U

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 shopify-spy-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-187ca6e1 -d '<json body>'
```

Example prompt: Search the MCP and A2A tool index for servers that can handle SEC filings and company enrichment — I need to find the best available endpoints for those capabilities.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability, especially in swarm or multi-agent architectures where you don't want to hardcode tool endpoints. Prefer it over manual tool registries when you need breadth (500+ indexed servers), built-in safety (prompt-injection firewall), and token efficiency (85% compression).

## Known failure modes

- Empty or overly vague query returns no matches
- Query string too short (minLength: 1 violated) returns validation error
- Unknown or unindexed endpoint URL returns no match
- Service unavailability returns 402 or 5xx error
- Prompt-guard firewall may filter or reject malicious-looking queries

## 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://shopify-spy.agentdiet.dev/v1/a2a-router)

## Output

Returns a list of matched MCP servers or A2A tools relevant to the capability query, including endpoint metadata, descriptions, and token-compressed representations. Results are screened through a prompt-injection firewall before being returned.

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