Atlas / MCP servers / vespo92 / TrueNAS Core

TrueNAS CoreSAFE

mcp/vespo92/truenas-core

A working TrueNAS Core MCP Server

Verdict
SAFE
Grade
B
Trust score
85 /100
Exposed tools
1 1r · 0w · 0d
Transport
—
License
MIT
Stars
32
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://www.python.org/downloads/) [](https://github.com/modelcontextprotocol/python-sdk) [](LICENSE) [](https://pypi.org/project/truenas-mcp-server/)

A production-ready Model Context Protocol (MCP) server for TrueNAS Core and SCALE systems. Control and manage your TrueNAS storage and virtualization through natural language with Claude or other MCP-compatible clients.

Automatic variant detection: The server automatically detects whether you're connected to TrueNAS Core or SCALE and enables the appropriate features.

🚀 Features

Universal Features (Core & SCALE)

  • User Management - Create, update, delete users and manage permissions
  • Storage Management - Manage pools, datasets, volumes with full ZFS support
  • File Sharing - Configure SMB, NFS, and iSCSI shares
  • Snapshot Management - Create, delete, rollback snapshots with automation
  • System Monitoring - Check system health, pool status, and resource usage

TrueNAS SCALE Features (24.04+)

Automatically enabled when connected to SCALE

  • Apps - Manage Docker Compose-based TrueNAS applications
  • Incus Instances - Control Incus VMs and containers (SCALE 25.04+)
  • Legacy VMs - Manage bhyve virtual machines

Enterprise Features

  • Type-Safe Operations - Full Pydantic models for request/response validation
  • Comprehensive Error Handling - Detailed error messages and recovery guidance
  • Production Logging - Structured logging with configurable levels
  • Connection Pooling - Efficient HTTP connection management with retry logic
  • Rate Limiting - Built-in rate limiting to prevent API abuse
  • Environment-Based Config - Flexible configuration via environment variables

📦

Read from source at commit b38a16eac1b0OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add truenas-mcp-server --env TRUENAS_API_KEY=${TRUENAS_API_KEY} -- uvx truenas-mcp-server
claude-desktop
{
  "mcpServers": {
    "truenas-mcp-server": {
      "command": "uvx",
      "args": [
        "truenas-mcp-server"
      ],
      "env": {
        "TRUENAS_API_KEY": "${TRUENAS_API_KEY}"
      }
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
debug_envreadDebug function to check environment variables
04

Trust audit

SAFEgrade B · trust 85/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (2 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
found

Findings (18)

MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/quick_test.py:6
api_key = "3-4vPYKNTxvN9BymmhgU77JDvrQBPbOdkCr7oM7n7ODScoZA7xaiKM1Al6uNNlKldS"
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
truenas_mcp_server/cache/manager.py:165
return hashlib.md5(key_str.encode()).hexdigest()
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/test_api_direct.py:25
print(f"API Key: {api_key[:10]}...{api_key[-10:]}")
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
utils/test_api_auth.sh:46
print(f"API Key: {api_key[:10]}...{api_key[-10:]}")
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
utils/test_api_auth.sh:47
print(f"Key Length: {len(api_key)} characters")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/guides/QUICKSTART.md:33
TRUENAS_URL=https://192.168.1.100  # Your TrueNAS IP
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/guides/QUICKSTART.md:66
"TRUENAS_URL": "https://192.168.1.100",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/guides/QUICK_REFERENCE.md:135
TRUENAS_URL=https://192.168.1.100
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/guides/QUICK_REFERENCE.md:148
"TRUENAS_URL": "https://192.168.1.100",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/quick_test.py:5
url = "https://10.0.0.14"
LOWNetwork egress · net.tls_off · CWE-200, CWE-319
tests/quick_test.py:13
async with httpx.AsyncClient(verify=False) as client:
Why it matters. certificate verification is disabled
Fix. leave verification on
LOWNetwork egress · net.tls_off · CWE-200, CWE-319
tests/test_api_direct.py:33
async with httpx.AsyncClient(verify=False, timeout=10.0) as client:
Why it matters. certificate verification is disabled
Fix. leave verification on
LOWNetwork egress · net.tls_off · CWE-200, CWE-319
utils/test_api_auth.sh:56
async with httpx.AsyncClient(verify=False, timeout=10.0) as client:
Why it matters. certificate verification is disabled
Fix. leave verification on
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/troubleshooting.md:58
cat .env  # macOS/Linux
Why it matters. asks the agent to read credentials
LOWSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:117
curl -LsSf https://astral.sh/uv/install.sh | sh
LOWSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/guides/INSTALL.md:16
curl -LsSf https://astral.sh/uv/install.sh | sh
LOWSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/guides/INSTALL.md:111
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha b38a16eac1b0full audit observations/trust-audit/mcp-server/vespo92__truenas-core.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08b38a16eac1b0SAFEB85first audit
06

Questions

What is the TrueNAS Core MCP server?

A working TrueNAS Core MCP Server

What tools does TrueNAS Core expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is TrueNAS Core safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (85/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does TrueNAS Core need?

It reads TRUENAS_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (b38a16eac1b0), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement