World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Inspect and manage TrueNAS SCALE storage, shares, apps and system state with your own API key
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 6/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 18/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
TrueNAS SCALE をインストールして。https://mcp.popnx.com/i/cedricziel-truenas-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
設定を 1 項目入力 (TRUENAS_MCP_TARGET) · 先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server TrueNAS SCALE を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "truenas": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "TRUENAS_MCP_TARGET", "ghcr.io/cedricziel/truenas-mcp:0.4.2" ], "env": { "TRUENAS_MCP_TARGET": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) TRUENAS_MCP_TARGET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、TrueNAS SCALE のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
TRUENAS_MCP_TARGET 管理対象の TrueNAS ホスト。任意で host:port 形式。TrueNAS SCALE 25.04 以降が必要。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
SettingsDeveloperEdit Config
{
"mcpServers": {
"truenas": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TRUENAS_MCP_TARGET",
"ghcr.io/cedricziel/truenas-mcp:0.4.2"
],
"env": {
"TRUENAS_MCP_TARGET": "your-value"
}
}
}
}TrueNAS SCALE を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が TrueNAS SCALE を使っていると言うか、回答に TrueNAS SCALE のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
TRUENAS_MCP_ALLOW_PLAINTEXT TLS なしで MCP を提供します。リスナーは loopback のみに公開されるためここで設定しています。別の場所からポートにアクセス可能な場合は、これを削除し TRUENAS_MCP_TLS_CERT/KEY を指定してください。 TRUENAS_MCP_TARGET_INSECURE TrueNAS の証明書を検証せずに受け入れ、接続は暗号化したままにします。TrueNAS には CN=localhost の自己署名証明書が付属しているため、到達可能なアドレスではいずれも検証に通りません。 TRUENAS_MCP_ENABLE_WRITES 変更系のツールを公開します。既定は読み取り専用です。回復不能な操作は、いずれの場合も到達できないままです。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ TrueNAS SCALE につなげません
TrueNAS SCALE はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · TrueNAS SCALE につなげるアプリを使う
B · その他 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
設定を 1 項目入力 (TRUENAS_MCP_TARGET) · 先にパソコンへ Docker を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server TrueNAS SCALE を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user truenas --env TRUENAS_MCP_TARGET=your-value -- docker run -i --rm -e TRUENAS_MCP_TARGET ghcr.io/cedricziel/truenas-mcp:0.4.2 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) TRUENAS_MCP_TARGET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、TrueNAS SCALE のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
TRUENAS_MCP_TARGET 管理対象の TrueNAS ホスト。任意で host:port 形式。TrueNAS SCALE 25.04 以降が必要。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user truenas --env TRUENAS_MCP_TARGET=your-value -- docker run -i --rm -e TRUENAS_MCP_TARGET ghcr.io/cedricziel/truenas-mcp:0.4.2TrueNAS SCALE が一覧にあり、接続済みと表示されれば OK です
TrueNAS SCALE を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が TrueNAS SCALE を使っていると言うか、回答に TrueNAS SCALE のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
TRUENAS_MCP_ALLOW_PLAINTEXT TLS なしで MCP を提供します。リスナーは loopback のみに公開されるためここで設定しています。別の場所からポートにアクセス可能な場合は、これを削除し TRUENAS_MCP_TLS_CERT/KEY を指定してください。 TRUENAS_MCP_TARGET_INSECURE TrueNAS の証明書を検証せずに受け入れ、接続は暗号化したままにします。TrueNAS には CN=localhost の自己署名証明書が付属しているため、到達可能なアドレスではいずれも検証に通りません。 TRUENAS_MCP_ENABLE_WRITES 変更系のツールを公開します。既定は読み取り専用です。回復不能な操作は、いずれの場合も到達できないままです。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
設定を 1 項目入力 (TRUENAS_MCP_TARGET) · 先にパソコンへ Docker を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server TrueNAS SCALE を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "truenas": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "TRUENAS_MCP_TARGET", "ghcr.io/cedricziel/truenas-mcp:0.4.2" ], "env": { "TRUENAS_MCP_TARGET": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) TRUENAS_MCP_TARGET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、TrueNAS SCALE のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
TRUENAS_MCP_TARGET 管理対象の TrueNAS ホスト。任意で host:port 形式。TrueNAS SCALE 25.04 以降が必要。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
TrueNAS SCALE の設定で TRUENAS_MCP_TARGET が空です。自分のキーを入れて保存します
TrueNAS SCALE を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が TrueNAS SCALE を使っていると言うか、回答に TrueNAS SCALE のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
TRUENAS_MCP_ALLOW_PLAINTEXT TLS なしで MCP を提供します。リスナーは loopback のみに公開されるためここで設定しています。別の場所からポートにアクセス可能な場合は、これを削除し TRUENAS_MCP_TLS_CERT/KEY を指定してください。 TRUENAS_MCP_TARGET_INSECURE TrueNAS の証明書を検証せずに受け入れ、接続は暗号化したままにします。TrueNAS には CN=localhost の自己署名証明書が付属しているため、到達可能なアドレスではいずれも検証に通りません。 TRUENAS_MCP_ENABLE_WRITES 変更系のツールを公開します。既定は読み取り専用です。回復不能な操作は、いずれの場合も到達できないままです。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
設定を 1 項目入力 (TRUENAS_MCP_TARGET) · 先にパソコンへ Docker を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server TrueNAS SCALE を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "truenas": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "TRUENAS_MCP_TARGET", "ghcr.io/cedricziel/truenas-mcp:0.4.2" ], "env": { "TRUENAS_MCP_TARGET": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) TRUENAS_MCP_TARGET は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、TrueNAS SCALE のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
TRUENAS_MCP_TARGET 管理対象の TrueNAS ホスト。任意で host:port 形式。TrueNAS SCALE 25.04 以降が必要。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
TrueNAS SCALE の設定で TRUENAS_MCP_TARGET が空です。自分のキーを入れて保存します
TrueNAS SCALE を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が TrueNAS SCALE を使っていると言うか、回答に TrueNAS SCALE のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
TRUENAS_MCP_ALLOW_PLAINTEXT TLS なしで MCP を提供します。リスナーは loopback のみに公開されるためここで設定しています。別の場所からポートにアクセス可能な場合は、これを削除し TRUENAS_MCP_TLS_CERT/KEY を指定してください。 TRUENAS_MCP_TARGET_INSECURE TrueNAS の証明書を検証せずに受け入れ、接続は暗号化したままにします。TrueNAS には CN=localhost の自己署名証明書が付属しているため、到達可能なアドレスではいずれも検証に通りません。 TRUENAS_MCP_ENABLE_WRITES 変更系のツールを公開します。既定は読み取り専用です。回復不能な操作は、いずれの場合も到達できないままです。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --scope user truenas --env TRUENAS_MCP_TARGET=your-value -- docker run -i --rm -e TRUENAS_MCP_TARGET ghcr.io/cedricziel/truenas-mcp:0.4.2Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"truenas": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TRUENAS_MCP_TARGET",
"ghcr.io/cedricziel/truenas-mcp:0.4.2"
],
"env": {
"TRUENAS_MCP_TARGET": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"truenas": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TRUENAS_MCP_TARGET",
"ghcr.io/cedricziel/truenas-mcp:0.4.2"
],
"env": {
"TRUENAS_MCP_TARGET": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"truenas": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TRUENAS_MCP_TARGET",
"ghcr.io/cedricziel/truenas-mcp:0.4.2"
],
"env": {
"TRUENAS_MCP_TARGET": "your-value"
}
}
}
}TRUENAS_MCP_TARGET 必須 envTRUENAS_MCP_ALLOW_PLAINTEXT envTRUENAS_MCP_TARGET_INSECURE envTRUENAS_MCP_ENABLE_WRITES 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アカウント cedricziel で確認済みです
コードの最終更新:3 日前
MITを使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/cedricziel-truenas-mcp)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は3 日前、最新バージョン(0.4.2)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
Validate oh-my-posh configurations and segment snippets against the official schema.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
| これ TrueNAS SCALE | World Monitor | openstatus | Oh My Posh Validator | Strata | Jitsu | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 1/4 | 4/4 |
| ライセンス | MIT | AGPL-3.0 | AGPL-3.0 | MIT | Apache-2.0 | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
An MCP server for TrueNAS SCALE. Read-first, deployable as a TrueNAS app, and authenticated with each user's own API key.
Status: working, young. Every capability in the design is implemented and
verified against a live TrueNAS 26 box. Expect rough edges rather than gaps.
iX ship an official truenas/truenas-mcp, and if it fits your needs you should use it. This one exists for three things it does not do:
Three ideas do most of the work.
The credential is the authorization. Callers supply their own TrueNAS API key; this server stores none. A session reaches exactly what that user's key permits, revocation happens in the TrueNAS UI, and there is no shared secret to leak. Authentication and authorization stop being two systems that can disagree. Served over stdio the key arrives from the environment instead, because there is no request to carry it — but the client spawns one process per user, so it is still that user's own key. What the design rules out is one key standing in for many callers, not configuration as such.
Reads and writes get different tool shapes. Reads are grouped into concern-level tools with an op enum, because they share most of their arguments and 815 middleware methods cannot each become a tool. Writes are individual tools — MCP annotations are per-tool, so bundling a safe operation with a destructive one behind one op parameter would put both behind a single consent gate, and a user who tires of confirming list_pools will allowlist the tool that can also export a pool.
Read-only by default. Mutating tools appear only when explicitly enabled. Separately, a denylist of unrecoverable operations is not reachable under any configuration, and it constrains argument values rather than just method names — deleting an app is recoverable, deleting it along with its volumes is not, and those are the same method.
Each of these was measured against a live box rather than reasoned about in the abstract, and several were overturned by what that measurement found.
Copy deploy/truenas-custom-app.yaml, adjust TRUENAS_MCP_TARGET, and paste it into Apps → Discover → Install via YAML.
It mounts no host socket and requests no privileged access. The server reaches the middleware over the network even when running on the same box, so that every connection carries a user identity rather than root-equivalent socket access.
Nothing requires the server to run on the machine it manages, and there is a good reason not to: installed as a TrueNAS app, it is unavailable exactly when the box is unhealthy — which is when you most want to ask it what is wrong.
docker run -p 8080:8080 \
-e TRUENAS_MCP_TARGET=nas.local \ -e TRUENAS_MCP_TLS_CERT=/tls/cert.pem \ -e TRUENAS_MCP_TLS_KEY=/tls/key.pem \ ghcr.io/cedricziel/truenas-mcp:main
Each GitHub release attaches binaries for Linux, macOS, and Windows on amd64 and arm64, alongside a checksums.txt. Configuration is environment variables only — there is no config file, and the only flags are --stdio and --healthcheck.
By default the binary is an HTTP server. Running it does not make a client pick it up on its own; it listens on a port, and the client connects to it by URL. For clients that spawn the server themselves, see Serving over stdio below.
TRUENAS_MCP_TARGET=nas.local \
TRUENAS_MCP_LISTEN=127.0.0.1:8080 \ TRUENAS_MCP_TARGET_INSECURE=true \ TRUENAS_MCP_ALLOW_PLAINTEXT=true \ ./truenas-mcp
Point the client at http://localhost:8080/mcp, with the TrueNAS API key sent as an Authorization: Bearer header, the same as in Connecting a client.
TRUENAS_MCP_TARGET_INSECURE is typically needed for the reason given in On the two TLS settings: TrueNAS ships a self-signed certificate for CN=localhost that will not validate against any other address. TRUENAS_MCP_ALLOW_PLAINTEXT is defensible here specifically because TRUENAS_MCP_LISTEN binds the listener to loopback — reachable only from the same machine — which is the condition that section argues plaintext requires. The default bind address is :8080, which is every interface, so dropping that setting while keeping plaintext would put API keys on the wire.
Some clients spawn a server as a subprocess and talk to it over its standard input and output rather than connecting to a URL. --stdio serves the same tools that way.
claude mcp add --scope user truenas \
--env TRUENAS_MCP_TARGET=nas.local \ --env TRUENAS_MCP_TARGET_INSECURE=true \ --env TRUENAS_MCP_API_KEY=$YOUR_TRUENAS_API_KEY \ -- /path/to/truenas-mcp --stdio
There is no request to carry a header here, so the key comes from TRUENAS_MCP_API_KEY instead. That is not the shared secret the HTTP transport avoids: the client spawns one process per user, so the key it passes is that user's own, and the process reaches exactly what that key permits. The same variable is refused in HTTP mode, where one process serves many callers and a configured key would be shared by all of them.
Nothing about the listener applies. TRUENAS_MCP_LISTEN, the two TLS settings and TRUENAS_MCP_ALLOW_PLAINTEXT are ignored with a warning rather than an error, since none of them weakens anything when no listener exists. --healthcheck is refused alongside --stdio, because it probes a listener that was never started.
Settings that concern the target rather than the listener still apply, including TRUENAS_MCP_TARGET_INSECURE and TRUENAS_MCP_ENABLE_WRITES.
All configuration is environment variables; no config file or persistent volume is needed. Invalid configuration refuses to start rather than running degraded.
| Variable | Default | Meaning |
|---|---|---|
TRUENAS_MCP_TARGET | _required_ | TrueNAS host, optionally host:port |
TRUENAS_MCP_LISTEN | :8080 | Bind address |
TRUENAS_MCP_TLS_CERT / TRUENAS_MCP_TLS_KEY | — | Serve MCP over TLS |
TRUENAS_MCP_ALLOW_PLAINTEXT | false | Serve without TLS (see below) |
TRUENAS_MCP_TARGET_INSECURE | false | Accept the target's certificate unverified |
TRUENAS_MCP_TARGET_ALLOW_PLAINTEXT | false | Connect to the target without TLS |
TRUENAS_MCP_ENABLE_WRITES | false | Expose mutating tools |
TRUENAS_MCP_API_KEY | — | Credential for --stdio; refused otherwise |
TRUENAS_MCP_OAUTH_ISSUER | — | Enables OAuth; the server's own externally-reachable base URL |
TRUENAS_MCP_OAUTH_ENCRYPTION_KEY | _generated_ | 64 hex characters (32 bytes); see below |
TRUENAS_MCP_OAUTH_ACCESS_TOKEN_TTL | 1h | How long an issued OAuth access token is valid |
TRUENAS_MCP_OAUTH_REFRESH_TOKEN_TTL | 720h (30 days) | How long a refresh token is valid; 0 disables refresh tokens |
No credential is configurable for the HTTP transport. Callers supply their own with each request, and setting TRUENAS_MCP_API_KEY without --stdio is a startup error rather than a silent fallback. Over stdio there is no request to carry one and the process serves a single user, so the variable is how that user's key arrives — see Serving over stdio.
Transport scheme and certificate verification are deliberately separate.
TrueNAS ships a self-signed certificate issued for CN=localhost with only DNS:localhost as a SAN, so no address you can reach it by will validate. The fix is TRUENAS_MCP_TARGET_INSECURE=true, which keeps the connection encrypted and merely unauthenticated. If certificate problems forced you onto plaintext instead, TrueNAS would see your API key in the clear — and revoke it.
TRUENAS_MCP_ALLOW_PLAINTEXT is about the boundary callers cross, which carries their API keys. It is correct when a reverse proxy terminates TLS in front of the server, and wrong when the plaintext listener is reachable directly.
claude mcp add --scope user --transport http truenas \
https://your-host/mcp \ --header "Authorization: Bearer $YOUR_TRUENAS_API_KEY"
The key may also be sent as X-TrueNAS-API-Key, for clients that cannot set an Authorization header. Requests without either are refused with 401.
Clients that spawn the server rather than connect to one want Serving over stdio instead.
A hosted MCP client such as Claude.ai never holds a TrueNAS API key directly — it only speaks OAuth 2.1: discovery, Dynamic Client Registration (RFC 7591), and an authorization-code flow with PKCE. Set an issuer URL to turn that on:
docker run -p 8080:8080 \
-e TRUENAS_MCP_TARGET=nas.local \ -e TRUENAS_MCP_TLS_CERT=/tls/cert.pem \ -e TRUENAS_MCP_TLS_KEY=/tls/key.pem \ -e TRUENAS_MCP_OAUTH_ISSUER=https://your-host \ -e TRUENAS_MCP_OAUTH_ENCRYPTION_KEY=$(openssl rand -hex 32) \ ghcr.io/cedricziel/truenas-mcp:main
TRUENAS_MCP_OAUTH_ISSUER must be the exact base URL the server is reachable at from the client's side (no trailing slash). TRUENAS_MCP_OAUTH_ENCRYPTION_KEY seals every client registration, authorization code, and token this process issues; leaving it unset works, but a fresh key is generated on every restart and invalidates every outstanding one — set it explicitly for anything longer than a quick trial. Neither TrueNAS credentials nor a client/token database are stored anywhere: everything OAuth issues is self-contained, verified with this one key. See openspec/changes/oauth-dcr-authorization/design.md for why.
Point a client at https://your-host/mcp the same way you would for the raw API key above; it discovers everything else — the authorization server, where to register, where to send the resource owner — from /.well-known/oauth-protected-resource. The first connection opens a browser consent screen asking for a TrueNAS username (optional, shown only to you) and API key; nothing is granted to the client until that's submitted and the target accepts it.
TRUENAS_MCP_ALLOW_PLAINTEXT works the same way it does for the raw-API-key path: it is meant for a reverse proxy that terminates TLS at the edge and forwards plaintext to this process, not for exposing the consent screen over the open internet unencrypt