TrueNAS MCP
An MCP server that turns your TrueNAS instance into tools, letting you manage disks, pools, apps, VMs, shares, and more from any MCP client.
README
TrueNAS MCP
An MCP server that turns your TrueNAS (SCALE) instance into tools. Manage pools,
disks, datasets, apps, VMs and more from any MCP client. Built on FastMCP and the
official truenas_api_client websocket library.
Authenticated with a TrueNAS API key over a persistent websocket connection.
Targets TrueNAS 25.10 (pin: TS-25.10.3).
Run with Docker
You need a TrueNAS instance and an API key (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-mcp
Settings
| name | default | notes |
|---|---|---|
TRUENAS_URI |
- | required, ws:// or wss:// websocket URL, e.g. wss://host/api/current |
TRUENAS_API_KEY |
- | required, from TrueNAS API Keys |
TRUENAS_VERIFY_SSL |
true | set false only over plain ws:// (disable TLS verification for self-signed) |
LOG_LEVEL |
INFO |
Values can come from a .env file in the working directory. API-key auth uses
auth.login_with_api_key over the persistent connection (TrueNAS 25.10 SCRAM -
no username needed).
Serve over HTTP
By default the server talks stdio (one process per client). To expose it as an HTTP MCP endpoint behind a gateway (e.g. LiteLLM), set the FastMCP transport env vars - no code change required:
| env | default |
|---|---|
FASTMCP_TRANSPORT |
stdio |
FASTMCP_HOST |
127.0.0.1 |
FASTMCP_PORT |
8000 |
FASTMCP_STREAMABLE_HTTP_PATH |
/mcp |
Example - serve streamable-http on all interfaces:
FASTMCP_TRANSPORT=streamable-http FASTMCP_HOST=0.0.0.0 FASTMCP_PORT=8000 \
truenas-mcp
Tools
system_info, list_pools, list_disks, list_datasets, list_apps,
list_vms, truenas_call (generic middleware escape hatch).
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.