# IMPERIUM A2A Mesh – Universal MCP/A2A Tool Discovery & Swarm Router

> IMPERIUM A2A Mesh – Universal MCP/A2A Tool Discovery & Swarm Router 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-11-20).

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: GET https://mesh.agentdiet.dev/v1/mesh?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imperium-a2a-mesh-universal-mcp-a2a-tool-discovery-swarm-router-e732c979
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9-DDnTB3U-HW8tk-b8SN3

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-universal-mcp-a2a-tool-discovery-swarm-router-e732c979
```

Example prompt: Search the IMPERIUM mesh for up to 10 MCP servers or A2A tools that handle 'context compression' and show me which ones are available.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools exist for a given capability at runtime, rather than hard-coding integrations. Ideal for swarm orchestrators, agent marketplaces, or meta-agents that need to route sub-tasks to the best available tool. Preferred over static registries because it indexes 500+ live endpoints, applies token compression, and includes a prompt-injection firewall on returned tool metadata.

## Known failure modes

- Empty query string returns validation error
- Query returns zero results if no tools match the capability description
- Pagination cursor mismatch returns error or empty page
- Rate limiting or payment failure on $0.01 per-call x402 billing
- Malformed query causes server-side parse error

## 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://mesh.agentdiet.dev/v1/mesh)

## Output

Returns a paginated list of matching MCP server and A2A tool entries from a 500+ endpoint index, with capability descriptions and metadata, token-compressed for efficiency. Includes an opaque 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/imperium-a2a-mesh-universal-mcp-a2a-tool-discovery-swarm-router-e732c979/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)
