Fortmail MCP Server
Agent-operated email in one Cloudflare Worker (MIT)
Fortmail is a Communication MCP (Model Context Protocol) server: Agent-operated email in one Cloudflare Worker (MIT). It is MIT-licensed and self-hosted from its source repository. Listed on MCP Collection since September 2026.
About Fortmail
Open-source agent-operated email in one Cloudflare Worker. Fortmail connects Gmail via the Gmail API and other mailboxes via IMAP, triages deterministically with regex, exposes an OAuth-gated MCP server at /mcp, and sends as owned mailboxes via the Gmail API or SMTP. Free-tier-friendly and MIT licensed.
How to connect Fortmail to Claude, Cursor or VS Code
Fortmail is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).
{
"mcpServers": {
"fortmail": {
"command": "<start command from the README>",
"args": []
}
}
}
The exact command (often npx, uvx or docker) is in the project README at github.com/TheFortThatHolds/mail.
Fortmail FAQ
What is Fortmail?
Fortmail is a Model Context Protocol (MCP) server in the Communication category. Agent-operated email in one Cloudflare Worker (MIT). MCP servers expose tools that AI assistants like Claude can call during a conversation.
How do I use Fortmail with Claude or Cursor?
Fortmail is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).
Is Fortmail free to use?
Fortmail is published under the MIT license, so the software itself is free to run. Hosted or API-backed servers may have their own usage tiers; check the project homepage.
Where is the source code for Fortmail?
The source is at github.com/TheFortThatHolds/mail.