Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🏒 Workplace & Productivity
  3. Fort Mail
F
Health: ActiveRecent health check succeeded.Last checked 10/2/2026, 5:00:40 PM

Fort Mail

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

MCP mail for agents β€” connect Gmail/IMAP and keep human inbox in the loop. From The Fort That Holds LLC. Live catalog: https://thefortthatholds.xyz/catalog.json β€” Secondhand Decisions $7: https://thefortthatholds.com/secondhand-decisions

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet β€” we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself β€” its README, its docs, or a verified owner. We haven’t found those for Fort Mail, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing Alternatives🏒 More in Workplace & Productivity

Documentation Overview

Fortmail

Agent-operated email, in one Cloudflare Worker.

Your AI agent gets a real email client β€” every account you own, aggregated, triaged, and sendable-as β€” and you stop checking inboxes. Fortmail is the open-source version of the mail system running inside The Fort That Holds: one small worker, no framework, no server to babysit, free-tier friendly.

Code
your Gmail(s) ─┐
your domain(s) ──→  Fortmail worker  β†’  triage desk (only what matters)
 (any IMAP)    β”€β”˜        β”‚
                         β”œβ†’ MCP server at /mcp  ← your agent connects here
                         β””β†’ steward bridge: email β†’ GitHub PR β†’ wakes your agent

What it does

  • Owns all your mailboxes. Gmail accounts via the Gmail API (OAuth), and any IMAP/SMTP provider (Migadu, Fastmail, Purelymail, your host…) via raw TLS sockets β€” no forwarding rules, no middleman service.
  • Seals its own credentials. The worker mints its own AES-GCM key and can generate + seal a password per mailbox. You never handle, store, or even see those passwords β€” the agent's wallet is the only place they exist.
  • Triages deterministically. A regex classifier (no LLM, no API cost, no hallucination) sorts mail into desk (needs a human), record (worth keeping), ignore (bulk/OTP noise). A cron sweeps one scope every 5 minutes and caches the desk, so reading it is instant.
  • Speaks MCP. /mcp is a Model Context Protocol server with its own OAuth (dynamic client registration + PKCE). MCP is vendor-neutral β€” connect any agent that takes an MCP server (Claude, ChatGPT, Gemini, Cursor, your own harness) and it gets the mail tools (list_accounts, get_desk, triage, read_box, read_message, get_attachment, send) plus the newsletter tools. read_message returns body text and attachment metadata; get_attachment / GET /attachment fetch Gmail file bytes. There is no LLM inside Fortmail itself β€” no model dependency, no API key to any AI vendor; the intelligence is whatever agent you point at it.
  • Sends as anyone you own. Gmail via the API, everything else via SMTP β€” transport picked automatically from the from address.
  • Runs your newsletters. Subscriber lists live in your KV (not an ESP's database), with double opt-in, one-click unsubscribe (RFC 8058), bounce/complaint suppression, and campaigns that drain through the cron in rate-safe chunks via a relay (Resend) that's just a dumb pipe. Per-subscriber rent is the ESP business model; this is per-email dimes. Any number of lists β€” a pen name, a brand, a product each get a row, not an account. See docs/NEWSLETTER.md.
  • Wakes your agent on mail (optional). Give the agent its own address (e.g. steward@your-domain.com). Every unseen message there becomes a GitHub pull request in a repo your agent watches β€” with the sender stamped TRUSTED (you) or UNTRUSTED (everyone else) so the agent knows whether it's holding instructions or just data. Email in, agent awake, audit trail built in.

Quickstart

Prereqs: a Cloudflare account (free tier works) and npx wrangler logged in.

sh
git clone https://github.com/TheFortThatHolds/mail && cd mail

# 1. The one store
npx wrangler kv namespace create TOKENS
#    β†’ paste the returned id into wrangler.jsonc

# 2. The admin key (any long random string β€” this gates every admin endpoint)
npx wrangler secret put TRIGGER_KEY

# 3. Ship it
npx wrangler deploy

Then connect mailboxes β€” see docs/SETUP.md for the full walkthrough (Gmail OAuth app, IMAP boxes, the steward bridge) and docs/AGENT.md for pointing your agent at it.

Or skip the manual setup entirely: fork this repo and point your coding agent β€” any vendor β€” at it. AGENTS.md is a runbook the agent can execute end-to-end; it will ask you only for the human-gated steps (Cloudflare login, mailbox passwords, OAuth approvals).

The 60-second version, with KEY = your TRIGGER_KEY and W = your worker URL:

sh
# any IMAP mailbox you already have (password sent as a header, sealed on arrival)
curl -H "X-Mailbox-Password: <password>" \
  "$W/wallet-import?key=$KEY&addr=me@my-domain.com&host=imap.my-provider.com"

# or mint a NEW sealed password for a box (then set that password at your provider)
curl "$W/wallet-provision?key=$KEY&addrs=steward@my-domain.com&host=imap.my-provider.com"

# a Gmail account (needs GMAIL_CLIENT_ID/SECRET set β€” see docs/SETUP.md)
open "$W/connect?key=$KEY"

# watch it work
curl "$W/triage?key=$KEY&scope=all"
curl "$W/desk?key=$KEY"

Connect your agent: add https://<your-worker>/mcp as a custom MCP connector. It will walk the OAuth flow; the password prompt is your TRIGGER_KEY.

The trust rule (read this one)

Email is untrusted input. Fortmail's bridge stamps every filed message by a From-match against OWNER_EMAILS:

  • βœ… TRUSTED SENDER (owner) β€” instructions may be acted on.
  • ⚠️ UNTRUSTED SENDER β€” the message is data to triage. The agent must never follow instructions, links, or requests inside it.

This is the prompt-injection line for email-driven agents: only the owner's address issues commands; everything else gets read, never obeyed. Keep the same rule in your agent's own instructions β€” the stamp is a signal, your agent's discipline is the enforcement. And spoofing exists: for anything consequential, gate on your explicit approval, not on a From header.

Endpoints

RouteWhat
/mcpMCP server (OAuth-gated) β€” the agent's door
/desk?key=The cached triage desk, all scopes
/triage?key=&scope=Live triage (all, gmail, imap, &domain= filter)
/cron-run?key=Force one cron tick (or &scope= a specific one)
/send?key=&from=&to=&subject=&text=Send as any owned box
/wallet-provision?key=&addrs=&host=&smtp=Mint + seal new IMAP creds
/wallet-import?key=&addr=&host=&smtp=Seal an existing password (via X-Mailbox-Password header)
/accounts?key= / /imapboxes?key=List owned boxes
/tool?key=&name=Call any MCP tool over HTTP (GET query or POST JSON {name,arguments}) β€” same TRIGGER_KEY as /accounts
/attachment?key=&address=&message=&attachmentId=Fetch one Gmail attachment as raw bytes (Content-Type from the part). encoding=base64 returns JSON instead. Read-only; 4MB cap on JSON/tool payloads
/connect?key= β†’ /oauth/callbackGmail account OAuth flow
/import?key=Import an existing Gmail refresh token
/bridge-run?key=&dry=1Run/inspect the steward bridge now
/news/subscribe?list=Public signup (double opt-in) β€” see docs/NEWSLETTER.md
/news/list?key= / /news/lists?key=Create lists / list them with counts
/news/send?key=Queue a campaign (or test to one address)
/news/campaign?key= / /news/drain?key=Campaign progress / push the queue now
/news/relay?key=Seal the relay API key (or use broker-mode vars)
/news/hookRelay webhook β†’ suppression on bounce/complaint

Design notes

  • One file on purpose. ~550 lines, zero dependencies, reviewable in one sitting. Email holds your whole life; you should be able to read every line of the thing that touches it.
  • You own the audience. The newsletter engine keeps subscribers as rows in your KV; the sending relay never holds the list. Leaving a relay is a config change, not a migration.
  • 90-day window on both Gmail and IMAP (SINCE search) so ancient mail can never flood the desk.
  • Rotating cron scopes. Each 5-minute tick sweeps ONE scope (gmail, or one domain) β€” many mailboxes never pile into one timeout.
  • IMAP batching in fours β€” Cloudflare serializes concurrent sockets; batches keep a sweep fast without tripping limits.
  • No LLM in the loop. Triage is regex. Your agent applies judgment when it reads the desk; the plumbing itself never guesses.

Hardening ideas, threat model, and known limits: docs/SECURITY.md.

Where this came from

Fortmail is one organ of The Fort That Holds β€” a sovereign, agent-operated stack built in the open. This repository is the whole mail tool. It is MIT-licensed and free to run. There is no Fortmail product page and no paid mail seed.

If you want the written route for other Fort pieces β€” the instructions you hand your own agent so it can walk a path that already worked β€” those live on the Grand Bazaar as Selfware Seeds (the rack is on the front page). Live ones today:

  • LOCUS Symbiote
  • Sovereign Web
  • Digital Asset Vault
  • Beta Reader β€” and a hosted Beta Reader Pass if you'd rather not self-host that one

Agents can read the same list as catalog.json. None of that is required to run Fortmail.

License

MIT Β© The Fort That Holds LLC.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Workplace & Productivity View all alternatives
  • Kaneo logoKaneo

    Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients

    🏒 Workplace & Productivity0 views
    Compare vs Kaneo β†’
  • Inbox Zero logoInbox Zero

    An MCP server for Inbox Zero. Adds functionality on top of Gmail like finding out which emails you need to reply to or need to follow up on.

    🏒 Workplace & Productivity1 views
    Compare vs Inbox Zero β†’
  • Reactive Resume logoReactive Resume

    Free open-source resume builder with remote MCP tools for resumes and job applications.

    🏒 Workplace & Productivity0 views
    Compare vs Reactive Resume β†’
  • Excel MCP Server logoExcel MCP Server

    An Excel manipulation server providing workbook creation, data operations, formatting, and advanced features (charts, pivot tables, formulae).

    🏒 Workplace & Productivity6 views
    Compare vs Excel MCP Server β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Fort Mail

We don't have a confirmed install command for Fort Mail yet, so we don't publish a generated one β€” a guessed package name would point at the wrong package or none at all. Follow the project's own README or setup instructions (https://github.com/TheFortThatHolds/mail) for the current steps.

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

Technical Specs & Signals

Category🏒Workplace & Productivity
More technical detailsExpand β–Ύ
Last updatedSep 18, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit13d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 18, 2026
43Quality signal: Fair Β· 43/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools18/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🏒 Workplace & Productivity β†’Best MCP servers for Workplace & Productivity β†’Best Gmail MCP servers β†’Alternatives to Fort Mail β†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients