{
  "name": "inboxjson",
  "version": "0.1.0",
  "description": "Turn inbound email into structured JSON webhooks, for humans and agents.",
  "protocolVersion": "2025-06-18",
  "transport": {
    "type": "http",
    "url": "https://inboxjson.9cloud.io.vn/mcp"
  },
  "authentication": {
    "type": "bearer"
  },
  "tools": [
    {
      "name": "list_messages",
      "description": "List extracted messages for this account, newest first.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "inbox_id": {
            "type": "string",
            "description": "Filter to one inbox."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 10
          }
        }
      }
    },
    {
      "name": "get_message",
      "description": "Fetch one message and its extracted JSON by id.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      }
    },
    {
      "name": "parse_email",
      "description": "Extract structured JSON from an email body without routing it (dry run).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Plain-text body of the email."
          },
          "subject": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "inbox_id": {
            "type": "string",
            "description": "Use this inbox schema for field mapping."
          }
        },
        "required": [
          "text"
        ]
      }
    }
  ]
}