# 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-23).

Searches an index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed metadata and prompt-injection firewall protection.

## Facts

- Endpoint: GET https://shopify-spy.agentdiet.dev/v1/mesh?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-f640c3cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PT0kpA7u3Wnt2ZswvtQba

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

Example prompt: Search the MCP tool index for servers that handle 'github security auditing' and show me the top 10 results.

## When to prefer this

Choose this endpoint when an AI agent or orchestrator needs to dynamically discover which MCP servers or A2A tools exist for a given capability, rather than hardcoding tool references. It is especially useful in swarm-routing scenarios where the agent must find and delegate to appropriate sub-agents or tools at runtime. Prefer it over manual tool catalogs when you need coverage across 500+ indexed servers in a single query.

## Known failure modes

- Empty results if the query string is too narrow or uses non-indexed terminology
- Pagination errors if an invalid or expired cursor is supplied
- Rate limiting or payment failure if the x402 micropayment is not completed
- Timeout if the meta-router index is temporarily unavailable
- Malformed query (empty string) rejected due to minLength:1 constraint

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

## Output

A paginated list of matching MCP servers and A2A tools relevant to the capability query, including endpoint metadata, descriptions, and URLs, with token-compressed output and prompt-injection firewall applied. Includes a cursor for fetching subsequent pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

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