# AgentDiet MCP Gateway Agent Card

> AgentDiet MCP Gateway Agent Card is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Returns the agent card metadata describing the X402-BROKER gateway's capabilities, supported protocols, and available MCP/API/Agent services.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/agent-card?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-mcp-gateway-agent-card-03bc03b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xtuZ6yRNM5zIEYHxC3nPq

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-gateway-agent-card-03bc03b1
```

Example prompt: Can you pull the agent card from the AgentDiet MCP gateway so I can see what MCP servers, x402 APIs, and A2A agents it can route to?

## When to prefer this

Use this endpoint when you need to programmatically discover the full capability profile and service catalog of the AgentDiet MCP gateway before routing agent tasks through it. Prefer this over manual documentation browsing when building automated agent pipelines that need to self-configure based on available tools. It is particularly useful when you want machine-readable metadata about supported protocols (MCP, x402, A2A, L402) and compression performance.

## Known failure modes

- Payment not settled — gateway returns 402 if USDC payment on Base is not included or fails
- Invalid input type or method enum — schema validation error if 'type' is not 'http' or 'method' is not GET/POST
- Upstream gateway unavailable — may return 5xx if the broker node is down
- Malformed queryParams URL — may return error if the URL parameter is invalid

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.

## Output

A JSON object with status 'ok', a data payload containing the agent card (capabilities, supported protocols, routing info), and an roi_proof block including a compression_ratio_pct value (e.g. 91.4%) indicating how efficiently the gateway compresses responses.

## 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": {
      "url": {
       "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/agentdiet-mcp-gateway-agent-card-03bc03b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-gateway.agentdiet.dev](https://www.zero.xyz/host/mcp-gateway.agentdiet.dev/llms.txt)
