Pylos MCP logo

Pylos MCP

Read and draft email through MCP with message-risk warnings and sending disabled by default.

Install Pylos MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pylos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pylos-mcp"
      ],
      "env": {
        "PROVIDER": "YOUR_VALUE_HERE",
        "EMAIL_USER": "YOUR_VALUE_HERE",
        "EMAIL_PASSWORD": "YOUR_VALUE_HERE",
        "EMAIL_PASSWORD_CMD": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

pylos-mcp connects AI clients to Gmail, Outlook, Microsoft 365, iCloud, and other IMAP mailboxes through a local Node.js process. It lets an assistant inspect folders and messages, summarize threads, and prepare drafts while treating email content as untrusted input. Message analysis flags items such as hidden text, AI-directed instructions, lookalike characters, suspicious Reply-To domains, encoded data, and failed DMARC checks. Reach for it when an agent needs mailbox context but should not send, delete, or move messages by default.

Use cases

  • Review an inbox for urgent messages
  • Summarize long email threads
  • Draft replies without sending them
  • Inspect suspicious sender and message content
  • Test mailbox workflows with the demo inbox

Key features

  • Gmail, Outlook, Microsoft 365, iCloud, and IMAP support
  • Read-focused mailbox access
  • Draft creation with sending disabled by default
  • Warnings for suspicious email content
  • Local MCP execution through npx
  • Demo inbox without mailbox credentials

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/19 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · pylos-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads930Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Pylos MCP works

What pylos-mcp does

pylos-mcp exposes a mailbox to an MCP-compatible AI client for reading email and creating drafts. It supports Gmail, Outlook, Microsoft 365, iCloud, and other IMAP providers. Typical requests include listing folders, reviewing messages, identifying urgent items, summarizing a long thread, and drafting a reply.

Email is returned as data intended for inspection rather than as instructions for the assistant. The server adds a Warnings line when it detects patterns such as concealed text, wording aimed at an AI system, mixed-script or lookalike characters, a Reply-To address on another domain, encoded content, or a failed DMARC check.

How it works

The server runs locally and communicates with the selected MCP client through npx. Node.js 22 or later is required. For normal mailbox access, it connects to the configured provider using the supplied account details. Outlook and Microsoft 365 use Microsoft's sign-in flow; the first mailbox read opens a browser for authentication.

The --demo option replaces the real mailbox with a sample inbox. It makes no connection to a mail server and does not read local settings, so it can be used to inspect the server's behavior without signing in.

Attachments requested through the assistant are saved in the Downloads folder. Content read by the assistant is also sent to the AI client and the model provider used by that client.

Setup and configuration

Install the server as a local MCP process with npx -y pylos-mcp. Set PROVIDER to the mailbox provider and EMAIL_USER to the account address. Password-based providers use an app password in EMAIL_PASSWORD; an EMAIL_PASSWORD_CMD command can instead print the password at startup, which keeps it out of shell history and the client configuration. Outlook and Microsoft 365 require neither password variable.

Claude Desktop can use the downloadable MCP bundle or a standard local-server configuration. Cursor, VS Code, Windsurf, Cline, Claude Code, and other clients that run local MCP servers can use the same npx command and environment settings. Restart the client after changing configuration because tools register during startup.

For a no-account test, run:

Terminal
claude mcp add pylos-demo -- npx -y pylos-mcp --demo

Tools and capabilities

  • List mailbox folders.
  • Read email and inspect message content.
  • Identify messages that need attention.
  • Summarize longer email threads.
  • Create drafts without immediately sending them.
  • Add warnings for suspicious or concealed message content.
  • Save requested attachments to Downloads.

Limitations and notes

Sending is disabled initially, and drafts remain in the Drafts folder until a user sends them. Enabling sending still requires a recipient allowlist; optional confirmation can require approval before each message leaves the mailbox. Moving and deleting messages are also disabled until explicitly enabled. No tool attaches a file from the local disk or creates a forwarding rule.

A warning describes a detected message characteristic, not a verdict that the message is malicious. Image markup in messages is neutralized, but other tools available in the same AI client may still create separate paths to external communication. Use an app password instead of a regular account password for password-based providers.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pylos MCP

pylos-mcp is an MCP server that connects AI clients to Gmail, Outlook, Microsoft 365, iCloud, and other IMAP mailboxes. Its main tools let assistants list folders, inspect email, summarize threads, and create drafts, while adding warnings to suspicious content and keeping sending disabled by default.

Install it as a local MCP process with `npx -y pylos-mcp` and configure `PROVIDER` and `EMAIL_USER`. Use an app password in `EMAIL_PASSWORD` for password-based providers, or configure `EMAIL_PASSWORD_CMD`; Outlook and Microsoft 365 use browser-based Microsoft sign-in instead.

Yes, pylos-mcp works with Cursor. Add the local `npx -y pylos-mcp` command and configure the provider and mailbox environment variables in Cursor's MCP settings, then restart Cursor so the tools register.

Run pylos-mcp with the `--demo` option. It serves a sample inbox, connects to no mail server, and reads none of your settings; in Claude Code, the command is `claude mcp add pylos-demo -- npx -y pylos-mcp --demo`.

No, sending is disabled by default and drafts wait in the Drafts folder. If sending is enabled, recipients must still pass an allowlist, and confirmation can be required before each message is sent.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPylos MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pylos-mcp?style=directory)](https://allmcps.com/mcp/pylos-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/pylos-mcp"><img src="https://allmcps.com/api/badge/pylos-mcp?style=directory" alt="Pylos MCP on AllMCPs" /></a>