TrueNAS MCP
TrueNAS MCP
一个 MCP 服务器,可将您的 TrueNAS (SCALE) 实例转化为工具。可从任何 MCP 客户端管理存储池、磁盘、数据集、应用、虚拟机等。基于 FastMCP 和官方 truenas_api_client websocket 库构建。
通过持久 websocket 连接使用 TrueNAS API 密钥进行身份验证。目标版本为 TrueNAS 25.10(固定版本:TS-25.10.3)。
使用 Docker 运行
您需要一个 TrueNAS 实例和一个 API 密钥(账户设置 > API 密钥)。
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 密钥 |
| true | 仅在纯 |
| INFO |
值可来自工作目录中的 .env 文件。API 密钥认证通过持久连接使用 auth.login_with_api_key(TrueNAS 25.10 SCRAM - 无需用户名)。
通过 HTTP 提供服务
默认情况下,服务器使用 stdio 通信(每个客户端一个进程)。要将其作为 HTTP MCP 端点暴露在网关(例如 LiteLLM)之后,请设置 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.2030MIT
- 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
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trash-panda-v91-beta/truenas-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server