# AgentDiet MCP Router

> AgentDiet MCP Router is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Universal meta-router that discovers, proxies, and routes queries across 500+ MCP servers and A2A tools with token compression and prompt-injection firewall.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/mcp-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-mcp-router-01ca1fb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AJF9zYAlIDaIdpXjRAzho

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-router-01ca1fb1
```

Example prompt: Search the MCP router for tools that can handle live web search — find me the best available A2A endpoints indexed across all 500+ servers, and return the compressed results.

## When to prefer this

Choose this endpoint when you need to discover or route across a broad ecosystem of MCP servers and A2A tools from a single connection, especially when token efficiency matters (85% compression) or when you need prompt-injection protection built into the proxy layer. Prefer it over direct MCP server calls when the right tool is unknown and discovery is needed first.

## Known failure modes

- No matching tools found for the given query — returns empty or low-confidence results
- Query too vague or ambiguous — router returns broad unrelated tool listings
- Upstream MCP server unavailable — proxy returns degraded or partial results
- Payment not confirmed — 402 response blocking access
- Rate limiting or overload — slow or timeout response
- Prompt-injection attempt blocked by Prompt-Guard — request rejected with firewall alert

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

## Output

Returns a compressed list of matching MCP servers or A2A tools (from a 500+ server index), including metadata about each tool's capabilities, endpoints, and routing information. Responses use 85% token compression to minimize context window usage, with Prompt-Guard firewall filtering applied to protect against injected content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-mcp-router-01ca1fb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
