Page MenuHomeFreeBSD

D61874.1795389684.diff
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

D61874.1795389684.diff

diff --git a/sysutils/Makefile b/sysutils/Makefile
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1525,6 +1525,7 @@
SUBDIR += treemd
SUBDIR += treetop
SUBDIR += triton
+ SUBDIR += truenas-mcp
SUBDIR += trueos-libqt5
SUBDIR += try-rs
SUBDIR += ts
diff --git a/sysutils/truenas-mcp/Makefile b/sysutils/truenas-mcp/Makefile
new file mode 100644
--- /dev/null
+++ b/sysutils/truenas-mcp/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= truenas-mcp
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0.0
+CATEGORIES= sysutils
+
+MAINTAINER= longros@FreeBSD.org
+COMMENT= MCP server to monitor and manage TrueNAS
+WWW= https://github.com/truenas/truenas-mcp
+
+LICENSE= GPL-3.0-only
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.27+,modules
+GO_MODULE= github.com/truenas/truenas-mcp
+GO_TARGET= ./cmd/truenas-mcp
+GO_BUILDFLAGS= -ldflags="-X main.Version=${DISTVERSION}"
+
+PLIST_FILES= bin/truenas-mcp
+
+.include <bsd.port.mk>
diff --git a/sysutils/truenas-mcp/distinfo b/sysutils/truenas-mcp/distinfo
new file mode 100644
--- /dev/null
+++ b/sysutils/truenas-mcp/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1795112223
+SHA256 (go/sysutils_truenas-mcp/truenas-mcp-v1.0.0/v1.0.0.mod) = c1e79502fb507c4a293c5266ae7d6c2bc7342410efb170a3d107405a8974cee6
+SIZE (go/sysutils_truenas-mcp/truenas-mcp-v1.0.0/v1.0.0.mod) = 639
+SHA256 (go/sysutils_truenas-mcp/truenas-mcp-v1.0.0/v1.0.0.zip) = f43f5c132609edb458e22be5de678812e1c5cded2e9e879711b77f9716f7d7aa
+SIZE (go/sysutils_truenas-mcp/truenas-mcp-v1.0.0/v1.0.0.zip) = 753192
diff --git a/sysutils/truenas-mcp/pkg-descr b/sysutils/truenas-mcp/pkg-descr
new file mode 100644
--- /dev/null
+++ b/sysutils/truenas-mcp/pkg-descr
@@ -0,0 +1,12 @@
+truenas-mcp is a Model Context Protocol (MCP) server for TrueNAS. It
+runs on the local machine, connects to the TrueNAS API over a websocket
+and lets an AI assistant query and manage the system.
+
+It covers monitoring (system information, alerts, jobs, metrics),
+storage (pools, datasets, snapshots, SMB and NFS shares), data
+protection tasks, apps, system updates, boot environments, directory
+services and virtual machine status.
+
+The --read-only flag hides every tool that changes the system.
+Destructive actions require explicit confirmation. TrueNAS 25.10 or
+later is required.

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 11:21 PM (10 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41917900
Default Alt Text
D61874.1795389684.diff (2 KB)

Event Timeline