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

Searches and discovers MCP servers and A2A tools by capability query, returning token-compressed results via a single meta-router endpoint with built-in prompt-injection firewall.

## Facts

- Endpoint: GET https://shopify-intel.agentdiet.dev/v1/mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: shopify-intel.agentdiet.dev
- Website: https://shopify-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/shopify-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-f75dd403
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NbPmayBZLH_b9bJohTlIS

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-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-f75dd403
```

Example prompt: Search the MCP gateway for tools that can do SEC filings and company enrichment — return up to 20 results.

## When to prefer this

Choose this endpoint when you need to discover which MCP servers or A2A tools support a specific capability across a large index (500+) without connecting to each individually. It is especially useful when building agent swarms that need dynamic tool selection, or when you want token-compressed discovery results with built-in prompt-injection protection rather than querying raw tool registries directly.

## Known failure modes

- Empty query string returns validation error
- No matching tools found for obscure capability query returns empty result set
- Cursor pagination token expiry leads to invalid page error
- Rate limiting or payment required (HTTP 402) if x402 payment header is missing
- Downstream MCP server index unavailable causes partial or degraded results

## 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-intel.agentdiet.dev/v1/mcp-gateway)

## Output

A paginated JSON object containing matched MCP server and A2A tool records relevant to the capability query, including endpoint URLs, tool descriptions, and token-compressed metadata. Supports cursor-based pagination for navigating large result sets.

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