Back to Browse

Thunderbird MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for Thunderbird: mail, calendar, contacts in all your accounts. Windows, macOS, Linux.

About

MCP server for Thunderbird: mail, calendar, contacts in all your accounts. Windows, macOS, Linux.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

3 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

database

Check that this permission is expected for this type of plugin.

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

Commonpost MCP for Thunderbird

CI OpenSSF Best Practices Tools Localhost Only Thunderbird Platforms: Windows, macOS, Linux License: MIT

MCP server for Thunderbird: mail, calendar, contacts in all your accounts. Windows, macOS, Linux.

Your AI assistant can search, read and draft mail in every account you have in Thunderbird, and check it against your calendar and contacts. Free and open source (MIT), through the Model Context Protocol.

Latest release: v0.27.2 (2026-11-27) -- see the changelog or all releases.

  • Every account you already have in Thunderbird. Gmail, Outlook.com, Microsoft 365, your own domain, IMAP, POP: no new login, no password to hand over.
  • Mail, calendar and contacts together. Your assistant can check an email against your calendar.
  • Nothing is sent without your click. New mail and replies open in Thunderbird's compose window, for you to read and send. Calendar events are added directly by default, and no invitation is sent.
  • Email is treated as untrusted. Text a sender hides from you is removed before your assistant reads it. That reduces prompt injection; it does not prevent it, which is why sending needs your click (details).
  • Runs on your computer. What the assistant reads goes to the AI service you use, not to us. Each release can be rebuilt byte for byte from this source.

Try asking:

Am I free Thursday at 2:30? Check my calendars and all my email accounts.
Find the invoice for my dishwasher, whatever account it went to, and open a warranty claim with it attached.
What needs a reply before Friday? Open each reply for me to review.

Contents

Quick install (about 3 minutes)

Requirements: Thunderbird 140 or later on Windows, macOS or Linux. Node.js 22 or later, except with the Claude Desktop bundle.

Every tool works the same on the three systems. One difference: on Windows, attachments go through the bridge rather than by file path (see attachments on Windows).

For AI agents installing this: step 1 happens in Thunderbird's window, so ask the user to do it, then continue. This project is not published on npm, PyPI or Docker Hub: do not use npx or uvx. Its only sources are this repository's releases, the Claude Code plugin and the Gemini CLI extension. scripts/install.sh is for development only. For Claude Desktop, the .mcpb bundle is the whole install: no Node.js and no config file to edit. The bridge and the add-on do not need the same version number. Step by step: llms-install.md.

1. Install the add-on in Thunderbird.

  • Download the file ending in .xpi from the latest release.
  • In Thunderbird: menu ≡ (top right) > Add-ons and Themes > gear icon > Install Add-on From File, then restart Thunderbird.
  • Thunderbird warns that the add-on gets "full, unrestricted access": it says so for every add-on of this kind (why, and what this one does).

2. Connect your assistant. Pick the line for the one you use.

  • Claude Desktop (Windows, macOS): download the file ending in .mcpb from the same release and open it with Claude Desktop, or use Settings > Extensions > Advanced settings > Install Extension. Nothing else to install: it uses the Node.js that Claude Desktop ships with. Its name can carry a lower number than the add-on (for example v0.20.0 beside a v0.22.4 add-on): it is named after the bridge it holds, which changes less often. See Claude Desktop.

  • Claude Code, with the plugin, which keeps the bridge up to date (see Claude Code plugin):

    claude plugin marketplace add commonpost/thunderbird-mcp
    claude plugin install commonpost-mcp@commonpost
    
  • Gemini CLI, as an extension that carries the bridge:

    gemini extensions install https://github.com/commonpost/thunderbird-mcp
    
  • Any other client (VS Code, Cursor, Codex CLI, Claude Code without the plugin...):

    1. Check Node.js: node --version must show 22 or later.

    2. Download the bridge, a single file, into a folder you will keep. macOS and Linux:

      mkdir -p ~/commonpost-mcp && curl -fL -o ~/commonpost-mcp/mcp-bridge.cjs https://github.com/commonpost/thunderbird-mcp/releases/latest/download/mcp-bridge.cjs
      

      Windows (PowerShell):

      New-Item -ItemType Directory -Force "$env:USERPROFILE\commonpost-mcp" | Out-Null; Invoke-WebRequest -OutFile "$env:USERPROFILE\commonpost-mcp\mcp-bridge.cjs" https://github.com/commonpost/thunderbird-mcp/releases/latest/download/mcp-bridge.cjs
      
    3. Register it. Claude Code, on Linux and on Windows (-s user makes it available in every folder):

      claude mcp add -s user thunderbird -- node "/home/<you>/commonpost-mcp/mcp-bridge.cjs"
      claude mcp add -s user thunderbird -- node "C:\Users\<you>\commonpost-mcp\mcp-bridge.cjs"
      

      Other clients: add this to the client's MCP config, with the full path of the file (each client has its own file and format: see Other MCP clients). In JSON, write Windows paths with / ("C:/Users/<you>/commonpost-mcp/mcp-bridge.cjs"); a JSON file does not expand ~. On macOS, if the client cannot find node, set command to the full path that which node prints.

      {
        "mcpServers": {
          "thunderbird": {
            "command": "node",
            "args": ["/home/<you>/commonpost-mcp/mcp-bridge.cjs"]
          }
        }
      }
      

3. Test it. With Thunderbird open, ask your assistant: "list my Thunderbird accounts". It should name your accounts; your client may first ask you to allow the tool. Nothing comes back? Check that Thunderbird is open and the add-on enabled, then quit your client completely and start it again (Claude Desktop on Windows: its icon near the clock > Quit). Still nothing: see Troubleshooting.

4. Choose what your assistant may see. Open the add-on's options (menu ≡ > Add-ons and Themes > Commonpost MCP for Thunderbird > wrench button) and pick the accounts and tools. Until you do, every account and tool is visible to MCP clients.

To update or remove it later, see Updating and Uninstall.

Snap, Flatpak and macOS need no extra step in most cases; see Sandbox-aware connection discovery. If something fails, see Troubleshooting.


Why?

Thunderbird has no official API for AI tools. Your AI assistant can't read your email, can't help you draft replies, can't organize your inbox. This extension fixes that -- it exposes 43 tools over MCP so any compatible AI (Claude, GPT, local models) can work with your mail the way you'd expect. The list is kept short so that assistants choose among them reliably; older Cursor versions also sent an agent only the first 40 tools of all servers combined (since January 2026 Cursor loads tool descriptions only when needed), and VS Code allows 128 tools per request.

Mail sends require review by default because Block skipReview for mail starts enabled: skipReview: true is honored only after you explicitly disable it. By default, nothing is sent without your review. Events and tasks are added at once on a new install, as updateEvent and deleteEvent change them: they send no invitation, and asking for six appointments means nothing to save by hand. Enable Block skipReview for events and tasks to review each one in Thunderbird's dialog.


How it works

                    stdio              HTTP (localhost:8780-8789)
  MCP Client  <----------->  Bridge  <--------------------->  Thunderbird
  (Claude, etc.)           mcp-bridge.cjs                    Extension + HTTP Server

The Thunderbird extension embeds a local HTTP server with session-scoped auth tokens. The Node.js bridge translates between MCP's stdio protocol and HTTP, discovering the port and token automatically via a connection file. The bridge handles MCP lifecycle methods (initialize, ping) locally, so clients can connect even before Thunderbird is fully loaded. If the client asks for the tools while Thunderbird is not running, the bridge answers with the tools Thunderbird last listed, which it keeps in your cache folder (%LOCALAPPDATA%\commonpost-mcp on Windows, ~/Library/Caches/commonpost-mcp on macOS, $XDG_CACHE_HOME/commonpost-mcp or ~/.cache/commonpost-mcp elsewhere); tool calls fail until Thunderbird is started.


What you can do

Mail

ToolDescription
listAccountsList all email accounts and their identities
listFoldersBrowse folder tree with message counts -- filter by account or subtree; savedSearches lists saved searches instead; refresh with folderPath first fetches that folder's new mail from its mail server (IMAP, Exchange, Graph; not news or feeds) and waits up to 20 s
searchMessagesSearch headers across accounts. Words must all match (subject, from, to, cc, preview); operators from:, to:, cc:, subject:, participant: (from/to/cc/bcc; @domain matches addresses in that domain only, commas list alternatives: participant:@acme.com,@acme-group.com) and quoted phrases can be combined, e.g. participant:@acme.com subject:"invoice 42". groupBy: "sender" | "thread" returns one row per sender or conversation (latestId is the newest message that is not a draft); threadOf: {messageId, folderPath} returns a whole conversation across folders (Sent included), oldest first (it reads at most 10,000 headers, then sets incomplete: true). A Re: message sent without threading headers joins by subject the earlier message its sender took part in (linkedBy: "subject"); the same mail sent separately to several people and repeated notifications stay separate. Filters pick messages of the conversation without cutting its links. Trash and Junk are skipped unless includeTrash or an explicit folderPath. Always returns { messages, totalMatches, offset, limit, hasMore } (default 20 rows, max 200); format: "table" returns { columns, rows }, and format: "legacy" the output of 0.10 and earlier (deprecated), see CHANGELOG. Also countOnly, includeSubfolders, date range, unread/flagged filters, tag (name or key; an unknown one is matched as a raw keyword and warning lists the known tags), searchBody (Gloda full text: terms under 3 characters are left out and listed in warning, English words match other forms, Russian and other languages only the exact word form) and dedupByMessageId (copies in several folders collapse into one row with dupLocations). attachmentName (part of a filename, any case) and attachmentType (application/pdf, or a prefix such as image/) keep messages with a matching attachment, combined with the other filters; each row lists its matching attachments (name, contentType, size). Only messages Thunderbird marks as having attachments are read, from their local copy (nothing is downloaded or decrypted), at most 500 per call and 16 MiB each; attachmentSearch gives how many were checked and why the others were skipped (encrypted, tooLarge, notOffline, unreadable, limitReached). Thunderbird flags a message from its top-level structure, so a signed message (multipart/signed), a multipart/related one or a single-part attachment is usually not found. While reading encrypted messages is not allowed, a query with words leaves out messages with an encrypted envelope, as without attachment options. attachmentName and attachmentType cannot be combined with searchBody, threadOf or format: "legacy". fields returns only the listed columns (date, author, recipients, ccList, subject, read, flagged, tags, preview, dupLocations); id, folderPath and the columns an option adds are always kept; not with countOnly, groupBy or format: "legacy".
getMessageRead full email content -- bodyFormat: markdown (default), text, or html. Bodies are capped (maxBodyChars, default 20000); a longer body sets bodyTruncated and nextBodyOffset, read the rest with bodyOffset. Set rawSource: true for the complete RFC 2822 source (same cap), decoded as UTF-8 when valid, else by its top-level, part or detected charset (rawCharset; a warning when parts declare different charsets, listed in rawMixedCharsets, or when invalid UTF-8 was replaced), with hidden characters removed as in a body; rawEncoding: "base64" returns the exact bytes. Optional attachment saving. Set includeInlineImages: true to append supported inline CID images as MCP image blocks (PNG, JPEG, GIF, or WebP; max 1 MiB base64 per image and 4 MiB total). Skipped images are reported in attachment metadata. authentication gives the SPF, DKIM and DMARC results of the topmost Authentication-Results header, as the receiving mail server reported them (authservId names it); Thunderbird checks none of this, and a sender can forge such headers lower down.
getMessagesRead full email content for up to the configured batch limit in one call (default 10, max 20). Uses the same bodyFormat, rawSource, and attachment options as getMessage; each item supplies messageId and folderPath. Bodies are capped per message (maxBodyChars, default 4000). headersOnly returns only the headers as received and the flags, for up to 200 messages whatever that limit, without parsing any body; a List-Unsubscribe header also comes parsed as unsubscribe (mailto, https, oneClick), for reading only.
getRecentMessagesRecent messages newest first from all folders (Trash/Junk skipped) or one folder -- daysBack (default 7), unread/flagged filters, includeTrash, pagination. Same envelope, rows and format as searchMessages. fields as in searchMessages.
displayMessageOpen a message in Thunderbird's GUI -- 3pane (default), tab, or window mode
updateMessageMark read/unread, flag/unflag, add/remove tags, move between folders, or trash -- supports bulk via messageIds. Tags by the name shown in Thunderbird (Important, To Do) or by key ($label1); another keyword is added, and what cannot be a keyword is skipped, both with a warning listing the known tags
deleteMessagesDelete messages as Thunderbird's Delete key does: moved to Trash, except in Trash itself (deleted for good) and on IMAP accounts set not to move deleted mail (their setting applies)
createFolderCreate new subfolders to organize your mail, or a saved search (virtual folder: a live view, nothing moved) with savedSearch
renameFolderRename an existing mail folder; returns its new URI as path
deleteFolderDelete a folder (moves to Trash, or permanently deletes if already in Trash); a saved search is removed as a view, no mail deleted
moveFolderMove a folder to a new parent within the same account
emptyTrashPermanently delete all messages in Trash (including subfolders)
emptyJunkPermanently delete all messages in Junk/Spam (including subfolders)

Compose

ToolDescription
sendMailCompose a new email -- opens a review window; direct sending requires explicitly disabling the skipReview safety block, and adds the identity signature and automatic Cc/Bcc as the compose window would; dryRun reports what the call would do (sender, recipients, attachments, estimated size) or the error it would return, and does nothing
replyToMessageReply with quoted original and proper threading, from the identity Thunderbird would pick. mode: window (default) opens a review window, draft saves a draft with the recipients Thunderbird's Reply / Reply All computes and the body its reply window builds (cite line, quote, signature, reply position), send (or skipReview: true) sends directly -- it needs explicit to and from and is subject to the same safety block. latestInThread: true (window or draft only) replies to the newest message of the conversation, Sent included, and returns it as repliedTo; threadIncomplete in the result means a large mailbox was read in part and a newer message may exist
forwardMessageForward with all original attachments preserved, from the identity Thunderbird would pick. mode as for replyToMessage (draft and send get the subject and body Thunderbird's forward window builds: header table, original body, signature); to is optional except with send, which needs explicit to and from
saveDraftSave a new message as a draft, as Thunderbird's compose window saves it (with the identity signature), or edit an existing draft with draftId -- returns its messageId and folderPath

All compose tools open a window for you to review and edit before sending by default. The Block skipReview setting for mail is on by default, so skipReview: true (and mode: "send") is rejected until you explicitly disable it; only then can it send directly. mode: "draft" only saves a draft, so the preference does not block it (even next to skipReview: true); it needs the saveDraft tool to be enabled in the settings, as a tool you disabled is not reachable through another one. Attachments can be file paths or inline base64 objects.

A direct send or saving a draft (saveDraft, mode: "draft") can take a while: the bridge waits up to 180 s for Thunderbird (30 s for every other call). Your MCP client may also have its own time limit for a tool call; if it is shorter than 180 s, the client can give up while Thunderbird goes on sending or saving, so check the Sent folder and the Outbox (or the Drafts folder) before retrying to avoid sending the message, or saving the draft, twice.

Compose tools validate the from identity strictly -- if the specified sender doesn't match any configured Thunderbird identity, the tool returns an error instead of silently substituting another account.

Filters

ToolDescription
listFiltersList all filter rules with human-readable conditions and actions; with confirmation: true, read the state of a pending or recent confirmation instead, optionally one by confirmationId (see below). format: "table": one row per rule, without its conditions
createFilterCreate filters with structured conditions (from, subject, date...) and actions (move, tag, flag...)
updateFilterModify a filter's name, enabled state, conditions, or actions; filterName refuses an index that now points at another rule
deleteFilterRemove a filter by index; filterName refuses an index that now points at another rule
reorderFiltersChange filter execution priority
applyFiltersRun filters on a folder on demand -- let your AI organize your inbox

Full control over Thunderbird's message filters. Changes persist immediately. Your AI can create sorting rules, adjust priorities, and run them on existing mail. applyFilters runs only the enabled rules marked "Manually Run" (tick it in the filter editor on the rules the assistant may launch) and lists the ones it skipped.

Filter rules that forward or reply send mail without the review window that the compose tools keep. The Block filter forward/reply setting (options page, Send Safety) is on by default: while it is on, such rules cannot be created or changed through MCP, and a filter list that holds one cannot be run through applyFilters. Deleting the rule stays possible. If you choose Ask me each time instead, a request of that kind returns pending_user_confirmation and Thunderbird shows a dialog with the rule, its conditions and its full destination; nothing is written unless you confirm it there, and closing the dialog or not answering within ten minutes writes nothing. Whatever the setting, a rule that forwards or replies cannot be created or changed through MCP to run on outgoing mail, on archiving or periodically: it would send mail already in the mailbox, or mail you sent. Through MCP, such a rule made in Thunderbird can only be deleted or given another type. Thunderbird also takes mail moved, copied or saved into a folder of an IMAP account for new mail, and runs that account's rules on it: in the Inbox whether read or not, and in any folder the rules that run after classification, if the mail is unread (a draft counts as unread). So, whatever the setting, MCP refuses to put mail where the rules for new mail run while such a rule is enabled there -- moving old mail into that account's Inbox, for instance. Everywhere else it does the work and warns in the result, naming the rule: moving unread mail to an ordinary folder, or saving a draft, on an account whose rules forward after classification. The check looks at whether such a rule is enabled, not at its conditions, so a warning does not mean the rule matches your messages. You can turn the rule off in Tools > Message Filters.

Encrypted messages

OpenPGP and S/MIME messages are not decrypted for the assistant by default: getMessage returns their headers and a short notice instead of their content. searchMessages leaves out a message its query matched, getRecentMessages lists one with the wire-level subject, no preview and encrypted: true, and threadOf leaves them out and never links a conversation through their subject. The setting Let the assistant read encrypted messages (Options > Encrypted messages) turns this on; the decrypted content is then handed to the assistant, and so to the service that runs it.

Contacts

ToolDescription
listAddressBooksList the address books the assistant may use, empty ones included, with the addressBookId that createContact takes and which one it uses by default
searchContactsSearch contacts across all address books by any of their email addresses, name, or organization (e.g. acme or @acme.com); empty fields are omitted. Supports maxResults, offset (a cut list gives nextOffset for the next page), addressBookId (one book, from listAddressBooks) and format: "table".
getContactRead full contact details by UID, including every email address (emails: address, work/home type, primary; invalid: true on a stored value that is not one plain address)
createContactCreate a contact with optional email or several emails (work/home, one primary), name, phones, postal addresses, organization, title, note, and birthday. Phone-only contacts are supported.
updateContactUpdate contact fields; omitted fields stay unchanged; emails, phones and addresses replace their lists (an empty array clears it), email alone changes only the primary address
deleteContactDelete a contact by UID

Calendar

ToolDescription
listCalendarsList all calendars with read-only, disabled, event, and task support flags
createEventCreate a calendar event -- added at once, with its eventId, calendarId and dates in the result; with Block skipReview for events and tasks enabled (or skipReview: false), opens a review dialog instead and returns its reviewId (listEvents with it tells whether the user saved the event, with its id, or closed the dialog). No duplicate check: list the events first. Accepts status: tentative | confirmed | cancelled (VEVENT STATUS per iCal RFC 5545) and showAs: busy | free (whether the time is blocked; does not change status). reminders adds display reminders, in minutes before the start (up to 5, 0 to 40320).
listEventsQuery events by date range with recurring event expansion; a date without a time is a whole day in local time. Returns status, showAs (busy or free) and reminders (display reminders, minutes before the start) on each event. Supports maxResults, offset (a cut list says so and gives the offset of the next page) and format: "table". With the reviewId of createEvent, returns the state of that dialog instead.
updateEventModify an event's title, dates, location, description, status, showAs, or reminders (replaces the display reminders; [] removes them; email, audio, absolute and end-related alarms are kept, as are reminders whose minutes stay; exceptions of a recurring event keep their own)
deleteEventDelete a calendar event by ID
createTaskCreate a task, with a due date, start date, priority, categories and reminders (minutes before the due date) -- added at once, with its taskId, calendarId and due date in the result; with Block skipReview for events and tasks enabled (or skipReview: false), opens a pre-filled task dialog instead and returns its reviewId (listTasks with it tells whether the user saved the task, with its id, or closed the dialog)
listTasksList tasks/to-dos from calendars -- filter by completion status, due date, or calendar. Each task has its start and due dates, categories and reminders (minutes before the due date). Supports maxResults, offset (a cut list says so and gives the offset of the next page) and format: "table". With the reviewId of createTask, returns the state of that dialog instead.
updateTaskUpdate a task's title, due date, start date, description, priority, categories, reminders, completion status, or percent complete. Reminders count from the due date, so they need one: a reminder for a task with no due date is refused, and so is clearing the due date while reminders count from it
deleteTaskDelete a task by taskId + calendarId (from listTasks), with no review dialog, like deleteEvent; a recurring task is deleted with its whole series, and an event's id is refused. To keep a task as done, use updateTask with completed: true instead.
listCategoriesList the calendar category names defined in Thunderbird, to use exactly in events and tasks

Access Control

ToolDescription
getAccountAccessView which accounts the MCP server can access

Reports from assistants

ToolDescription
reportProblemSave a report (a bug or a suggestion) when a tool misbehaves or something is missing. The report becomes a draft addressed to the maintainers, in your Drafts folder: you read it and send it, or delete it. Nothing is sent without you, unless you choose in the options page to let the assistant send a report once it has asked you (send: true): the add-on cannot see your answer, so with that choice it sends when the assistant says you agreed, to the maintainers only, three times a day at most, with a copy in your Sent folder. You can also choose to have no draft. The report is listed in the options page too, where you can open it as a prefilled GitHub issue, send it by email, copy it or delete it. A bug is three short answers (the call, what came back, what was expected). The add-on adds its versions, the last error and the last calls of the tool named (argument names only, never their values), and replaces mail addresses.

Account and tool access are configured via the extension settings page (menu ≡ > Add-ons and Themes > Commonpost MCP for Thunderbird > wrench button (Options)). Access control is not MCP-exposed -- only the user can change it. Once you have disabled any tool, a tool added by a later update starts disabled too: the settings page marks it "new", and it stays off until you check it. If you have disabled nothing, new tools are enabled like the others.

The same settings page has a "Send Safety" section with two settings. Block skipReview for mail, enabled by default, rejects skipReview: true for sendMail, replyToMessage and forwardMessage (and mode: "send" for replyToMessage and forwardMessage); their review window still opens normally, and a direct send is honored only after you explicitly disable it. Block skipReview for events and tasks starts disabled on a new install: createEvent and createTask add the event or task at once, unless the client passes skipReview: false to open the dialog. Enabled, they always open the dialog and reject skipReview: true. An event or task added without the dialog sends no invitation (these tools take no attendees), but anyone the calendar is shared with sees it. An installation updated from a version without this setting keeps what it had: the setting for events and tasks takes the value of the one for mail.


Setup

1. Install the extension

Download commonpost-mcp-v<version>.xpi from the latest release, then in Thunderbird: menu ≡ > Add-ons and Themes > gear icon > Install Add-on From File, and restart. Each release also carries a provenance attestation (*.sigstore.json) that ties the XPI to the commit and the workflow that built it; you can check it with gh attestation verify <file>.xpi --repo commonpost/thunderbird-mcp. The XPI can be rebuilt byte for byte from the tagged source with node scripts/build-xpi-reproducible.cjs.

The MCP bridge, mcp-bridge.cjs, is attached to each release next to the XPI (with its own provenance attestation). You can also git clone --branch v<version> https://github.com/commonpost/thunderbird-mcp.git and use the file from the clone; use the bridge of the same version as the extension.

Requires Thunderbird 140 or later, and Node.js 22 or later for the bridge (mcp-bridge.cjs). Tested on Thunderbird 140.16.0esr, 153.3.1esr and 156.0.1.

Automatic updates: the add-on checks https://commonpost.github.io/thunderbird-mcp/updates.json through Thunderbird's add-on update check; the file lists the hash of each release. Thunderbird downloads updates in the background and applies them on the next restart; because this add-on uses an Experiment API, updates are not hot-swapped. If updates do not arrive, check the Add-ons gear menu and make sure Update Add-ons Automatically is enabled. Thunderbird's default xpinstall.signatures.required=false lets unsigned add-ons install; a profile hardened to require signatures blocks both manual and automatic installs. Because the auto-update channel is a code-delivery channel, you can turn it off (per add-on, in its details page) and update by hand. The bridge is not updated automatically: the add-on tells you (in a tool result and in its options page, section Bridge) when to replace your mcp-bridge.cjs or .mcpb with the one of a newer release; then reconnect your MCP client. Some protections live in the bridge.

2. Configure your MCP client

Add to your MCP client config (Claude Code: use claude mcp add as in Quick install instead; other clients: Other MCP clients):

{
  "mcpServers": {
    "thunderbird": {
      "command": "node",
      "args": ["/absolute/path/to/commonpost-mcp/mcp-bridge.cjs"]
    }
  }
}

Claude Code plugin

This repository is also a Claude Code plugin marketplace: the plugin commonpost-mcp declares the thunderbird MCP server and carries the bridge of the release, so there is no mcp-bridge.cjs to download or to replace by hand.

claude plugin marketplace add commonpost/thunderbird-mcp
claude plugin install commonpost-mcp@commonpost
  • The plugin (plugins/claude-code/) runs only the bridge, a copy of this repository's mcp-bridge.cjs that the version check keeps identical; install the Thunderbird extension separately (step 1 above). Node.js 22 or later must be on the PATH.
  • It also carries a skill, thunderbird-mail (instructions, no code), that Claude loads when it works with your mail: where IDs come from, cheap searches, drafts and review windows, untrusted email content and common errors. Run it yourself with /commonpost-mcp:thunderbird-mail.
  • Updates: Claude Code does not update a third-party marketplace on its own unless you turn it on (/plugin > Marketplaces > Enable auto-update). Otherwise do both steps, in this order: /plugin marketplace update commonpost (refreshes the list of releases), then /plugin update commonpost-mcp@commonpost (or claude plugin update commonpost-mcp@commonpost), then /reload-plugins. Updating the plugin alone reads the old list and can leave it where it was. Each release raises the plugin's version, so an update follows every release, whether or not the bridge changed; the bridge in the plugin is always the one of the release.
  • Tool names carry the plugin and server names: mcp__plugin_commonpost-mcp_thunderbird__searchMessages, for example. Permission rules written for a server added by file (mcp__thunderbird__*) do not match them. The options page of the add-on (section Bridge) lists this bridge as a mcp-bridge.cjs file.
  • The plugin comes from a published release, never from work merged since. Claude Code reads the marketplace from this repository's main branch, and the marketplace points the plugin at the latest release: the plugins/claude-code/ folder of that release's tag, pinned to its commit and fetched over https. The marketplace moves to a new release a few minutes after the release is published and checked. The plugin is not signed; the bridge inside it is the mcp-bridge.cjs of that release, the same file the release attests. Up to 0.19.2, the marketplace listed the plugin from main itself.

Claude Desktop (one-click bundle)

On macOS and Windows, Claude Desktop can install the bridge from a .mcpb bundle instead of a hand-edited config file. Download commonpost-mcp-v<version>.mcpb from the latest release and open it with Claude Desktop, then confirm the installation. If the file does not open in Claude Desktop (on Windows it may not be associated with it), use Settings > Extensions > Advanced settings > Install Extension and choose the file.

  • The bundle contains only the bridge (mcp-bridge.cjs). Install the Thunderbird extension separately (step 1 above). The bundle's version is the version of the bridge inside, which changes only when the bridge changes: a release can carry a bundle with a lower number than the add-on, and it is still the current bridge. Claude Desktop never updates a bundle installed from a file: install the new .mcpb when the add-on (in a tool result or in its options page, section Bridge) says so.
  • Claude Desktop runs the bundle with the Node.js it ships with, so you do not need Node.js of your own; the bundle declares Node.js 22 or later, like the bridge. It has no settings: if the bridge cannot find the connection file, use the manual configuration in Other MCP clients with COMMONPOST_MCP_CONNECTION_FILE.
  • The bundle is not signed. Each release carries a provenance attestation for it (*.mcpb.sigstore.json): check it with gh attestation verify <file>.mcpb --repo commonpost/thunderbird-mcp. It can be rebuilt byte for byte from the tagged source with node scripts/build-mcpb-reproducible.cjs.

Other MCP clients

The bridge is a standard MCP stdio server and is not tied to any client: it works with any client that can launch a local server. The mcpServers layout above is common but not universal, so each client below has its own file and format. In every case use the absolute path of mcp-bridge.cjs and the server name thunderbird, then restart the client.

Claude Desktop. Edit claude_desktop_config.json (Settings > Developer > Edit Config opens it): ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows. In JSON, double the backslashes of Windows paths.

{
  "mcpServers": {
    "thunderbird": {
      "command": "node",
      "args": ["C:\\Users\\<you>\\commonpost-mcp\\mcp-bridge.cjs"]
    }
  }
}

Visual Studio Code. Edit .vscode/mcp.json in a workspace, or run "MCP: Open User Configuration" for your user profile. The top-level key is servers (not mcpServers), and a stdio server needs "type": "stdio".

{
  "servers": {
    "thunderbird": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/mcp-bridge.cjs"]
    }
  }
}

Cursor. Edit ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). The top-level key is mcpServers.

{
  "mcpServers": {
    "thunderbird": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-bridge.cjs"]
    }
  }
}

OpenAI Codex CLI. Edit ~/.codex/config.toml (or .codex/config.toml in a trusted project). This is TOML, not JSON: one table per server.

[mcp_servers.thunderbird]
command = "node"
args = ["/absolute/path/to/mcp-bridge.cjs"]
startup_timeout_sec = 30

startup_timeout_sec leaves room for the bridge's first-start wait: with Thunderbird closed and no tool list cached yet, the first tools/list waits up to 20 s for Thunderbird.

Gemini CLI. Edit ~/.gemini/settings.json (or .gemini/settings.json in a project). The top-level key is mcpServers. Its env block expands $VAR, ${VAR} and, on Windows, %VAR% references, so a value containing $ or % would be altered. Or install the bridge as an extension: gemini extensions install https://github.com/commonpost/thunderbird-mcp; the add-on still goes in Thunderbird, as in step 1 of the install.

{
  "mcpServers": {
    "thunderbird": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-bridge.cjs"]
    }
  }
}

Documentation truncated — see the full README on GitHub.

Reviews

No reviews yet

Be the first to review this server!