timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Mail and contacts on a self-hosted Stalwart server via JMAP: search, read, OCR, send, drafts.
この種の作業を AI に教える Skill。これと一緒に使えます
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 7/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 7/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Stalwart Mail MCP をインストールして。https://mcp.popnx.com/i/cybersmurf-stalwart-mail-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server Stalwart Mail MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "stalwart-mail": { "command": "npx", "args": [ "-y", "stalwart-mail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_USER": "your-value", "STALWART_PASSWORD": "your-value", "MAIL_OCR_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) STALWART_PASSWORD, MAIL_OCR_API_KEY, STALWART_URL, STALWART_USER は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Stalwart Mail MCP のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
STALWART_URL Public address of the Stalwart server, e.g. https://mail.example.comSTALWART_USER サインインに使用するメールボックスのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
SettingsDeveloperEdit Config
{
"mcpServers": {
"stalwart-mail": {
"command": "npx",
"args": [
"-y",
"stalwart-mail-mcp"
],
"env": {
"STALWART_URL": "your-value",
"STALWART_USER": "your-value",
"STALWART_PASSWORD": "your-value",
"MAIL_OCR_API_KEY": "your-value"
}
}
}
}キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Stalwart Mail MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Stalwart Mail MCP を使っていると言うか、回答に Stalwart Mail MCP のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MAIL_LANG 言語:auto、en、cs、de、es、fr、it、nl、pl、pt、sk MAIL_OCR_PROVIDER スキャンの OCR:auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom MAIL_OCR_MODEL OCR モデル名 MAIL_OCR_BASE_URL カスタムの OpenAI 互換 OCR サーバーのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Stalwart Mail MCP につなげません
Stalwart Mail MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · Stalwart Mail MCP につなげるアプリを使う
Claude Code につなげますが、先に準備が必要です
Stalwart Mail MCP のキーが必要です(提供元のサイトで作成) · 設定を 2 項目入力 (STALWART_URL, STALWART_USER) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server Stalwart Mail MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user stalwart-mail --env STALWART_URL=your-value --env STALWART_USER=your-value --env STALWART_PASSWORD=your-value --env MAIL_OCR_API_KEY=your-value -- npx -y stalwart-mail-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) STALWART_PASSWORD, MAIL_OCR_API_KEY, STALWART_URL, STALWART_USER は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Stalwart Mail MCP のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
STALWART_URL Public address of the Stalwart server, e.g. https://mail.example.comSTALWART_USER サインインに使用するメールボックスのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user stalwart-mail --env STALWART_URL=your-value --env STALWART_USER=your-value --env STALWART_PASSWORD=your-value --env MAIL_OCR_API_KEY=your-value -- npx -y stalwart-mail-mcpEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Stalwart Mail MCP が一覧にあり、接続済みと表示されれば OK です
Stalwart Mail MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Stalwart Mail MCP を使っていると言うか、回答に Stalwart Mail MCP のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MAIL_LANG 言語:auto、en、cs、de、es、fr、it、nl、pl、pt、sk MAIL_OCR_PROVIDER スキャンの OCR:auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom MAIL_OCR_MODEL OCR モデル名 MAIL_OCR_BASE_URL カスタムの OpenAI 互換 OCR サーバーのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Stalwart Mail MCP のキーが必要です(提供元のサイトで作成) · 設定を 2 項目入力 (STALWART_URL, STALWART_USER) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server Stalwart Mail MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "stalwart-mail": { "command": "npx", "args": [ "-y", "stalwart-mail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_USER": "your-value", "STALWART_PASSWORD": "your-value", "MAIL_OCR_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) STALWART_PASSWORD, MAIL_OCR_API_KEY, STALWART_URL, STALWART_USER は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Stalwart Mail MCP のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
STALWART_URL Public address of the Stalwart server, e.g. https://mail.example.comSTALWART_USER サインインに使用するメールボックスのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
Stalwart Mail MCP の設定で STALWART_PASSWORD, MAIL_OCR_API_KEY, STALWART_URL, STALWART_USER が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Stalwart Mail MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Stalwart Mail MCP を使っていると言うか、回答に Stalwart Mail MCP のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MAIL_LANG 言語:auto、en、cs、de、es、fr、it、nl、pl、pt、sk MAIL_OCR_PROVIDER スキャンの OCR:auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom MAIL_OCR_MODEL OCR モデル名 MAIL_OCR_BASE_URL カスタムの OpenAI 互換 OCR サーバーのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Stalwart Mail MCP のキーが必要です(提供元のサイトで作成) · 設定を 2 項目入力 (STALWART_URL, STALWART_USER) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server Stalwart Mail MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "stalwart-mail": { "type": "stdio", "command": "npx", "args": [ "-y", "stalwart-mail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_USER": "your-value", "STALWART_PASSWORD": "your-value", "MAIL_OCR_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) STALWART_PASSWORD, MAIL_OCR_API_KEY, STALWART_URL, STALWART_USER は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Stalwart Mail MCP のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
STALWART_URL Public address of the Stalwart server, e.g. https://mail.example.comSTALWART_USER サインインに使用するメールボックスのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
Stalwart Mail MCP の設定で STALWART_PASSWORD, MAIL_OCR_API_KEY, STALWART_URL, STALWART_USER が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Stalwart Mail MCP を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Stalwart Mail MCP を使っていると言うか、回答に Stalwart Mail MCP のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MAIL_LANG 言語:auto、en、cs、de、es、fr、it、nl、pl、pt、sk MAIL_OCR_PROVIDER スキャンの OCR:auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom MAIL_OCR_MODEL OCR モデル名 MAIL_OCR_BASE_URL カスタムの OpenAI 互換 OCR サーバーのアドレス 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --scope user stalwart-mail --env STALWART_URL=your-value --env STALWART_USER=your-value --env STALWART_PASSWORD=your-value --env MAIL_OCR_API_KEY=your-value -- npx -y stalwart-mail-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"stalwart-mail": {
"command": "npx",
"args": [
"-y",
"stalwart-mail-mcp"
],
"env": {
"STALWART_URL": "your-value",
"STALWART_USER": "your-value",
"STALWART_PASSWORD": "your-value",
"MAIL_OCR_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"stalwart-mail": {
"command": "npx",
"args": [
"-y",
"stalwart-mail-mcp"
],
"env": {
"STALWART_URL": "your-value",
"STALWART_USER": "your-value",
"STALWART_PASSWORD": "your-value",
"MAIL_OCR_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"stalwart-mail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stalwart-mail-mcp"
],
"env": {
"STALWART_URL": "your-value",
"STALWART_USER": "your-value",
"STALWART_PASSWORD": "your-value",
"MAIL_OCR_API_KEY": "your-value"
}
}
}
}STALWART_URL 必須 envSTALWART_USER 必須 envSTALWART_PASSWORD 秘密 必須 envMAIL_LANG envMAIL_OCR_PROVIDER envMAIL_OCR_API_KEY 秘密 必須 envMAIL_OCR_MODEL envMAIL_OCR_BASE_URL env説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント cybersmurf で確認済みです
コードの最終更新:先月
MITを使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
OSV.dev に stalwart-mail-mcp@2.3.0 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月16日
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/cybersmurf-stalwart-mail-mcp)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:STALWART_PASSWORD, MAIL_OCR_API_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は先月、最新バージョン(2.3.0)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Search and read Empryo's documentation. Read-only, no auth, no local access.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| これ Stalwart Mail MCP | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 |
| キーが必要 | はい | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | はい | はい | はい | いいえ | いいえ |
| 基本チェック | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| ライセンス | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
*Česky*
An MCP server that lets Claude Desktop (or any MCP client that speaks stdio) work with a mailbox on your own Stalwart mail server: search and read mail including attachments and scans, reply in a thread, send, keep drafts, and look up or add contacts.
It talks JMAP with the mailbox's own credentials. Nothing is installed on the server.
Claude Desktop ──stdio──▶ dist/index.cjs (Node, this MCP server)
│ HTTPS · JMAP (RFC 8620 / 8621 / 9610) ▼ https://mail.example.com/jmap (reverse proxy → Stalwart)
There is also a remote mode: the same server run next to Stalwart, added to Claude as a custom connector, so the mailbox works in claude.ai, the mobile apps and every desktop chat — people sign in through Stalwart's own OAuth and the server holds no credentials. See docs/remote.md.
How it fits into a small self-hosted setup — reverse proxy, what to expose, shared mailboxes, branded builds for a family or a team — is described in docs/small-infrastructure.md.
Names carry a prefix, mail_ by default (a branded build can change it).
| Tool | What it does |
|---|---|
mail_list_mailboxes | accounts (own + shared), folders with counts, allowed senders, address books |
mail_search_emails | full text / from / to / subject / folder / date / unread / has attachment, or a whole thread |
mail_get_email | a whole message by id (HTML → text) with a numbered list of attachments |
mail_get_attachment | an attachment's content: text, PDF page by page, OCR of scans and photographed documents, images; saves the file to disk |
mail_send_email | send a new mail or a reply (in_reply_to_id, reply_all), attachments from disk |
mail_create_draft | the same, but only saved to Drafts |
mail_send_draft / mail_delete_draft | send / delete a draft by id |
mail_search_contacts | address books of every account plus senders and recipients from the mail history |
mail_add_contact | new contact (own or shared address book) |
Sending is immediate and cannot be undone, so the tool descriptions tell the model to send only on the user's explicit instruction and to create a draft otherwise.
Download stalwart-mail.mcpb from the latest release and open it — Claude Desktop offers to install it. Or build it yourself:
npm install
./pack.sh # → stalwart-mail.mcpb open stalwart-mail.mcpb # Claude Desktop → Install
Fill in the server address, the mailbox e-mail and password. Optional: the language and a Mistral API key for OCR. The password is kept in the operating system's keychain.
The server is on npm as stalwart-mail-mcp and in the MCP Registry as io.github.cybersmurf/stalwart-mail-mcp, so no checkout is needed:
{
"mcpServers": { "stalwart-mail": { "command": "npx", "args": ["-y", "stalwart-mail-mcp"], "env": { "STALWART_URL": "https://mail.example.com", "STALWART_USER": "jane@example.com", "STALWART_PASSWORD": "…" } } } }
Claude Code: claude mcp add stalwart-mail --env STALWART_URL=https://mail.example.com --env STALWART_USER=jane@example.com --env STALWART_PASSWORD=… -- npx -y stalwart-mail-mcp
Run the server next to Stalwart (stalwart-mail-mcp --http, or the Docker image) and add its URL as a custom connector — step by step in docs/remote.md.
| Variable | Meaning |
|---|---|
STALWART_URL | public address of the server, e.g. https://mail.example.com (required) |
STALWART_USER | the mailbox you sign in as (required) |
STALWART_PASSWORD | mailbox or app password — sent as Basic auth |
STALWART_TOKEN | an OAuth access token instead of the password — sent as Bearer |
MAIL_LANG | auto (default: the machine's language, English when unsupported) or a locale code |
MAIL_TOOL_PREFIX | prefix of the tool names, default mail |
MAIL_BRAND | display name of the server, default Stalwart Mail |
MAIL_DOWNLOAD_DIR | where attachments are saved, default ~/Downloads/Mail-Attachments |
MAIL_TIMEZONE | IANA zone for dates in the output, default the machine's zone |
MAIL_OCR_PROVIDER, MAIL_OCR_API_KEY, MAIL_OCR_MODEL, MAIL_OCR_BASE_URL | who reads scans — see OCR providers |
MISTRAL_API_KEY | shortcut: with only this set, scans go to Mistral OCR |
MAIL_ALLOW_SEND | false removes send_email and send_draft |
MAIL_ALLOW_DRAFTS | false removes create_draft and delete_draft |
MAIL_ALLOW_CONTACT_EDIT | false removes add_contact |
MAIL_ALLOW_ATTACHMENTS | false removes get_attachment |
MAIL_SAVE_ATTACHMENTS | false = opened attachments are only read, nothing is written to disk |
Every capability is a switch in the extension settings (or an env variable above), all on by default. A capability that is off is not offered as a tool at all, so it holds regardless of what the client's approval prompts remember:
get_attachment reads the file from a temporary copy and is annotated read-only; with saving on it writes to the download folder and is annotated as a writing tool, which clients may treat differently when asking for approval.Approvals themselves ("allow once / always allow") belong to the client, not to this server. In Claude Desktop they are set per tool in the extension's settings; a client may ask again after an update that changes a tool's definition.
mail_get_attachment downloads the file and returns what the model can read:
page_from / page_to for long ones);(OCR). A mixed PDF sends only its scanned pages;sips);Without a provider, or with ocr: false, a scan comes back as an image of page 1 (macOS) with a note. OCR is the only thing in this server that sends content anywhere besides your mail server — to the provider you picked, or nowhere at all with a local model.
MAIL_OCR_PROVIDER | What it is | Needs | Reads PDFs |
|---|---|---|---|
auto (default) | Mistral when MISTRAL_API_KEY is set, a custom server when address and model are set, otherwise off | — | — |
mistral | Mistral OCR (mistral-ocr-latest) | key | directly |
anthropic | Claude through the official SDK (default model claude-opus-5-5) | key | directly |
openai, openrouter, gemini | hosted OpenAI-compatible vision chat APIs | key + model | page images |
ollama, lmstudio | local models on localhost | model | page images |
custom | any other OpenAI-compatible server | MAIL_OCR_BASE_URL + model | page images |
off | no OCR | — | — |
MAIL_OCR_API_KEY, MAIL_OCR_MODEL and MAIL_OCR_BASE_URL complete the choice. Examples:
MAIL_OCR_PROVIDER=ollama MAIL_OCR_MODEL=llama3.2-vision # fully local
MAIL_OCR_PROVIDER=openrouter MAIL_OCR_API_KEY=… MAIL_OCR_MODEL= MAIL_OCR_PROVIDER=anthropic MAIL_OCR_API_KEY=… MAIL_OCR_PROVIDER=custom MAIL_OCR_BASE_URL=http://nas.lan:8000/v1 MAIL_OCR_MODEL=…
Providers that take images only get each scanned page as a PNG taken out of the PDF (the scan itself, scaled to 2000 px). A page that is not one big picture cannot be handed to them and is reported as unread; Mistral and Anthropic read any PDF. Pages are sent three at a time.
Things to expect: a local model can need a minute or more per dense page, which may exceed your client's tool timeout — read long scans in page ranges. General vision models transcribe well but, like every OCR, can misplace cells in tables with graphics; preview: true adds the page image so the model can check. With anthropic, a declined request is retried server-side on a fallback model (fallbacks: "default") on the current Claude models.
node test/live-ocr.mjs runs the provider configured in the environment against a scanned fixture (or your own file) and prints the result.
Tool titles, descriptions, output and error messages are localized. English is the source, Czech is written by hand, and German, Spanish, French, Italian, Dutch, Polish, Portuguese and Slovak are machine translations that no native speaker has reviewed yet — corrections are welcome.
To add or fix a language edit src/locales/ .ts (copy en.ts, keep the {placeholders} and line breaks) and register it in src/locales/index.ts. A locale may be partial; missing keys fall back to English. npm run test:offline checks every locale against the English keys.
For a family or a team you can ship an extension where the server address is pre-filled and people only type their e-mail and password. A preset is a folder with its own manifest.json (and optionally icon.png); see presets/example.
./pack.sh --preset /path/to/preset # → /path/to/preset/<name>.mcpb
The preset's manifest sets MAIL_TOOL_PREFIX, MAIL_BRAND, MAIL_LANG or MAIL_DOWNLOAD_DIR through env, and gives server_url a default. Keep the preset's name stable so Claude Desktop treats new builds as updates.
npm run test:offline # no mailbox needed: fake JMAP + fake OCR, the real server over stdio
MISTRAL_API_KEY=… node test/offline.mjs --live-ocr # also sends the fixtures to the real OCR STALWART_URL=… STALWART_USER=… STALWART_PASSWORD=… node test/smoke.mjs # real mailbox STALWART_URL=… STALWART_USER=… STALWART_PASSWORD=… node test/smoke.mjs --send # also sends a mail to yourself
The offline test covers attachments, OCR, the tool prefix, language selection and locale consistency. The smoke test creates a draft and deletes it; with --send it leaves one test message in the mailbox.
Email/query with "inMailbox": null is rejected by Stalwart — the filter must be absent or carry an id.unpdf); the .cjs extension matters because package.json says "type": "module".MIT