{
  "ok": true,
  "protocol": "mcp",
  "protocolVersion": "2024-11-05",
  "transport": "streamable-http",
  "jsonRpcEndpoint": "https://agent-email-x402.architect-x402.workers.dev/mcp",
  "serverInfo": {
    "name": "agent-email-x402",
    "version": "2.4.0"
  },
  "description": "Agent Email ? Transactional & alert email dispatcher with Markdown-to-HTML compilation",
  "capabilities": {
    "tools": {}
  },
  "x402": {
    "version": 2,
    "network": "eip155:8453",
    "priceUsdc": "0.005"
  },
  "tools": [
    {
      "name": "agent_send_email",
      "description": "Dispatches transactional or alert emails on behalf of an autonomous AI agent. Automatically compiles Markdown into responsive HTML emails (0.005 USDC via x402 on Base).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "description": "Recipient email address (or comma-separated list of recipients)"
          },
          "subject": {
            "type": "string",
            "description": "Email subject line"
          },
          "markdown": {
            "type": "string",
            "description": "Markdown email content (automatically compiled into responsive HTML email)"
          },
          "text": {
            "type": "string",
            "description": "Optional plain text body fallback"
          },
          "html": {
            "type": "string",
            "description": "Optional raw HTML body override"
          },
          "replyTo": {
            "type": "string",
            "description": "Optional Reply-To email address"
          }
        },
        "required": [
          "to",
          "subject"
        ]
      }
    },
    {
      "name": "agent_preview_email",
      "description": "Read-only dry-run validation and Markdown-to-HTML compilation preview for autonomous AI agent emails (0.005 USDC via x402 on Base).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "description": "Recipient email address (or comma-separated list of recipients)"
          },
          "subject": {
            "type": "string",
            "description": "Email subject line"
          },
          "markdown": {
            "type": "string",
            "description": "Markdown email content (automatically compiled into responsive HTML email)"
          },
          "text": {
            "type": "string",
            "description": "Optional plain text body fallback"
          },
          "html": {
            "type": "string",
            "description": "Optional raw HTML body override"
          },
          "replyTo": {
            "type": "string",
            "description": "Optional Reply-To email address"
          }
        },
        "required": [
          "to",
          "subject"
        ]
      }
    }
  ]
}