Skip to content
MCP server

Mail-MCP

Personal Outlook.com / Hotmail inbox: read, search, file, delete, unsubscribe via…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.2
Listing updated
5 days ago

About Mail-MCP

Mail-MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Personal Outlook.com / Hotmail inbox: read, search, file, delete, unsubscribe via Microsoft Graph.

Install

Run in a terminal

claude mcp add mail-mcp --env MAIL_MCP_CLIENT_ID='<MAIL_MCP_CLIENT_ID>' -- npx -y @rixtay/mail-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rixtay/mail-mcp"
      ],
      "env": {
        "MAIL_MCP_CLIENT_ID": "<MAIL_MCP_CLIENT_ID>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rixtay/mail-mcp"
      ],
      "env": {
        "MAIL_MCP_CLIENT_ID": "<MAIL_MCP_CLIENT_ID>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mail-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rixtay/mail-mcp"
      ],
      "env": {
        "MAIL_MCP_CLIENT_ID": "<MAIL_MCP_CLIENT_ID>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rixtay/mail-mcp"
      ],
      "env": {
        "MAIL_MCP_CLIENT_ID": "<MAIL_MCP_CLIENT_ID>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@rixtay/mail-mcp"
      ],
      "env": {
        "MAIL_MCP_CLIENT_ID": "<MAIL_MCP_CLIENT_ID>"
      }
    }
  }
}

Configuration

  • MAIL_MCP_CLIENT_IDApplication (client) ID of your Microsoft Entra app registration (see README). Run `npx -y @rixtay/mail-mcp login` once to sign in.Required
  • MAIL_MCP_CACHE_PATHToken cache location. Defaults to ~/.mail-mcp/token-cache.json.

Pricing

Open source

Mail-MCP FAQ

Is Mail-MCP free?

Yes. Mail-MCP is open source, so you can use and self-host it for free.

How do I add Mail-MCP to Claude Code?

Run this command in your terminal: claude mcp add mail-mcp --env MAIL_MCP_CLIENT_ID='<MAIL_MCP_CLIENT_ID>' -- npx -y @rixtay/mail-mcp