ThunderSend MCP
Provides compose-only integration with Thunderbird/Betterbird mailboxes, enabling an AI assistant to save drafts, open compose windows for review/send, and list sender accounts and identities for message sending. It cannot read, search, move, tag, delete, forward, or reply to mail.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ThunderSend MCP
A compose-only MCP server for Thunderbird and Betterbird. An AI assistant connected through it can do exactly two things with your mailbox:
saveDraft -- write a message to the Drafts folder.
sendMail -- open a compose window for you to review and send (or, only if you explicitly disable the safety setting, send directly).
Two helper tools exist so a client can pick a sender identity: listAccounts and getAccountAccess. That is the whole surface. There is no tool to read, search, move, tag, delete, forward or reply to mail, and no contact, calendar, folder or filter access. The code for those features was removed from the extension, not merely hidden behind a flag.
ThunderSend is a minimal fork of
TKasperczyk/thunderbird-mcp
(MIT). The compose, draft, attachment-safety and authentication code is taken
verbatim from upstream v0.9.0; see LICENSE.
How it works
MCP client (Claude, etc.) <-- stdio --> mcp-bridge.cjs <-- HTTP 127.0.0.1 --> ThunderSend extensionThe extension runs an HTTP server bound to
127.0.0.1on port 8765 (or the next free port). Every request needs aBearertoken that is generated randomly on each start with the XPCOM random generator.Port and token are written to
<temp>/thundersend-mcp/connection.jsonwith mode 0600 andO_EXCL; the bridge reads that file. Nothing is sent anywhere else.The bridge and the extension each enforce a hard allow-list of the four tools.
The manifest has no
update_url: the add-on never fetches updates from a third-party server. Rebuild and reinstall to upgrade.
Related MCP server: Thunderbird MCP
Safety defaults
Setting | Default | Effect |
Block | on |
|
Account access | all | Restrict which accounts may be used as sender in the options page. |
Listen on all interfaces | off | Keep off unless you need LAN access and understand the token travels in clear text. |
Attachments are subject to the same deny-list as upstream: credential stores, SSH/GPG/cloud keys, browser and Thunderbird profile files, symlinks and junctions are refused on both the bridge and the extension side.
Install
Build the XPI:
node scripts/build-xpi.cjsIn Thunderbird/Betterbird: Add-ons and Themes > gear icon > Install Add-on From File, pick
dist/thundersend-mcp.xpi, then restart.Add the bridge to your MCP client:
{ "mcpServers": { "thundersend": { "command": "node", "args": ["C:\\git-local-26-06\\thundersend-mcp\\mcp-bridge.cjs"] } } }
Set THUNDERBIRD_MCP_CONNECTION_FILE if the bridge cannot find connection.json
automatically.
ThunderSend uses its own add-on id, preference branch and temp directory, so it can be installed next to the full thunderbird-mcp add-on without the two interfering.
Tools
saveDraft
to, subject, body, cc, bcc, isHtml, from, attachments,
inReplyTo, references, replaceMessageId + replaceFolderPath, includeSignature.
All optional. Writes to the selected identity's Drafts folder and returns its URI.
sendMail
to, subject, body required; cc, bcc, isHtml, from, attachments,
skipReview, includeSignature optional. With the default settings this opens a
compose window and returns immediately; the human presses Send.
listAccounts / getAccountAccess
Read-only lists of accounts and identities the server is allowed to send from.
Development
npm install
npm run lint
npm test
npm run buildTests load production code by // BEGIN ... // END markers and run it in a VM
with Thunderbird services mocked, exactly as upstream does.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Bring Gmail, Outlook, iCloud Mail, Yahoo Mail, Fastmail and other IMAP mailboxes together. Search connected email, including semantic search; cached or indexed results may be incomplete or stale. Read messages and attachments, create drafts, send or reply when requested, and manage rules for new mail. Separate permissions control reading, attachments, drafts, sending and mailbox changes.
Connect any IMAP/SMTP mailbox to Claude & ChatGPT: search, read, sort, draft. Sends only with OK.
Search and triage all your mailboxes; draft replies and campaigns; send only as you allow.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access Thunderbird email, contacts, and calendars through the Model Context Protocol, with tools for searching, reading, composing, and managing messages.3MIT
- AlicenseNot gradedqualityCmaintenanceProvides AI assistants with full access to Thunderbird email, compose, filters, calendar, and contacts via the Model Context Protocol.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to work directly with a local Thunderbird client, providing roughly 40 tools to search and read mail, compose, reply and forward messages, manage folders, filters, contacts, calendars, events and tasks. Write operations open a review window by default, so nothing is sent or created without the user's confirmation.1MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to search, read, compose, and manage Thunderbird mail, filters, contacts, and calendar events through the Model Context Protocol.4428MIT