thunderbird-mcp
Enables reading emails from iCloud accounts configured in Thunderbird.
Allows reading and searching emails, listing accounts/folders, and accessing contacts from Thunderbird.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@thunderbird-mcpsearch my inbox for emails about project deadline"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
thunderbird-mcp
An MCP server that gives Claude access to Thunderbird — read and search emails across all connected accounts (including iCloud), look up contacts, and access the unified calendar.
The read path works directly with your Thunderbird profile files and does not require Thunderbird to be running. Sending email requires Thunderbird to be running with the bundled WebExtension loaded (see below).
Status
✅ Email read path: list accounts/folders, search emails, read full messages
✅ Contacts read path: list address books, list/search contacts
✅ Calendar read path: list calendars, list events (requires Thunderbird closed)
✅ Local HTTP bridge + WebExtension: heartbeat + send email
✅ Message management: move, delete, mark read/unread, add/remove tags
✅ Contact writes: create/update contacts
❌ Calendar writes — blocked, no standard
browser.calendarWebExtension API exists (seedocs/DECISIONS.mdD-010); calendar remains read-only
Related MCP server: gmail-mcp
Setup
Find your Thunderbird profile directory:
cat ~/.thunderbird/profiles.ini ls ~/.thunderbird/Pick the profile directory containing
Mail/,ImapMail/,abook.sqlite, etc.Install dependencies:
npm installCopy
.env.exampleto.envand setTHUNDERBIRD_PROFILEto your profile directory:cp .env.example .env # edit .envVerify it works:
npm run test:tools
Wiring into Claude Desktop / Cowork
Add an entry to ~/.config/Claude/claude_desktop_config.json under mcpServers:
"thunderbird": {
"command": "node",
"args": ["/absolute/path/to/thunderbird-mcp/src/index.js"],
"env": {
"THUNDERBIRD_PROFILE": "/home/<you>/.thunderbird/<profile-dir>"
}
}Restart Claude Desktop. You should then be able to ask things like "list my Thunderbird accounts" or "search my inbox for invoices".
Tools
list_accounts— lists configured Thunderbird accountslist_folders— lists the folder tree for an accountsearch_emails— search by account, folder, sender, subject, keyword, date rangeread_email— full headers, text body, and attachment metadata for one messagelist_address_books— lists configured address books and their synced accountlist_contacts— lists/searches contacts by name or emaillist_calendars— lists configured calendarslist_events— lists calendar events by calendar/date range (requires Thunderbird to be closed)bridge_status— reports whether the Thunderbird WebExtension is connectedsend_email— composes and sends a new email from a connected account (requires Thunderbird running with the extension loaded; checkbridge_statusfirst)list_tags— lists configured message tags/labels (key, name, color)move_message— moves a message to another folder/account (requires the extension)delete_message— deletes a message, to Trash by default (requires the extension)set_message_read— marks a message read or unread (requires the extension)update_message_tags— adds/removes tags on a message (requires the extension)create_contact— creates a contact in an address book (requires the extension)update_contact— updates fields on an existing contact (requires the extension)
See docs/ARCHITECTURE.md for how email parsing, message addressing, and the
WebExtension bridge work, and docs/BRIEF.md for the full project scope and roadmap.
WebExtension
extension/ is a Manifest V2 Thunderbird WebExtension that connects to the local
bridge. To load it:
In Thunderbird: Settings → General → "Add-ons and Themes" → gear icon → "Debug Add-ons" → "Load Temporary Add-on" → select
extension/manifest.json.With
npm startrunning, call thebridge_statustool (orcurl http://127.0.0.1:8084/health) —extensionConnectedshould becometruewithin ~30 seconds.
Once connected, send_email, the message management tools (move_message,
delete_message, set_message_read, update_message_tags), and the contact write
tools (create_contact, update_contact) are available. Calendar write operations
are not implemented — see docs/DECISIONS.md D-010.
Constraints
Local only — no network exposure, no Cloudflare tunnel. The bridge binds to
127.0.0.1:8084(override withBRIDGE_PORT) and must never be tunneled.sqlite3, notbetter-sqlite3(required for Node v24 compatibility)THUNDERBIRD_PROFILEmust be set via environment variable — never hardcoded
Known limitations
Calendar is read-only.
create_event/update_event/delete_eventare not implemented — Thunderbird has no standardbrowser.calendarWebExtension API (seedocs/DECISIONS.mdD-010). Workaround for Google-backed calendars: if your Thunderbird calendar is CalDAV-synced from a Google account, use Claude's separate Google Calendar connector to create/update/delete events on that account directly — the change syncs back into Thunderbird and shows up vialist_events. This doesn't help with iCloud-backed calendars.list_eventsrequires Thunderbird to be closed — the calendar cache database (calendar-data/local.sqlite) is held with an exclusive lock while Thunderbird runs (D-006).Reply/reply-all are not implemented — only compose-and-send (D-008).
Message ids from
search_emails/read_emailare based on mbox byte offsets and can go stale after Thunderbird compacts a folder (e.g. emptying Trash) — re-runsearch_emailsif a tool reports "message not found".
Troubleshooting
bridge_statusreportsextensionConnected: false: make sure Thunderbird is running and the extension is loaded (see "WebExtension" above), and that no other thunderbird-mcp process is bound to the sameBRIDGE_PORT(only one process can hold the port;npm run test:toolsuses a separate port for this reason).list_events/list_contactsreport a "locked" error:list_eventsrequires Thunderbird to be closed (D-006).list_contactscan hit this transiently while Thunderbird is actively CardDAV-syncing an address book — wait a moment and retry (D-008).A management tool (
move_message, etc.) reports "message not found": theidis stale — re-runsearch_emailsto get a fresh one.Send/management/contact-write tools time out: the extension didn't respond within 30s. Check the Browser Console (Settings → General → "Add-ons and Themes" → gear icon → "Debug Add-ons" → "Inspect") for errors in
background.js.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/elphiene/thunderbird-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server