Repository navigation
Releases
Releases · Rixtayz/Mail-MCP
v0.2.2
Changed
- Presented as Mail-MCP for personal Outlook: one name for Outlook.com, Hotmail, Live and MSN addresses. The Claude Desktop extension is now called "Mail-MCP for personal Outlook", and the npm, extension and MCP Registry descriptions list the supported addresses.
v0.2.1
Fixed
- The Claude Desktop extension did not start: Claude Desktop refused its display name, "Mail-MCP (Outlook.com / Hotmail)", because of the slash ("path escape"). It is now "Mail-MCP (Outlook.com and Hotmail)".
v0.2.0
Added
- A Claude Desktop extension (
.mcpb) for one-click install. mail_loginandmail_logouttools: the assistant signs the user in and out, so no terminal is needed.mail-mcp logoutdoes the same from the command line.PRIVACY.mdandTERMS.md.
Changed
MAIL_MCP_CLIENT_IDis now optional. Without it the server uses the built-in Mail-MCP app, so no Entra registration is needed.- When no account is signed in or the sign-in has expired, tools now tell the assistant to call
mail_logininstead of asking the user to run a terminal command. - A 401 or 403 from Microsoft now passes on Microsoft's error code and message instead of guessing a cause, and tells the assistant to call
mail_logout, thenmail_login, if it keeps happening. It used to ask for a terminal command. mail_senders_summarynow shows, for each sender, the methodmail_unsubscribewill use. A sender that offers both a link and amailto:address showsbrowser, no longermailto, since no email is needed.- Sign-in always shows Microsoft's account picker, so you choose which account Mail-MCP uses.
- Releases are published from GitHub Actions with npm provenance, and each GitHub release carries the
.mcpb. - The README is rewritten around the one-click install, with a security and privacy section.
Removed
- The
mailto:unsubscribe no longer sends an email.mail_unsubscribereturns amailtoUrllink for the user to open in their own mail app, because the recipient and text came from the sender's header.Mail.SendandUser.Readare no longer requested.
Fixed
- Deleting the token cache (or running
mail-mcp logout) while a server is running now signs that server out too. - When the token cache also held an account signed in under another client ID, the tools could answer that the sign-in had expired while
mail_loginreported the user signed in. Both now use the same account. - The page shown in the browser at the end of sign-in displayed raw HTML tags since 0.1.2. It is now plain text.
- An unreadable token cache file is treated as missing, so the next sign-in replaces it. Its content can no longer appear in an error message.
Security
- Upgraded
@azure/msal-nodeto 7.2.2 (GHSA-xcx6-jx8p-x3h5),@modelcontextprotocol/serverto 2.4.0 (GHSA-jm63-cq47-j5jp, GHSA-46jr-4wx8-v453, GHSA-rvq5-wwqv-78pq) andzodto 4.6.7 (GHSA-mrhx-c7xc-m3w5). mail_searchno longer follows acursor(or a@odata.nextLink) that points outside Microsoft Graph. A crafted cursor could make 0.1.x send the access token to another host.- Graph requests also refuse relative paths that leave
/v1.0, and never follow redirects.
v0.1.2 — safer one-click unsubscribe, msal-node 7
npx -y @rixtay/mail-mcp@0.1.2 --versionSecurity
mail_unsubscribeno longer sends the one-click POST to a host that is, or resolves to, a loopback, private, link-local or other non-public address (localhost,127.0.0.1,10.x,192.168.x,169.254.x,[::1],fd00::…). TheList-UnsubscribeURL is chosen by the sender, so a newsletter could otherwise make your machine POST to your router or a local service. Such links now fall back tomailto:, or to a URL for the browser. (#3)
Changed
- Dependencies:
@azure/msal-node7, whose browser sign-in now returns throughform_post(checked with a personal Outlook.com account), and@modelcontextprotocol/server2.1. (#1, #2)
If a tool answers "Token expired" after the upgrade, run npx -y @rixtay/mail-mcp login once more.
npm: @rixtay/mail-mcp@0.1.2 · MCP Registry: io.github.Rixtayz/mail-mcp · Full changes: v0.1.1...v0.1.2
v0.1.1 — listed in the MCP Registry
Mail-MCP is now in the official MCP Registry as io.github.Rixtayz/mail-mcp.
MAIL_MCP_CLIENT_ID=<your-client-id> npx -y @rixtay/mail-mcp loginAdded
mcpNameinpackage.jsonand aserver.json, for listing in the official MCP Registry asio.github.Rixtayz/mail-mcp.mail-mcp --version.
Changed
- Node.js 22 or newer is required (
engines). Node 20 reached end of life in April 2026; CI now runs Node 22 and 24 on Linux, macOS and Windows.
Fixed
- Sign-in errors now point to
npx -y @rixtay/mail-mcp login, which works for npx users. They used to suggestnpm run loginin a clone. - The version reported to MCP clients now comes from
package.jsoninstead of a hard-coded string.
npm: @rixtay/mail-mcp@0.1.1 · MCP Registry: io.github.Rixtayz/mail-mcp · Full changes: v0.1.0...v0.1.1
v0.1.0 — first public release
First public release of Mail-MCP: an MCP server that lets Claude (or any MCP client) clean up a personal Outlook.com / Hotmail / Live mailbox through Microsoft Graph.
MAIL_MCP_CLIENT_ID=<your-client-id> npx -y @rixtay/mail-mcp loginAdded
- MCP server over stdio with nine tools:
mail_list_folders,mail_create_folder,mail_search,mail_get_message,mail_senders_summary,mail_move,mail_delete,mail_bulk_by_senderandmail_unsubscribe. mail-mcp login: browser sign-in (authorization code + PKCE, public client, no secret) with a 0600 file token cache.- Unsubscribe cascade: RFC 8058 one-click POST, then
mailto:, then a URL for the assistant's browser. - Safe defaults: deletion moves to Deleted Items,
permanent: trueto purge,dryRunon bulk actions, MCP annotations on every tool.
npm: @rixtay/mail-mcp@0.1.0 · Setup (Entra app registration, Claude Desktop / Claude Code config): see the README.