Help us shape the future of Go! Take the 2026 Go Developer Survey

truenas-mcp

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

README

truenas-mcp - a TrueNAS MCP server, CLI and Go SDK

An MCP server, CLI and Go SDK for looking after a TrueNAS from Claude Code, Claude Desktop, or any other MCP client.

It was made mainly to get a Go SDK for truenas-exporter. A server with a tool for much of the NAS tests an SDK far harder than an exporter that reads a handful of things. So the SDK lives here, and the exporter imports it.

This is being built. What works today is the Go connection to a TrueNAS, a typed client with a method for every API call, a stand-in NAS to test against, and an MCP server that reads most of a NAS and audits it, and changes what holds and protects its data, what it shares and which services run. The tools that change the rest of a NAS are being built.

Detection is code, correction is judgment. The audits only report what is wrong. Nothing on a NAS is changed unless a separate tool is asked to change it.

Install

brew install katbyte/tap/truenas-mcp

Or take a binary from the releases, run the image ghcr.io/katbyte/truenas-mcp, or build it with make install. It needs a TrueNAS 25.04 or later.

Quick start

Make an API key in the TrueNAS interface (Credentials, then API Keys), and note the user it is made for.

export TRUENAS_SERVER=nas.example.net
export TRUENAS_USERNAME=mcp
export TRUENAS_TOKEN=...   # the API key
truenas-mcp info

A TrueNAS comes with a certificate nothing trusts. Download it (Credentials, then Certificates) and pass it with --certificate-file. Connecting has the other ways, and how the key is kept safe.

Register the server with Claude Code. It only reads unless --enable-write is given.

claude mcp add truenas -e TRUENAS_SERVER=nas.example.net -e TRUENAS_USERNAME=mcp -e TRUENAS_TOKEN=... -- truenas-mcp serve

What is here

sdk/truenasrpc the connection to a TrueNAS
sdk/truenas a typed client with a method for every API call, generated from TrueNAS's own description
sdk/truenastest a stand-in TrueNAS for tests
tools the MCP tools, and which of them a session gets
truenas-mcp serve the MCP server, over stdio or HTTP
truenas-mcp tools lists the tools the flags would load, with no NAS
truenas-mcp info checks an address, a certificate and a key

What is coming: the tools that change the rest of a NAS, each with a dry run.

Toolsets

A session loads core and audit unless --toolsets names others, or all. It only reads until --enable-write is given, and removes nothing until --enable-delete is given as well. Tools lists every tool, what it needs to load, and what each set costs a client.

toolset what it covers
core which NAS this is, its pools and datasets, and its alerts
audit what is wrong, from every audit below
alerts dismiss an alert, and bring it back
storage make, change and remove datasets and volumes
disks the disks, with the pool each is in and how warm it is
protection snapshots, taken, gone back to and removed; the tasks that take them and scrub the pools, made, changed and run; and the tasks that copy data elsewhere
shares SMB and NFS shares, made, changed and removed, and iSCSI targets with what they offer
services the services, started, stopped and set to start with the NAS
apps the apps the NAS runs in containers
vms the virtual machines
networking the interfaces with their addresses, and the name, gateways and name servers
accounts the users and groups

Audits

Each audit only reports, and changes nothing. Audits has every rule.

audit what it catches
audit_all every audit below at once, counted by audit and severity: where to start
audit_pools an unhealthy pool, a disk gone or counting errors, a scrub that found errors, a pool not scrubbed lately or with no scrub task
audit_space a pool past 80% full, a dataset near or at its quota or refquota
audit_disks a disk too hot for its kind or past its maker's limit, a disk whose SMART checks failed or report errors
audit_tasks a snapshot task, replication, copy task, cloud sync or cloud backup that failed, is held, copies a locked dataset or is switched off
audit_system an alert the NAS raised, a certificate run out or running out, a service set to start that is stopped, an update waiting

Settings

flag environment what it is
--server TRUENAS_SERVER the NAS's address, or unix:// on the NAS itself
--username TRUENAS_USERNAME the user the API key was made for
--token TRUENAS_TOKEN the API key
--token-file TRUENAS_TOKEN_FILE a file holding the key, in place of --token
--certificate-file TRUENAS_CERTIFICATE_FILE the NAS's own certificate, as a PEM file
--ca-file TRUENAS_CA_FILE the authority that signed the NAS's certificate
--skip-certificate-check TRUENAS_SKIP_CERTIFICATE_CHECK take whatever certificate the NAS shows
--send-key-unchecked TRUENAS_SEND_KEY_UNCHECKED send the key to an unchecked NAS older than 26
--no-channel-binding TRUENAS_NO_CHANNEL_BINDING for a NAS behind a reverse proxy
--enable-write TRUENAS_ENABLE_WRITE load the tools that change something
--enable-delete TRUENAS_ENABLE_DELETE load the tools that delete too; needs --enable-write
--toolsets TRUENAS_TOOLSETS which groups of tools to load; core and audit by default, all for every one
--allow-tools, --deny-tools TRUENAS_ALLOW_TOOLS, TRUENAS_DENY_TOOLS add or take away tools by name
--listen TRUENAS_LISTEN serve over HTTP on this address, in place of stdio
--auth-token TRUENAS_AUTH_TOKEN the token an HTTP client must send
TRUENAS_LOG INFO, DEBUG or TRACE

The same settings can go in a .truenas-mcp file in $HOME, and in the working directory over it, as SERVER=... or CERTIFICATE_FILE=... lines.

Use it from Go

nas, err := truenasrpc.New("nas.example.net", truenasrpc.APIKey("metrics", key), truenasrpc.WithCertificateFile("nas.pem"))
if err != nil {
	return err
}
defer nas.Close()

var info struct {
	Version string `json:"version"`
}
err = nas.Call(ctx, "system.info", nil, &info)

One connection is shared by any number of calls. It reconnects by itself, and it never writes the key to a log. The typed client calls through it: client.New(nas), then typed.System.Info(ctx). Using the connection from Go covers the typed client, long jobs, events, files, and how it compares with TrueNAS's own Go client.

How this is built

  • I set the design, the scope and the rules, and decide what stays.
  • The SDK is tested against a real TrueNAS in a virtual machine, started clean for every run. The tools get a machine of their own, and every tool must answer in that run or it fails.
  • Every read the API has that needs no argument is called and checked against the API's own description.
  • The test NAS is given real problems to see how it reports them: a dead disk, a disk that gives back what was never written, a full dataset, copies whose other end goes away, a restart.
  • Everything truenas-exporter asks a NAS is asked the same way, with a key that may only read.
  • Each run counts how much of the API it called: about two thirds of its 769 methods so far. Not every method has a live test yet.
  • CI runs on every push to main: build, unit tests with the race detector, the live tests, golangci-lint, CodeQL, govulncheck, a Trivy scan of the binary, zizmor, actionlint, yamllint, shellcheck, typos, markdownlint, and a check of the vendored dependencies.

More

Documentation

Overview

Package main implements truenas-mcp, an MCP server and CLI for looking after a TrueNAS.

Directories

Path Synopsis
acceptance
described
Package described reads the description a TrueNAS gives of its own API (api-defs) for the tests: which methods there are, how each can be tested, and whether an answer a real NAS gave is the answer the description says it gives.
Package described reads the description a TrueNAS gives of its own API (api-defs) for the tests: which methods there are, how each can be tested, and whether an answer a real NAS gave is the answer the description says it gives.
layout
Package layout is what the throwaway TrueNAS the live tests run against is made to hold: the program that sets one up goes by it, and so do the tests that expect to find it.
Package layout is what the throwaway TrueNAS the live tests run against is made to hold: the program that sets one up goes by it, and so do the tests that expect to find it.
s3stand
Package s3stand is storage that speaks enough S3 for a TrueNAS to copy to, kept in memory, for the live tests: a NAS in a virtual machine has no cloud to send a cloud sync or a cloud backup to, and this stands in for one on the machine the tests run on.
Package s3stand is storage that speaks enough S3 for a TrueNAS to copy to, kept in memory, for the live tests: a NAS in a virtual machine has no cloud to send a cloud sync or a cloud backup to, and this stands in for one on the machine the tests run on.
setup
Package setup takes a TrueNAS fresh out of its installer to the one acceptance/layout describes, a step at a time, through the SDK.
Package setup takes a TrueNAS fresh out of its installer to the one acceptance/layout describes, a step at a time, through the SDK.
testnas command
Command testnas is the part of making a throwaway TrueNAS that a shell cannot do.
Command testnas is the part of making a throwaway TrueNAS that a shell cannot do.
Package cli implements the truenas-mcp command line interface: the cobra commands and the flag, environment and config file handling.
Package cli implements the truenas-mcp command line interface: the cobra commands and the flag, environment and config file handling.
sdk
pandorest command
Command pandorest generates sdk/truenas from the description a TrueNAS gives of its own API, with github.com/katbyte/pandorest: the description is imported into definitions under api-defs, and the client is written from those.
Command pandorest generates sdk/truenas from the description a TrueNAS gives of its own API, with github.com/katbyte/pandorest: the description is imported into definitions under api-defs, and the client is written from those.
truenas
Package truenas is a typed client for truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7, which were imported from api-defs/truenas-methods-25.10.7.json.
Package truenas is a typed client for truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7, which were imported from api-defs/truenas-methods-25.10.7.json.
truenas/acmednsauthenticator
Package acmednsauthenticator is a typed client for the AcmeDnsAuthenticator operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package acmednsauthenticator is a typed client for the AcmeDnsAuthenticator operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/alert
Package alert is a typed client for the Alert operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package alert is a typed client for the Alert operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/alertclasses
Package alertclasses is a typed client for the Alertclasses operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package alertclasses is a typed client for the Alertclasses operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/alertservice
Package alertservice is a typed client for the Alertservice operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package alertservice is a typed client for the Alertservice operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/apikey
Package apikey is a typed client for the ApiKey operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package apikey is a typed client for the ApiKey operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/app
Package app is a typed client for the App operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package app is a typed client for the App operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/appimage
Package appimage is a typed client for the AppImage operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package appimage is a typed client for the AppImage operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/appixvolume
Package appixvolume is a typed client for the AppIxVolume operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package appixvolume is a typed client for the AppIxVolume operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/appregistry
Package appregistry is a typed client for the AppRegistry operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package appregistry is a typed client for the AppRegistry operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/audit
Package audit is a typed client for the Audit operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package audit is a typed client for the Audit operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/auth
Package auth is a typed client for the Auth operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package auth is a typed client for the Auth operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/authtwofactor
Package authtwofactor is a typed client for the AuthTwofactor operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package authtwofactor is a typed client for the AuthTwofactor operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/boot
Package boot is a typed client for the Boot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package boot is a typed client for the Boot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/bootenvironment
Package bootenvironment is a typed client for the BootEnvironment operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package bootenvironment is a typed client for the BootEnvironment operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/catalog
Package catalog is a typed client for the Catalog operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package catalog is a typed client for the Catalog operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/certificate
Package certificate is a typed client for the Certificate operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package certificate is a typed client for the Certificate operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/client
Package client is a typed client for truenas 25.10.7 as a whole, generated by pandorest from the definitions in api-defs/truenas-25.10.7: New, and a Client with the operations of each tag on a field of its own.
Package client is a typed client for truenas 25.10.7 as a whole, generated by pandorest from the definitions in api-defs/truenas-25.10.7: New, and a Client with the operations of each tag on a field of its own.
truenas/cloudbackup
Package cloudbackup is a typed client for the CloudBackup operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package cloudbackup is a typed client for the CloudBackup operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/cloudsync
Package cloudsync is a typed client for the Cloudsync operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package cloudsync is a typed client for the Cloudsync operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/cloudsynccredentials
Package cloudsynccredentials is a typed client for the CloudsyncCredentials operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package cloudsynccredentials is a typed client for the CloudsyncCredentials operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/config
Package config is a typed client for the Config operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package config is a typed client for the Config operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/core
Package core is a typed client for the Core operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package core is a typed client for the Core operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/cronjob
Package cronjob is a typed client for the Cronjob operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package cronjob is a typed client for the Cronjob operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/device
Package device is a typed client for the Device operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package device is a typed client for the Device operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/directoryservices
Package directoryservices is a typed client for the Directoryservices operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package directoryservices is a typed client for the Directoryservices operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/disk
Package disk is a typed client for the Disk operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package disk is a typed client for the Disk operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/dns
Package dns is a typed client for the Dns operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package dns is a typed client for the Dns operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/docker
Package docker is a typed client for the Docker operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package docker is a typed client for the Docker operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/dockernetwork
Package dockernetwork is a typed client for the DockerNetwork operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package dockernetwork is a typed client for the DockerNetwork operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/enclosurelabel
Package enclosurelabel is a typed client for the EnclosureLabel operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package enclosurelabel is a typed client for the EnclosureLabel operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/failoverdisabled
Package failoverdisabled is a typed client for the FailoverDisabled operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package failoverdisabled is a typed client for the FailoverDisabled operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/failoverreboot
Package failoverreboot is a typed client for the FailoverReboot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package failoverreboot is a typed client for the FailoverReboot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/fcfchost
Package fcfchost is a typed client for the FcFcHost operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package fcfchost is a typed client for the FcFcHost operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/fcport
Package fcport is a typed client for the Fcport operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package fcport is a typed client for the Fcport operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/filesystem
Package filesystem is a typed client for the Filesystem operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package filesystem is a typed client for the Filesystem operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/filesystemacltemplate
Package filesystemacltemplate is a typed client for the FilesystemAcltemplate operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package filesystemacltemplate is a typed client for the FilesystemAcltemplate operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/ftp
Package ftp is a typed client for the Ftp operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package ftp is a typed client for the Ftp operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/group
Package group is a typed client for the Group operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package group is a typed client for the Group operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/hardwarevirtualization
Package hardwarevirtualization is a typed client for the HardwareVirtualization operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package hardwarevirtualization is a typed client for the HardwareVirtualization operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/idmap
Package idmap is a typed client for the Idmap operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package idmap is a typed client for the Idmap operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/initshutdownscript
Package initshutdownscript is a typed client for the Initshutdownscript operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package initshutdownscript is a typed client for the Initshutdownscript operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/ipmi
Package ipmi is a typed client for the Ipmi operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package ipmi is a typed client for the Ipmi operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/ipmichassis
Package ipmichassis is a typed client for the IpmiChassis operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package ipmichassis is a typed client for the IpmiChassis operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/ipmilan
Package ipmilan is a typed client for the IpmiLan operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package ipmilan is a typed client for the IpmiLan operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/ipmisel
Package ipmisel is a typed client for the IpmiSel operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package ipmisel is a typed client for the IpmiSel operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/iscsiauth
Package iscsiauth is a typed client for the IscsiAuth operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package iscsiauth is a typed client for the IscsiAuth operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/iscsiextent
Package iscsiextent is a typed client for the IscsiExtent operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package iscsiextent is a typed client for the IscsiExtent operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/iscsiglobal
Package iscsiglobal is a typed client for the IscsiGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package iscsiglobal is a typed client for the IscsiGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/iscsiinitiator
Package iscsiinitiator is a typed client for the IscsiInitiator operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package iscsiinitiator is a typed client for the IscsiInitiator operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/iscsiportal
Package iscsiportal is a typed client for the IscsiPortal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package iscsiportal is a typed client for the IscsiPortal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/iscsitarget
Package iscsitarget is a typed client for the IscsiTarget operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package iscsitarget is a typed client for the IscsiTarget operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/iscsitargetextent
Package iscsitargetextent is a typed client for the IscsiTargetextent operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package iscsitargetextent is a typed client for the IscsiTargetextent operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/jbof
Package jbof is a typed client for the Jbof operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package jbof is a typed client for the Jbof operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/kerberos
Package kerberos is a typed client for the Kerberos operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package kerberos is a typed client for the Kerberos operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/kerberoskeytab
Package kerberoskeytab is a typed client for the KerberosKeytab operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package kerberoskeytab is a typed client for the KerberosKeytab operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/kerberosrealm
Package kerberosrealm is a typed client for the KerberosRealm operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package kerberosrealm is a typed client for the KerberosRealm operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/keychaincredential
Package keychaincredential is a typed client for the Keychaincredential operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package keychaincredential is a typed client for the Keychaincredential operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/kmip
Package kmip is a typed client for the Kmip operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package kmip is a typed client for the Kmip operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/mail
Package mail is a typed client for the Mail operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package mail is a typed client for the Mail operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/netinterface
Package netinterface is a typed client for the Interface operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package netinterface is a typed client for the Interface operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/networkconfiguration
Package networkconfiguration is a typed client for the NetworkConfiguration operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package networkconfiguration is a typed client for the NetworkConfiguration operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/networkgeneral
Package networkgeneral is a typed client for the NetworkGeneral operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package networkgeneral is a typed client for the NetworkGeneral operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nfs
Package nfs is a typed client for the Nfs operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nfs is a typed client for the Nfs operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nvmetglobal
Package nvmetglobal is a typed client for the NvmetGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nvmetglobal is a typed client for the NvmetGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nvmethost
Package nvmethost is a typed client for the NvmetHost operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nvmethost is a typed client for the NvmetHost operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nvmethostsubsys
Package nvmethostsubsys is a typed client for the NvmetHostSubsys operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nvmethostsubsys is a typed client for the NvmetHostSubsys operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nvmetnamespace
Package nvmetnamespace is a typed client for the NvmetNamespace operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nvmetnamespace is a typed client for the NvmetNamespace operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nvmetport
Package nvmetport is a typed client for the NvmetPort operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nvmetport is a typed client for the NvmetPort operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nvmetportsubsys
Package nvmetportsubsys is a typed client for the NvmetPortSubsys operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nvmetportsubsys is a typed client for the NvmetPortSubsys operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/nvmetsubsys
Package nvmetsubsys is a typed client for the NvmetSubsys operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package nvmetsubsys is a typed client for the NvmetSubsys operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/pool
Package pool is a typed client for the Pool operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package pool is a typed client for the Pool operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/pooldataset
Package pooldataset is a typed client for the PoolDataset operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package pooldataset is a typed client for the PoolDataset operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/poolresilver
Package poolresilver is a typed client for the PoolResilver operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package poolresilver is a typed client for the PoolResilver operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/poolscrub
Package poolscrub is a typed client for the PoolScrub operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package poolscrub is a typed client for the PoolScrub operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/poolsnapshot
Package poolsnapshot is a typed client for the PoolSnapshot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package poolsnapshot is a typed client for the PoolSnapshot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/poolsnapshottask
Package poolsnapshottask is a typed client for the PoolSnapshottask operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package poolsnapshottask is a typed client for the PoolSnapshottask operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/privilege
Package privilege is a typed client for the Privilege operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package privilege is a typed client for the Privilege operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/replication
Package replication is a typed client for the Replication operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package replication is a typed client for the Replication operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/replicationconfig
Package replicationconfig is a typed client for the ReplicationConfig operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package replicationconfig is a typed client for the ReplicationConfig operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/reporting
Package reporting is a typed client for the Reporting operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package reporting is a typed client for the Reporting operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/reportingexporters
Package reportingexporters is a typed client for the ReportingExporters operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package reportingexporters is a typed client for the ReportingExporters operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/route
Package route is a typed client for the Route operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package route is a typed client for the Route operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/rsynctask
Package rsynctask is a typed client for the Rsynctask operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package rsynctask is a typed client for the Rsynctask operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/service
Package service is a typed client for the Service operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package service is a typed client for the Service operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/sharingnfs
Package sharingnfs is a typed client for the SharingNfs operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package sharingnfs is a typed client for the SharingNfs operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/sharingsmb
Package sharingsmb is a typed client for the SharingSmb operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package sharingsmb is a typed client for the SharingSmb operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/smb
Package smb is a typed client for the Smb operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package smb is a typed client for the Smb operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/snmp
Package snmp is a typed client for the Snmp operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package snmp is a typed client for the Snmp operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/ssh
Package ssh is a typed client for the Ssh operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package ssh is a typed client for the Ssh operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/staticroute
Package staticroute is a typed client for the Staticroute operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package staticroute is a typed client for the Staticroute operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/support
Package support is a typed client for the Support operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package support is a typed client for the Support operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/system
Package system is a typed client for the System operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package system is a typed client for the System operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemadvanced
Package systemadvanced is a typed client for the SystemAdvanced operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemadvanced is a typed client for the SystemAdvanced operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemdataset
Package systemdataset is a typed client for the Systemdataset operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemdataset is a typed client for the Systemdataset operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemgeneral
Package systemgeneral is a typed client for the SystemGeneral operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemgeneral is a typed client for the SystemGeneral operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemglobal
Package systemglobal is a typed client for the SystemGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemglobal is a typed client for the SystemGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemntpserver
Package systemntpserver is a typed client for the SystemNtpserver operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemntpserver is a typed client for the SystemNtpserver operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemreboot
Package systemreboot is a typed client for the SystemReboot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemreboot is a typed client for the SystemReboot operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemsecurity
Package systemsecurity is a typed client for the SystemSecurity operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemsecurity is a typed client for the SystemSecurity operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/systemsecurityinfo
Package systemsecurityinfo is a typed client for the SystemSecurityInfo operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package systemsecurityinfo is a typed client for the SystemSecurityInfo operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/tnconnect
Package tnconnect is a typed client for the TnConnect operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package tnconnect is a typed client for the TnConnect operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/truecommand
Package truecommand is a typed client for the Truecommand operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package truecommand is a typed client for the Truecommand operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/truenasservice
Package truenasservice is a typed client for the Truenas operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package truenasservice is a typed client for the Truenas operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/tunable
Package tunable is a typed client for the Tunable operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package tunable is a typed client for the Tunable operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/update
Package update is a typed client for the Update operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package update is a typed client for the Update operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/ups
Package ups is a typed client for the Ups operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package ups is a typed client for the Ups operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/user
Package user is a typed client for the User operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package user is a typed client for the User operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/virtdevice
Package virtdevice is a typed client for the VirtDevice operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package virtdevice is a typed client for the VirtDevice operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/virtglobal
Package virtglobal is a typed client for the VirtGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package virtglobal is a typed client for the VirtGlobal operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/virtinstance
Package virtinstance is a typed client for the VirtInstance operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package virtinstance is a typed client for the VirtInstance operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/virtvolume
Package virtvolume is a typed client for the VirtVolume operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package virtvolume is a typed client for the VirtVolume operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/vm
Package vm is a typed client for the Vm operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package vm is a typed client for the Vm operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/vmdevice
Package vmdevice is a typed client for the VmDevice operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package vmdevice is a typed client for the VmDevice operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/vmware
Package vmware is a typed client for the Vmware operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package vmware is a typed client for the Vmware operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenas/zfsresource
Package zfsresource is a typed client for the ZfsResource operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
Package zfsresource is a typed client for the ZfsResource operations of truenas 25.10.7, generated by pandorest from the definitions in api-defs/truenas-25.10.7.
truenasrpc
Package truenasrpc is the connection a TrueNAS is talked to through: one websocket, logged in once, that any number of calls share.
Package truenasrpc is the connection a TrueNAS is talked to through: one websocket, logged in once, that any number of calls share.
truenastest
Package truenastest is a stand-in TrueNAS for tests: a server that speaks the API's protocol the way a real one does, answering the calls a test gives it answers for.
Package truenastest is a stand-in TrueNAS for tests: a server that speaks the API's protocol the way a real one does, answering the calls a test gives it answers for.
Package tools defines the MCP tools truenas-mcp serves, split by what they act on (server.go, ...).
Package tools defines the MCP tools truenas-mcp serves, split by what they act on (server.go, ...).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL