{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.cybersmurf/stalwart-mail-mcp",
  "slug": "io.github.cybersmurf.stalwart-mail-mcp",
  "title": "stalwart-mail-mcp",
  "summary": "Mail and contacts on a self-hosted Stalwart server via JMAP: search, read, OCR, send, drafts.",
  "version": "2.3.0",
  "serverKey": "stalwart-mail-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.cybersmurf.stalwart-mail-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.cybersmurf.stalwart-mail-mcp/install.md",
  "trust": {
    "score": 88,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:03:02.074629638Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stalwart-mail-mcp@2.3.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add stalwart-mail-mcp -e 'STALWART_PASSWORD=<STALWART_PASSWORD>' -e 'STALWART_URL=<STALWART_URL>' -e 'STALWART_USER=<STALWART_USER>' -- npx -y stalwart-mail-mcp@2.3.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"stalwart-mail-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"stalwart-mail-mcp@2.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"STALWART_PASSWORD\": \"<STALWART_PASSWORD>\",\n        \"STALWART_URL\": \"<STALWART_URL>\",\n        \"STALWART_USER\": \"<STALWART_USER>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"stalwart-mail-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"stalwart-mail-mcp@2.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"STALWART_PASSWORD\": \"<STALWART_PASSWORD>\",\n        \"STALWART_URL\": \"<STALWART_URL>\",\n        \"STALWART_USER\": \"<STALWART_USER>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"STALWART_PASSWORD\",\n      \"id\": \"stalwart-password\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"STALWART_URL\",\n      \"id\": \"stalwart-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"STALWART_USER\",\n      \"id\": \"stalwart-user\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"stalwart-mail-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"stalwart-mail-mcp@2.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"STALWART_PASSWORD\": \"${input:stalwart-password}\",\n        \"STALWART_URL\": \"${input:stalwart-url}\",\n        \"STALWART_USER\": \"${input:stalwart-user}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.stalwart-mail-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"stalwart-mail-mcp@2.3.0\"]\nenv = { \"STALWART_PASSWORD\" = \"<STALWART_PASSWORD>\", \"STALWART_URL\" = \"<STALWART_URL>\", \"STALWART_USER\" = \"<STALWART_USER>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "STALWART_URL",
      "required": true,
      "secret": false,
      "description": "Public address of the Stalwart server, e.g. https://mail.example.com",
      "help": "Public address of the Stalwart server, e.g. https://mail.example.com",
      "placeholder": "<STALWART_URL>"
    },
    {
      "name": "STALWART_USER",
      "required": true,
      "secret": false,
      "description": "Mailbox e-mail address to sign in with",
      "help": "Mailbox e-mail address to sign in with",
      "placeholder": "<STALWART_USER>"
    },
    {
      "name": "STALWART_PASSWORD",
      "required": true,
      "secret": true,
      "description": "Mailbox or app password",
      "help": "Mailbox or app password",
      "placeholder": "<STALWART_PASSWORD>"
    },
    {
      "name": "MAIL_LANG",
      "required": false,
      "secret": false,
      "description": "Language: auto, en, cs, de, es, fr, it, nl, pl, pt, sk",
      "help": "Language: auto, en, cs, de, es, fr, it, nl, pl, pt, sk",
      "placeholder": "<MAIL_LANG>"
    },
    {
      "name": "MAIL_OCR_PROVIDER",
      "required": false,
      "secret": false,
      "description": "OCR of scans: auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom",
      "help": "OCR of scans: auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom",
      "placeholder": "<MAIL_OCR_PROVIDER>"
    },
    {
      "name": "MAIL_OCR_API_KEY",
      "required": false,
      "secret": true,
      "description": "API key of the OCR provider (not needed for local servers)",
      "help": "API key of the OCR provider (not needed for local servers)",
      "placeholder": "<MAIL_OCR_API_KEY>"
    },
    {
      "name": "MAIL_OCR_MODEL",
      "required": false,
      "secret": false,
      "description": "OCR model name",
      "help": "OCR model name",
      "placeholder": "<MAIL_OCR_MODEL>"
    },
    {
      "name": "MAIL_OCR_BASE_URL",
      "required": false,
      "secret": false,
      "description": "Address of a custom OpenAI-compatible OCR server",
      "help": "Address of a custom OpenAI-compatible OCR server",
      "placeholder": "<MAIL_OCR_BASE_URL>"
    }
  ],
  "expectedTools": [
    "mail_list_mailboxes",
    "mail_search_emails",
    "mail_get_email",
    "mail_get_attachment",
    "mail_send_email",
    "mail_create_draft",
    "mail_send_draft",
    "mail_delete_draft",
    "mail_search_contacts",
    "mail_add_contact"
  ],
  "agentSteps": [
    "Ask the user for: STALWART_URL, STALWART_USER, STALWART_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: mail_list_mailboxes, mail_search_emails, mail_get_email, mail_get_attachment, mail_send_email, mail_create_draft, mail_send_draft, mail_delete_draft, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:03:02.074629638Z"
}
