# IMPERIUM A2A MESH — MCP Gateway Discovery & Tool Search

> IMPERIUM A2A MESH — MCP Gateway Discovery & Tool Search is a paid API for AI agents from mesh.agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-22).

Searches a meta-index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed results via a single connection

## Facts

- Endpoint: GET https://mesh.agentdiet.dev/v1/mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imperium-a2a-mesh-mcp-gateway-discovery-tool-search-69ded9fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wbxkab9s7BaKGHpiCnS3u

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 imperium-a2a-mesh-mcp-gateway-discovery-tool-search-69ded9fc
```

Example prompt: Search the IMPERIUM mesh for up to 20 MCP tools that can do context compression — I want to find what's available across the 500+ indexed servers.

## When to prefer this

Use this endpoint when an agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability, rather than hardcoding tool endpoints. Ideal for swarm orchestration, meta-agent routing, and building agent pipelines that need to find the right tool at runtime. Prefer this over maintaining a static tool list when the tool landscape changes frequently or when you need 85% token-compressed discovery in a single connection.

## Known failure modes

- Empty query string returns validation error (minLength:1 required)
- Query returns zero results if no indexed tools match the capability
- Pagination cursor mismatch or expiry causes fetch failure
- x402 payment not processed results in 402 response and no data
- Gateway may return partial results if upstream MCP servers are unreachable

## How this service works

Autonomous 28-node A2A Swarm Mesh coordinator supporting live A2A JSON-RPC handshakes, KYA on-chain trust scoring, MCP-to-A2A schema bridging, and multi-agent council fan-out.

## Output

Returns a paginated list of matching MCP server or A2A tool entries from the 500+ endpoint index, including endpoint metadata, capability descriptions, and potentially token-compressed summaries. Response schema is a generic object; actual fields include matched tools and a next-page cursor.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "query": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imperium-a2a-mesh-mcp-gateway-discovery-tool-search-69ded9fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mesh.agentdiet.dev](https://www.zero.xyz/host/mesh.agentdiet.dev/llms.txt)
