プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Thunderbird MCP

作者:simonjamescarrollバージョン 0.4.1i★ 1iパソコンで動くリポジトリ ↗
レジストリ名io.github.simonjamescarroll/thunderbirdmcp

インストール方法

What it does

Search, read, draft, send and organize Thunderbird, IMAP, Gmail and Outlook mail from AI agents.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category チャット・メール

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気4/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア16/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Thunderbird MCP をインストールして。https://mcp.popnx.com/i/simonjamescarroll-thunderbirdmcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月19日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Thunderbird MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "thunderbirdmcp": { "command": "uvx", "args": [ "thunderbird-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Thunderbird MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "thunderbirdmcp": {
          "command": "uvx",
          "args": [
            "thunderbird-mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Thunderbird MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Thunderbird MCP を使っていると言うか、回答に Thunderbird MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Thunderbird MCP につなげません

Thunderbird MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Thunderbird MCP につなげるアプリを使う

  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)

B · チャット・メール の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Thunderbird MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user thunderbirdmcp -- uvx thunderbird-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Thunderbird MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user thunderbirdmcp -- uvx thunderbird-mcp
  4. Claude Code で /mcp と入力

    Thunderbird MCP が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Thunderbird MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Thunderbird MCP を使っていると言うか、回答に Thunderbird MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Thunderbird MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "thunderbirdmcp": { "command": "uvx", "args": [ "thunderbird-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Thunderbird MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Thunderbird MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Thunderbird MCP を使っていると言うか、回答に Thunderbird MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Thunderbird MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "thunderbirdmcp": { "type": "stdio", "command": "uvx", "args": [ "thunderbird-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Thunderbird MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Thunderbird MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Thunderbird MCP を使っていると言うか、回答に Thunderbird MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Thunderbird MCP を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user thunderbirdmcp -- uvx thunderbird-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "thunderbirdmcp": {
      "command": "uvx",
      "args": [
        "thunderbird-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "thunderbirdmcp": {
      "command": "uvx",
      "args": [
        "thunderbird-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "thunderbirdmcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "thunderbird-mcp"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンで動く
最新バージョンi
0.4.1
レジストリ公開日i
2026年11月19日
コードの最終更新i
2026年11月19日
作者
simonjamescarroll
パッケージ
pypi: thunderbird-mcp
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント simonjamescarroll で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:今日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に thunderbird-mcp@0.4.1 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月19日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/simonjamescarroll-thunderbirdmcp.svg)](https://mcp.popnx.com/en/servers/simonjamescarroll-thunderbirdmcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

チャット・メールのほかのサーバーとの比較i

  • このカテゴリのほかの2027件のうち83%よりスターが多い
  • このカテゴリのほかの2027件のうち98%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2027件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Thunderbird MCPは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は今日、最新バージョン(0.4.1)がレジストリに届いたのは今日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

作者:anypost広く使われている↓ 5432/週★ 13945 日前更新

パソコンでもクラウドでも✓ 提供元 · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

作者:infobip初期★ 3613 か月前更新

クラウドで動く✓ 提供元 · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

作者:w1ne初期★ 3523 日前更新

クラウドで動く✓ 提供元 · kernelcad.com
似たものと比べる
これ
Thunderbird MCP
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
動く場所パソコンにインストールが必要クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえはいいいえ
基本チェック3/35/54/44/44/44/4
ライセンスMITMITAGPL-3.0Apache-2.0MITMIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Thunderbird MCP — email tools for Codex, Claude Code and OpenCode

Search, read, draft, send and organize your mail from an AI agent or terminal.

Thunderbird MCP is an open-source Python email MCP server and tbmail CLI. It combines local mail and attachment search with live IMAP/SMTP workflows, native Gmail API and Microsoft Graph adapters, and reusable mail references. The canonical project is [simonjamescarroll/thunderbirdmcp](https://github.com/simonjamescarroll/thunderbirdmcp), released under MIT.

Quick start · Demo · Installation guide · Workflows · FAQ · Comparison · Releases · Report your installation

Work with your mail from Claude Code, Codex, OpenCode (including GLM), Terminalman, or a normal shell. Available tools depend on the configured read-only, draft-only or full profile; tbmail tools shows the active catalogue.

WorkflowAvailable now
Read and findKeyword and local semantic search; extracted PDF/Office attachment text; live IMAP and native provider search; snapshot pagination and explicit coverage limits.
Compose and sendNew messages, reply/reply-all and forwards; To/Cc/Bcc; HTML/plain alternatives and inline attachments; configured sender identities; revisioned drafts and duplicate-send protection.
OrganizeRead/unread, flags and keywords; Gmail labels; preview live-reference copy/move/archive/trash/restore; folder management and recorded undo.
Reference and exportReusable message references; original-message and attachment export; reviewed batch plans, checksums and recovery.
Automate and inspectExplicitly approved scheduled drafts, durable new-mail events, operation history/cancellation, authentication evidence and follow-up candidates.
Accounts and accessMultiple accounts, BYO OAuth enrollment, enforced tool profiles/allowlists and optional authenticated Streamable HTTP.
Thunderbird desktopContacts, calendars, tasks, filters and settings through the separate pinned native companion.

Mail credentials stay in the system keyring. Local indexing and document extraction run on your machine; content returned to a hosted AI client goes to that client's model provider. The demo below shows one workflow: finding a PDF invoice, reusing its reference, and preparing an unsent reply.

Start using it

Install from PyPI and register the MCP with your installed clients:

uv tool install --python 3.12 thunderbird-mcp

thunderbird-mcp-setup --apply

To try the synthetic demo or work on the code, use a checkout instead.

You need Python 3.10+ and uv. Clone the project and try the demo before connecting your mailbox:

git clone https://github.com/simonjamescarroll/thunderbirdmcp.git ~/projects/thunderbirdmcp

cd ~/projects/thunderbirdmcp uv sync --locked uv run python scripts/demo.py

The demo uses temporary synthetic mail and an invoice PDF. It prepares an unsent reply; it needs no mail credentials or AI model. To use your own mailbox, configure Thunderbird to download messages (mbox or Maildir), then run:

uv run thunderbird-mcp-index

uv run thunderbird-mcp-setup --apply

The installation guide covers credentials, custom profiles, installing from PyPI or a release wheel without a checkout, and troubleshooting. Linux is the primary tested desktop; Linux and macOS run the synthetic suite and package installation checks in CI, with a separate native Windows installation job. Real provider/desktop checks and synthetic verification are reported separately.

Setup installs tbmail, thunderbird-mail, thunderbird-mcp, thunderbird-mcp-setup, thunderbird-mcp-service and thunderbird-mcp-http in ~/.local/bin on Linux/macOS. Windows uses native launchers under %LOCALAPPDATA%\thunderbird-mcp\bin and direct Python commands for MCP clients. Setup registers the MCP in the global configuration of installed Claude Code, Codex, OpenCode, Antigravity, and Gemini CLI clients. Use --clients claude codex to select clients, or --clients none to install only commands. Run setup without --apply to inspect changes. Existing settings are preserved and changed files receive private timestamped backups. Repeating setup is safe. MCP launchers use absolute paths and preserve your current directory.

Existing Terminalman sessions can load the tools using the client reload steps below. The Terminalman server does not need a restart. tbmail is immediately available through the shell, including from an already running agent.

Setup uses these default client configuration files:

Client (--clients name)Global configuration
Claude Code (claude)~/.claude.json
Codex (codex)~/.codex/config.toml
OpenCode, including GLM (opencode)~/.config/opencode/opencode.jsonc if present, otherwise opencode.json in the same directory
Antigravity (agy)~/.gemini/config/mcp_config.json
Gemini CLI (gemini)~/.gemini/settings.json

Setup respects CLAUDE_CONFIG_DIR, CODEX_HOME, and XDG_CONFIG_HOME for their respective clients. OpenCode uses the same MCP registration for all models; no separate GLM server configuration is needed.

You can then ask:

  • “Search my mail for the cloud-provider invoice from May.”
  • “Check live IMAP for new unread mail in INBOX.”
  • “Find the agreement mentioned inside an attachment and read that attachment.”
  • “Read that conversation and give me a reference I can use in another session.”
  • “Prepare a reply to this mail saying the migration is complete.”
  • “Send draft .”
  • “Preview archiving these live results, then mark the selected messages read.”
  • “Undo that move batch.”
  • “Prepare a forward with just the invoice attachment.”
  • “Plan an export of those messages and PDFs into this project.”
  • “Show unanswered outgoing conversations and explain the evidence.”

Check Codex, Claude, and OpenCode

Check the real mailbox and each client's registration:

tbmail status --network

codex mcp get thunderbird claude mcp get thunderbird opencode mcp list

After connecting or reloading, ask: “Use the thunderbird MCP to search my mail for invoices, read the most relevant result, and give me its stable reference.” Codex and Claude also show active MCP connections with /mcp. OpenCode's MCP status is available through Toggle MCPs in the command palette.

Reload an existing session

After updating the checkout and running uv sync --locked and uv run thunderbird-mcp-setup --apply, refresh each running client's connection:

ClientReload without losing the conversation
Claude CodeRun /mcp, select thunderbird, and choose Reconnect. Open /mcp again to check that it is connected and shows the tools allowed by your profile.
OpenCodePress Ctrl+P, choose Toggle MCPs, select thunderbird, then press Space to disable it and Space again to enable it. Check that it shows connected.
CodexAn existing app-server connection can reload its loaded threads using the protocol below. For a CLI session without that connection, wait until idle, use /exit, then run codex resume --last from the same project and check /mcp.

Claude and OpenCode reconnects and Codex app-server reloads were verified in running Terminalman sessions on 2026-11-02; the conversations were preserved.

Codex app-server integration: reload active threads

Verified with Codex CLI 0.166.0. A host connected to the existing app-server can send these requests after the initialize / initialized handshake. The verified connection enabled capabilities.experimentalApi during initialization. Use the server that owns the active thread; a separate server has separate connections.

{"id":1,"method":"config/mcpServer/reload","params":null}

{"id":2,"method":"mcpServerStatus/list","params":{"threadId":" ","serverName":"thunderbird","detail":"toolsAndAuthOnly"}}

Reload reads configuration from disk and queues a refresh for loaded threads. Check the status response again after the refresh completes; the thunderbird tool inventory should match tbmail tools under the same policy. The Codex app-server protocol documents the connection transport, handshake, reload request, and status query. The Codex CLI reference documents /mcp and conversation resumption.

Test actual client tool calls

An opt-in test checks actual model tool calls in all three clients:

uv run python scripts/test_clients.py

It creates a temporary synthetic mailbox and exposes only search_email, get_email, and get_email_reference. A client passes only after successful tool calls return a hidden verification code and the correct reference. The test uses your configured model accounts and may consume model credits. It does not read your real mail or send anything. To select one client/model:

uv run python scripts/test_clients.py --clients opencode --opencode-model provider/model

Use --report-dir /tmp/mail-client-check to retain private troubleshooting logs. Client flags can change between releases; this script is an opt-in integration check, separate from the offline unit tests.

Terminal commands

tbmail status --network                 # Verify TLS/login; sends no mail

tbmail accounts # Account IDs and identities; no credentials tbmail search 'from:alex storage' --limit 5 tbmail search 'folder:INBOX after:2026-11-01' --keyword tbmail search --live --unread --limit 5 # Fresh IMAP mail, default INBOX tbmail search 'folder:Archive receipt' --live --account account2 tbmail search 'has:attachment agreement' --keyword tbmail search --attachment report.pdf --account account2 tbmail read 12345 tbmail thread 12345 --bodies tbmail reference 12345 # Markdown citation with a durable URI tbmail attachments 12345 tbmail attachment-text 12345 1 # Read document text without exporting tbmail export 12345 ./message.eml tbmail export-attachment 12345 1 ./attachment.pdf tbmail reindex # Refresh downloaded mail tbmail --json search 'invoice' # Structured output for scripts/agents tbmail folders --account account2 # Folders in the local index tbmail folders --live --account account2

Pass a returned thunderbird://message/... reference in place of a numeric ID to read, thread, reference, reply, attachment, and export commands. Stable references use Message-ID, with a content hash fallback, and survive reindexing and folder changes. Integer IDs also stay stable during ordinary refreshes, but use the URI for references saved in another project or conversation. Paste it into another Terminalman conversation and ask the agent to read it with the thunderbird MCP. The search web app has a Copy mail reference button.

Live searches return thunderbird://imap/... r

冒頭だけを表示しています。続きはリポジトリで読めます