Mail MCP logo

Mail MCP

Manage a personal Outlook.com or Hotmail inbox through Microsoft Graph with search, filing, deletion, and unsubscribe tools.

Install Mail 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": {
    "mail-mcp-2": {
      "command": "npx",
      "args": [
        "-y",
        "@rixtay/mail-mcp"
      ]
    }
  }
}

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

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Mail-MCP connects an MCP-compatible AI client to a personal Outlook.com, Hotmail, Live, or MSN mailbox through Microsoft Graph. It provides tools for folder management, message search and retrieval, sender-based triage, filing, deletion, and newsletter unsubscribe workflows. Sign-in happens through Microsoft in a browser, while the server runs locally and stores authentication on the user's computer. Use it when an assistant needs to organize or clean up a personal inbox without sending email.

Use cases

  • Triage an overflowing inbox by sender volume and unread count
  • Create folders and file messages into them
  • Search for messages by sender, date, unread state, or text
  • Unsubscribe from supported newsletters
  • Move or recover messages through Deleted Items

Key features

  • Microsoft Graph access for personal Outlook mailboxes
  • Sender aggregation with cached triage results
  • Folder creation, listing, search, and message retrieval
  • Bulk move and delete workflows with dry-run support
  • Newsletter unsubscribe through detected message headers
  • Local browser-based Microsoft sign-in

Tools9

What Mail MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.7k tokens of context

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.

12/12 checks healthy over the last 46d

What it can do

From the 9 tools this server returned when we ran it; 9 declare their own safety hints.

Can delete or modify data · 2Writes files · 1Makes network requests · 1Read-only tools · 6
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age53 days
Maintainers1

Observed 2026-11-01 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @rixtay/mail-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads833Package downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.

How Mail MCP works

What Mail-MCP does

Mail-MCP exposes Outlook.com mailbox operations as MCP tools for AI assistants. It supports personal Microsoft accounts using Outlook.com, Hotmail, Live, or MSN addresses. The available operations cover folder discovery and creation, message search, full message retrieval, sender aggregation, moving messages, deletion, bulk sender actions, and unsubscribe handling. Separate login and logout tools manage the Microsoft account connection, while a purge tool handles irreversible deletion.

The server is designed for inbox cleanup and organization. It can identify high-volume senders, show unread and recent-message counts, group messages by sender, and report available unsubscribe methods. It cannot send ordinary email and does not request Microsoft permission to send mail.

How it works

The server runs on the user's computer and communicates with Microsoft Graph for mailbox operations. Authentication opens a Microsoft sign-in flow in the browser. The author-operated service does not receive mailbox data or tokens; the documented remote endpoints are Microsoft's login and Graph hosts, plus a sender's unsubscribe endpoint when an unsubscribe action requires it.

Messages can be addressed using folder display names, paths, well-known folders such as inbox or archive, or folder IDs. Search results are compact and paginated; mail_get_message retrieves the full text and message details when needed. Moving a message gives it a new Outlook ID, and the move result maps each previous ID to its replacement.

For triage, mail_senders_summary scans a folder and groups messages by sender. The scan can cover up to 50,000 messages per call, is cached for the session, and can be limited with a date boundary. A partial scan reports lower-bound counts when a folder contains more messages than the scan limit.

Setup and configuration

Claude Desktop users can install the downloadable .mcpb package from the latest release, then ask the assistant to connect Outlook. For Claude Code, Node.js 22 or newer is required:

Terminal
claude mcp add --scope user --transport stdio mail -- npx -y @rixtay/mail-mcp

The same package can be started for other MCP clients through a standard stdio configuration using npx -y @rixtay/mail-mcp. If a client cannot locate npx, configure absolute paths to Node.js and the built server entry point. A terminal login is also available with npx -y @rixtay/mail-mcp login.

No app registration or configuration file is required for the normal sign-in flow. A personal Microsoft account is required; work and school accounts are not supported.

Tools and capabilities

  • List folders with total and unread message counts.
  • Create root or nested folders without duplicating an existing same-named folder.
  • Search by sender, date range, unread state, or full text, with pagination.
  • Retrieve message text, recipients, attachment presence, web link, and detected unsubscribe options.
  • Summarize senders across a folder for volume-based triage.
  • Move or delete up to 500 selected messages at once.
  • Move or delete all messages from an exact sender, with a dry-run count before action.
  • Unsubscribe using one-click HTTPS, a mailto address, or a browser link when available.

Limitations and notes

Normal deletion moves messages to Deleted Items, where they can be found and moved back; permanent deletion is handled separately and cannot be undone. Bulk sender operations act on up to 5,000 messages per call and require a non-dry-run request to perform changes. Unsubscribe does not delete messages, and suspicious or unsupported links may be blocked.

Email bodies are treated as sender-controlled data rather than instructions. Message content is truncated at 25,000 characters when returned. The server is intended for personal Outlook mailboxes and does not support work or school accounts. Node.js 22 or newer is required for the command-line setup.

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 Mail MCP

Mail-MCP is an MCP server that connects AI clients to personal Outlook.com, Hotmail, Live, and MSN mailboxes through Microsoft Graph. Its main tools list folders, search and retrieve messages, summarize senders, move or delete mail, create folders, and process newsletter unsubscribe requests.

Install it with the latest `.mcpb` package in Claude Desktop, or run `npx -y @rixtay/mail-mcp` through an MCP client's stdio configuration. Claude Code users can add it with `claude mcp add`; Node.js 22 or newer is required for command-line setup.

No, Mail-MCP supports personal Outlook.com, Hotmail, Live, and MSN accounts rather than work or school Microsoft accounts.

No, Mail-MCP cannot send email and does not request Microsoft send-mail permission. Its unsubscribe tool may provide a `mailto` link for the user to send from their own mail application.

Yes, the separate `mail_purge` tool permanently deletes up to 500 messages, but it cannot be undone. The regular delete tools move messages to Deleted Items instead, where they remain recoverable.

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 PreviewMail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mail-mcp-2?style=directory)](https://allmcps.com/mcp/mail-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/mail-mcp-2"><img src="https://allmcps.com/api/badge/mail-mcp-2?style=directory" alt="Mail MCP on AllMCPs" /></a>