TrueNAS MCP
TrueNAS MCP
Ein MCP-Server, der Ihre TrueNAS-Instanz (SCALE) in Tools verwandelt. Verwalten Sie Pools, Festplatten, Datasets, Apps, VMs und mehr von jedem MCP-Client aus. Basierend auf FastMCP und der offiziellen truenas_api_client-Websocket-Bibliothek.
Authentifiziert mit einem TrueNAS-API-Schlüssel über eine persistente Websocket-Verbindung. Zielt auf TrueNAS 25.10 (Pin: TS-25.10.3).
Mit Docker ausführen
Sie benötigen eine TrueNAS-Instanz und einen API-Schlüssel (Kontoeinstellungen > API-Schlüssel).
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
Einstellungen
name | default | Hinweise |
| - | erforderlich, ws:// oder wss:// Websocket-URL, z. B. |
| - | erforderlich, aus den TrueNAS-API-Schlüsseln |
| true | nur über einfaches |
| INFO |
Werte können aus einer .env-Datei im Arbeitsverzeichnis stammen. Die API-Schlüssel-Authentifizierung verwendet auth.login_with_api_key über die persistente Verbindung (TrueNAS 25.10 SCRAM - kein Benutzername erforderlich).
Über HTTP bereitstellen
Standardmäßig kommuniziert der Server über stdio (ein Prozess pro Client). Um ihn als HTTP-MCP-Endpunkt hinter einem Gateway (z. B. LiteLLM) bereitzustellen, setzen Sie die FastMCP-Transport-Umgebungsvariablen - keine Codeänderung erforderlich:
env | default |
|
|
|
|
|
|
|
|
Beispiel - streamable-http auf allen Schnittstellen bereitstellen:
FASTMCP_TRANSPORT=streamable-http FASTMCP_HOST=0.0.0.0 FASTMCP_PORT=8000 \
truenas-mcpTools
system_info, list_pools, list_disks, list_datasets, list_apps,
list_vms, truenas_call (generische Middleware-Notluke).
Lizenz
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