Home › Communication › pylos-mcp

pylos-mcp

Email MCP server for Gmail, Outlook and any IMAP mailbox, hardened against prompt injection

TypeScript CloudLocal macOSLinux
★ 4 stars Last pushed 2026-10-15 License: MIT

Topics: Communication

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 1.2.0)

npx -y [email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "pylos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "EMAIL_USER": "<YOUR_VALUE>",
        "EMAIL_PASSWORD": "<YOUR_VALUE>",
        "PROVIDER": "<YOUR_VALUE>",
        "IMAP_HOST": "<YOUR_VALUE>",
        "CAPABILITIES": "<YOUR_VALUE>",
        "MS_CLIENT_ID": "<YOUR_VALUE>",
        "MS_TENANT": "<YOUR_VALUE>"
      }
    }
  }
}
  • EMAIL_USER required — Account login.
  • EMAIL_PASSWORD secret — App password. Either this or EMAIL_PASSWORD_CMD is required, except with PROVIDER=outlook, which signs in through the browser.
  • PROVIDER — One of gmail, outlook, icloud, yahoo, gmx, fastmail, mailbox.org, posteo. Fills in IMAP, SMTP and Sieve hosts and ports.
  • IMAP_HOST — IMAP hostname for self-hosted or unlisted providers. Overrides the preset.
  • CAPABILITIES — Comma-separated list of tiers beyond read, which is always included. Defaults to drafts.
  • MS_CLIENT_ID — With PROVIDER=outlook only. Application ID of an app registered in your organization's tenant.
  • MS_TENANT — With PROVIDER=outlook only. Tenant ID or domain, for a single-tenant MS_CLIENT_ID.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry