TrueNAS MCP
TrueNAS MCP
TrueNAS (SCALE) インスタンスをツールに変える MCP サーバー。プール、ディスク、データセット、アプリ、VM などを任意の MCP クライアントから管理できます。FastMCP と公式の truenas_api_client websocket ライブラリ上に構築されています。
TrueNAS API キーで認証し、永続的な websocket 接続を使用します。TrueNAS 25.10 (pin: TS-25.10.3) を対象としています。
Docker で実行
TrueNAS インスタンスと API キーが必要です (Account Settings > API Keys)。
docker build -t truenas-mcp .
docker run -e TRUENAS_URI=wss://truenas.example.com/api/current \
-e TRUENAS_API_KEY=your-key \
truenas-mcpRelated MCP server: truenas-ws-mcp
設定
name | default | notes |
| - | 必須、ws:// または wss:// websocket URL、例: |
| - | 必須、TrueNAS API Keys から取得 |
| true | 平文の |
| INFO |
値は作業ディレクトリの .env ファイルから取得できます。API キー認証は永続接続上の auth.login_with_api_key を使用します (TrueNAS 25.10 SCRAM - ユーザー名は不要)。
HTTP で提供
デフォルトではサーバーは stdio で通信します (クライアントごとに 1 プロセス)。ゲートウェイ (例: LiteLLM) の背後で HTTP MCP エンドポイントとして公開するには、FastMCP トランスポート環境変数を設定します - コードの変更は不要です:
env | default |
|
|
|
|
|
|
|
|
例 - すべてのインターフェースで streamable-http を提供:
FASTMCP_TRANSPORT=streamable-http FASTMCP_HOST=0.0.0.0 FASTMCP_PORT=8000 \
truenas-mcpツール
system_info、list_pools、list_disks、list_datasets、list_apps、list_vms、truenas_call (汎用ミドルウェアのエスケープハッチ)。
ライセンス
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server that enables Claude Desktop and other MCP clients to interact with TrueNAS Core systems through the TrueNAS API, supporting user management, storage operations, sharing, and snapshot creation.20537 PyPI32MIT
- AlicenseBqualityDmaintenanceMCP server for TrueNAS Scale that enables AI assistants to manage storage pools, datasets, apps, VMs, snapshots, and more via the native WebSocket API.59MIT
- AlicenseAqualityAmaintenanceAI-powered MCP server for TrueNAS SCALE storage operations with governance and safety features, enabling management of pools, datasets, snapshots, disks, alerts, and services.25MIT
- AlicenseAqualityBmaintenanceAn MCP server for TrueNAS that lets users manage ZFS pools, datasets, shares, snapshots, VMs, alerts, and network configuration through natural language, using a single hierarchical tool exposing 278 actions.11MIT