# AgentDiet MCP/A2A Meta-Router & Capability Search

> AgentDiet MCP/A2A Meta-Router & Capability Search is a paid API for AI agents from mcp-security.agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-11-20).

Searches and indexes 500+ MCP servers and A2A tools by capability query, returning matching endpoints with 85% token-compressed metadata via a single unified mesh connection.

## Facts

- Endpoint: GET https://mcp-security.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/agentdiet-mcp-a2a-meta-router-capability-search-746ad9bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gdJcrsx2eVCTjun9qotpP

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 agentdiet-mcp-a2a-meta-router-capability-search-746ad9bb
```

Example prompt: Search the AgentDiet MCP mesh for up to 20 tools related to 'context compression' and show me what's available.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools exist for a given capability, rather than hardcoding tool lists. Especially useful for meta-agent architectures that need to find and route to the right specialist tool at runtime. Prefer over manual tool registries when you need coverage across 500+ endpoints with compressed, token-efficient responses.

## Known failure modes

- Empty query string returns validation error (minLength:1 required)
- Limit exceeding 100 returns schema validation error
- Invalid or expired pagination cursor returns error or empty results
- Upstream MCP server index temporarily unavailable returns 5xx
- Query matches no indexed capabilities returns empty result set

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

## Output

A paginated list of matching MCP server or A2A tool entries from the 500+ endpoint index, with capability descriptions and metadata compressed to reduce token usage. Includes an opaque cursor for fetching the next page of results.

## 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/agentdiet-mcp-a2a-meta-router-capability-search-746ad9bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-security.agentdiet.dev](https://www.zero.xyz/host/mcp-security.agentdiet.dev/llms.txt)
