MCPLow riskUnclaimed

stalwart-mail-mcp

Mail and contacts on a self-hosted Stalwart server via JMAP: search, read, OCR, send, drafts.

cybersmurfcybersmurf/stalwart-mail-mcpUpdated Oct 2, 2026

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.cybersmurf/stalwart-mail-mcp",
  "description": "Mail and contacts on a self-hosted Stalwart server via JMAP: search, read, OCR, send, drafts.",
  "repository": {
    "url": "https://github.com/cybersmurf/stalwart-mail-mcp",
    "source": "github"
  },
  "version": "2.3.0",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "stalwart-mail-mcp",
      "version": "2.3.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Public address of the Stalwart server, e.g. https://mail.example.com",
          "isRequired": true,
          "format": "string",
          "name": "STALWART_URL"
        },
        {
          "description": "Mailbox e-mail address to sign in with",
          "isRequired": true,
          "format": "string",
          "name": "STALWART_USER"
        },
        {
          "description": "Mailbox or app password",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "STALWART_PASSWORD"
        },
        {
          "description": "Language: auto, en, cs, de, es, fr, it, nl, pl, pt, sk",
          "format": "string",
          "name": "MAIL_LANG"
        },
        {
          "description": "OCR of scans: auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom",
          "format": "string",
          "name": "MAIL_OCR_PROVIDER"
        },
        {
          "description": "API key of the OCR provider (not needed for local servers)",
          "format": "string",
          "isSecret": true,
          "name": "MAIL_OCR_API_KEY"
        },
        {
          "description": "OCR model name",
          "format": "string",
          "name": "MAIL_OCR_MODEL"
        },
        {
          "description": "Address of a custom OpenAI-compatible OCR server",
          "format": "string",
          "name": "MAIL_OCR_BASE_URL"
        }
      ]
    }
  ]
}

Permissions

DeclaredDetected
Runs code—node
Installs—npm:stalwart-mail-mcp@2.3.0
Runs install scripts—None
NetworkNoneNone
Needs credentialsMAIL_OCR_API_KEYSTALWART_PASSWORDMAIL_OCR_API_KEYSTALWART_PASSWORD
Outside the workspace—None
Agent tools—None

Checks

Low risk · Nothing worth a warning was found.

Not reviewed by a person · Checked by rules; the model review is not switched on yet.

Versions

  1. #12.3.0latestOct 7, 2026