Server data from the Official MCP Registry
Pure-Go L2-L7 network diagnostics, triage recipes, 30-day cron monitor, and Operator Studio.
About
Pure-Go L2-L7 network diagnostics, triage recipes, 30-day cron monitor, and Operator Studio.
Security Report
Valid MCP server (2 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
5 files analyzed · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: PASS_HASH
Environment variable: PATH_SECRET
Environment variable: LAN_MCP_TOKEN
Environment variable: NETUTILS_ALLOW_CIDRS
Environment variable: NETUTILS_DENY_CIDRS
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
Advanced Network Utilities (mcp-adv-netutils) v2.2.1
Advanced Network Utilities (mcp-adv-netutils) is a pure-Go (CGO_ENABLED=0) Model Context Protocol (MCP) server, scheduled cron monitor, and embedded 4-theme Operator Studio (/web) engineered for Layer 1–Layer 7 diagnostics across home labs, multi-VLAN infrastructure, and container hosts.
Interactive Showcase & Guides: Visit projects.oaworkbench.org/mcp-adv-netutils/ for the live zero-backend
?demo=1Operator Studio (./demo/) and searchable plain-language guides (./docs/), or read docs/WORKFLOWS.md for the completeWF-01..WF-08behavioral baseline.
What's New in v2.2.0
- Local Adapter & Subnet Calculators (
network_info,ip_subnet_calc): Addsnetwork_info(inspecting active host interfaces, IPs, MACs, gateways, DNS servers, and default routing) andip_subnet_calc(CIDR/IPv4/IPv6 network, broadcast, wildcard, usable range, host capacity, supernet, and visual subnet splitting), bringing the suite to 35 registered MCP tools. - 30-Hop
IP_RECVERR+ ECMP Traceroute & MTR (protocol: auto|udp|icmp|tcp): Expandstraceroute,mtr_path_quality, andrecipe_path_autopsyto 30 hops using LinuxIP_RECVERRunprivileged error queues, ECMP multi-path responder aggregation, selectableprotocol(auto,udp,icmp,tcp), andsilent_transit_hopsvs.dest_loss_pctseparation. - DNS
AUTOParallel Multi-Record Sweep: Upgradeslocal_dns_query,remote_dns_query, andsplit_dns_auditwithAUTOparallel sweeping acrossA|AAAA|CNAME|MX|NS|TXT|SOA, structuredParsedSOA,RawText, and per-recordRecordTimings. - Fused LAN Discovery (
UPnP XML+NetBIOS NBSTAT+ Cross-VLAN TCP Liveness +lan_devices): Enrichesrecipe_lan_radarandmdns_ssdp_discoverwithUPnP XMLdevice metadata fetching, UDP 137NetBIOS NBSTATname/workgroup queries, cross-VLAN TCP open/RST liveness probing, expandedhomelabport presets, and SQLitelan_devicesfirst_seen/last_seenpersistence. - Network Studio (
/web): Introduces a 17-item N1 Left Tool Rail (Overview:Info,Watcher, plus 15 tool views), Edge-to-Edge1pxHairline Master-Detail Split (List | Chart | Splitdocking the Row Detail Inspector pivots), Joined40pxCommand Bar (#cmdModeSelect), Sticky Bottom Telemetry Footer,Info32×8Tonal Micro-LED Strip + Horizontal Vector Path Schematic, Inline Timing Whiskers / sparkbars,IP Calculatorvisual split bar, standalone Apache ECharts reserved for Ping waveforms and Watcher timelines, live progress cancellation (AbortController),Appearance ▾, and a zero-height topbarDEMOpopover. - Zero Node.js / Zero
supergatewayRuntime: Ships as a single staticCGO_ENABLED=0Go binary inside a single-layer Alpine container (~41.5 MBunpacked /~11.4 MBcompressed,USER netutils,setcap cap_net_raw+epviaRUN --mount=type=bind), serving native--stdio, Streamable HTTP, backward-compatible/sse,/web, and/healthz. - 35 Registered MCP Tools: Combines 14 hardened core & utility tools (
12core +network_info+ip_subnet_calc), 6 active L2–L7 probes, 8 coordinated Diagnostic Recipes (recipe_*),render_run_digest(with 1-call window auditing), 4 Cron, Saved Destinations & Archive tools (manage_saved_destinations), andunlock_netutils/lock_netutils. - Three-Tier ASCII Styles (
style): Deterministic monospace cards across every tool and recipe—default(72columns exact),quick(<= 40columns borderless for390pxmobile),rich(76columns boxed TUI), andjson(< 18.5 KBwire cap withFAIL/WARNsorted first). - 30-Day SQLite Job Archive, Saved Destinations & Two-Tick Cron Watchlist: Pure-Go
robfig/cron/v3scheduler runningwatchlist.yamlplusdest_<id>Saved Destination monitors into WAL SQLite (netutils_jobs.dbviamodernc.org/sqlite), featuring Two-Tick Alert Hysteresis (>= 2consecutive non-OK ticks),7d -> 30dhealthy tick down-aging, hourly TTL reaping +PRAGMA incremental_vacuum, and--max-store-mb 256cap. - Thirty-Minute Passphrase Deadbolt & Two-Doorway Setup: Voice-normalized SHA-256 lock (
PASS_HASH+crypto/subtle.ConstantTimeCompare) paired with a remote/{PATH_SECRET}/mcp+/webdoorway, a LAN-only/lan/{LAN_MCP_TOKEN}/mcp+/ssedoorway, and central CIDR target guard blocking169.254.0.0/16. - 5 Bundled Agent Skills (
skills/): Ready-to-useSKILL.mdplaybooks guiding LLM formatting, differential ping interpretation, LAN radar sweeps, split-horizon triage, and cron/destination monitoring.
MCP Tool Suite
mcp-adv-netutils v2.2.0 provides 32 core diagnostic, utility, recipe, destination, and archive tools (14 hardened core & utility + 6 active L2–L7 + 8 Diagnostic Recipes + 4 Cron, Destinations & Archive), plus render_run_digest and the unlock_netutils / lock_netutils Deadbolt controls (35 total registered MCP tools).
1. Hardened Core & Utility Tools (14)
| Tool | Layer | Capabilities & v2.2.0 Hardening |
|---|---|---|
mac_vendor_lookup | L2 | Embedded 39,800+ IEEE OUI lookup; separates physical [UAA] from Docker/VM [LAA] (02:42:...) |
ping | L3 | Per-call Echo ID/sequence isolation, IPv4/IPv6 TTL control messages, explicit probe_mode (icmp vs tcp_fallback) |
traceroute | L3 | 30-hop IP_RECVERR + ECMP multi-path probing, protocol: auto|udp|icmp|tcp (ICMP -> TCP 443/80 -> UDP fallback), bounded hop PTR lookups, "--" target guard |
tcp_port_scan | L4 | Concurrent TCP connect scan with named presets (common, expanded homelab, web, iot; default common) |
dns_reverse_batch | L7 | Concurrent reverse PTR resolution capped at 256 validated IPs per call |
wol_wake | L2 | Sends standard 102-byte UDP Wake-on-LAN Magic Packet frames (port 7 or 9) |
local_dns_query | L7 | Queries OS-configured local resolvers with AUTO parallel sweep (A|AAAA|CNAME|MX|NS|TXT|SOA), ParsedSOA, RawText, and RecordTimings |
remote_dns_query | L7 | Queries Cloudflare and Google DNS-over-HTTPS (DoH) with AUTO parallel multi-record sweep, ParsedSOA, RawText, and RecordTimings |
resolve_hostname | L7 | Resolves IPv4, IPv6, or dual-stack host addresses |
whois_query | L7 | Domain registration metadata lookup via WHOIS |
http_ping | L7 | HTTP timing waterfall (dns, conn, tls, ttfb, total) |
tls_certificate_check | L7 | Verifies against x509.SystemCertPool() + wire intermediates; supports Ed25519 keys |
network_info | L2/L3 | Inspects host network interfaces, active IPv4/IPv6 CIDRs, MACs, gateways, DNS servers, and adapter state |
ip_subnet_calc | L3 | Computes CIDR network, broadcast, wildcard, usable host range, capacity, supernet, and subnet splits |
2. Active L2–L7 Diagnostic Probes (6)
| Tool | Layer | Description |
|---|---|---|
arp_neighbor_sweep | L2 | OS/ARP neighbor discovery (mdlayher/arp) enriched with OUI vendors and UAA/LAA flags |
mtu_path_probe | L3 | Probes 1500 / 1492 / 1420 / 1280 DF frames to catch tunnel and WAN fragmentation black holes |
mtr_path_quality | L3 | 30-hop parallel per-TTL wave MTR (IP_RECVERR, ECMP responder tracking, protocol: auto|udp|icmp|tcp), trailing-hop trim, and silent_transit_hops vs. dest_loss_pct separation |
mdns_ssdp_discover | L7 | Bounded mDNS (hashicorp/mdns), SSDP/UPnP XML device metadata fetch, and UDP 137 NetBIOS NBSTAT local discovery |
split_dns_audit | L7 | Side-by-side comparison of internal local DNS vs. external DoH answers (AUTO multi-record parity, ParsedSOA, and RecordTimings) |
snmp_switch_port | L2 | Read-only SNMP (gosnmp) switch port, VLAN, and MAC FDB correlation |
3. Diagnostic Recipes, Digest, Cron, Destinations & Deadbolt Tools
| Category | Tools | Purpose |
|---|---|---|
| Diagnostic Recipes (8) | recipe_diff_ping, recipe_diff_dns, recipe_diff_http, recipe_diff_snapshot, recipe_host_card, recipe_lan_radar, recipe_path_autopsy, recipe_wake_verify | Coordinated multi-probe differential ladders (recipe_path_autopsy with 30-hop IP_RECVERR ECMP + auto|udp|icmp|tcp), fused UAA/LAA LAN sweeps (UPnP XML + NetBIOS + cross-VLAN TCP open/RST liveness + lan_devices history), before/after snapshot diffs ([+], [-], [~]), and WOL verification |
| Digest Renderer (1) | render_run_digest | Re-renders any persisted job_id into default/quick/rich/json and supports one-call historical window auditing (window, since/until, target, tool_name, status, incidents_only, limit, window_summary) |
| Cron, Destinations & Archive (4) | get_cron_status, manage_cron_watchlist, manage_saved_destinations, get_job_report | < 5ms 24h/7d/30d ASCII health strips, watchlist.yaml management, list/save/delete/run saved targets (TargetGuard + dest_<id> cron sync), and 30-day job_id re-pulls with expires_at |
| Deadbolt Session (2) | unlock_netutils, lock_netutils | Voice-normalized SHA-256 unlock (30m sliding TTL) and immediate manual relock |
Three-Tier ASCII Styles & Output Budgets
Every tool, Diagnostic Recipe, and cron summary supports a style parameter designed for clean monospace rendering across mobile phones, IDE panes, and CI automation:
style | Width / Budget | Best For |
|---|---|---|
default (default) | 72 columns exact | Chat apps, IDE terminals, and unfolded tablets (900px) |
quick | <= 40 columns, borderless | Folded phones (390px) with zero line wrapping |
rich | 76 columns, boxed TUI | Desktop (1440px+) hop ladders, histograms, and status badges |
json | < 18.5 KB wire cap | Programmatic diffing with FAIL and WARN rows sorted first |
Cron Watchlist, Saved Destinations & 30-Day Job Archive
Scheduled jobs in watchlist.yaml and monitored Saved Destinations (dest_<id>) run automatically in-process via robfig/cron/v3 (SkipIfStillRunning) or as a one-shot external timer (--run-watchlist-once):
- Default Watchlist Cadence:
*/5mpublic DNSrecipe_diff_ping,*/15mmtu_path_probe,*/6hrecipe_diff_dnsandrecipe_diff_http, plus nightlytls_certificate_checkandrecipe_diff_snapshot. - Saved Destinations (
manage_saved_destinations): Stores friendly targets (category, optional Wake MAC, default check, pinned toggle, and 5-minute monitor toggle) in SQLite (saved_destinations), validates targets viaTargetGuard, supportslist|save|delete|run, and syncsdest_<id>checks with the cron watchlist. - Two-Tick Alert Hysteresis: Alerts flip only after
>= 2consecutive non-OK ticks, preventing single-packet jitter from triggering false alarms. - 30-Day WAL SQLite Archive (
netutils_jobs.db): Pure-Gomodernc.org/sqlite(?mode=roreaders) retains every manual, MCP, and incident report for30d(get_job_report), persists discoveredlan_devices(first_seen/last_seen), down-ages healthy*/5mticks across7d -> 30d, and runs an hourly TTL reaper withPRAGMA incremental_vacuumbounded by--max-store-mb 256.
5-Layer Security & Two-Doorway Setup
See SECURITY.md for full details on the 5-layer defense-in-depth architecture:
- Thirty-Minute Passphrase Deadbolt (
PASS_HASH): Voice-normalized SHA-256 verification viacrypto/subtle.ConstantTimeComparewith automatic30mrelock (and optional redacted aggregate cron summaries while locked). - Two-Doorway Setup:
- Remote Doorway (
/{PATH_SECRET}/mcp+/web): High-entropy path secret + Deadbolt protection for mobile/remote clients. - LAN-Only Doorway (
/lan/{LAN_MCP_TOKEN}/mcp+/sse): RejectsX-Forwarded-For/X-Real-IP/Forwardedproxy headers and non-RFC1918 source IPs.
- Remote Doorway (
/web/api/*Anti-CSRF & Anti-DNS-Rebinding: StrictOriginandHostheader validation.- Central Target Guard & CLI
--Prevention: Enforces--allow-cidrs/--deny-cidrson DNS-resolved IPs, unconditionally blocks169.254.0.0/16metadata endpoints, and blocks leading-target injection. - Unprivileged Container: Runs as
USER netutilswith minimalcap_net_raw+epcapability—noroot, noPrivileged: true.
Embedded Network Studio (/web)
Compiled directly into the Go binary (//go:embed), /web provides the 4-theme Network Studio (Pure White, Warm Paper, Dark, Dark Paper) with a consolidated Appearance ▾ popover (themes + Comfortable d2 / Compact d3 spacing) and a zero-height topbar DEMO popover (?demo=1 with one-click Return to Live Mode):
- Pre-Unlock Gate: Clean passphrase challenge (
Network Studio Locked) whenPASS_HASHis locked, with a 1-tap link to depersonalized?demo=1preview fixtures. - 17-Item N1 Left Tool Rail, Joined
40pxCommand Bar & Master-Detail Split: Navigate all 17 interactive views (Overview:Info,Watcher;Local Network:Local Network,Subnet Scanner;Path & Ping:Ping,Multi-Point Ping,Traceroute,Path Autopsy;Ports & Services:Port Scanner,UPnP Scanner,Bonjour Browser;Web, DNS & Tools:DNS Lookup,Split DNS,Website and TLS,Whois,Wake on LAN,IP Calculator) from the adaptive Left Tool Rail, launch checks from the Joined40pxCommand Bar (#cmdModeSelectmode/protocol/preset picker, target input, Save Destination,Optionspopover,Run Check), switch across the Edge-to-Edge1pxHairline Master-Detail Split (List | Chart | Splitdocking the Row Detail Inspector in the right Split pane), and monitor live status in the Sticky Bottom Telemetry Footer. - Row Detail Inspector & Built-In Utilities (
Info+IP Calculator): Click any row across checks, hops, DNS records, or LAN devices to populate the docked Row Detail Inspector with 1-click diagnostic pivots (Ping,Trace,Scan Ports,Whois, physical-onlyWake on LAN,Split CIDR,Subnet Scan,Save Destination); inspect live host adapters inInfowith the32×8Tonal Micro-LED Strip and Horizontal Vector Path Schematic; and slice CIDRs visually with theIP Calculatorsplit bar. - Live In-Flight Progress Card & Cancellation: Displays real-time probe execution progress (
#runProgressCard/#drawerProgressCard) with a 1-clickCancelcontrol (AbortController) to abort long-running sweeps cleanly. - Apache ECharts Waveforms & Row-Aligned Timing Whiskers: Standalone Apache ECharts (
renderer: 'svg') are reserved strictly for continuous Ping packet waveforms and Watcher24h/7d/30dtimelines, while table views (Traceroute,Path Autopsy,Multi-Point Ping,DNS Lookup,Port Scanner,Local Network) render Inline Timing Whiskers / sparkbars aligned in each row alongside Copy Summary (Markdown) and Copy Data (TSV) export. - Pinned Destinations & Integrated Views: Top
Pinnedbar (Manage,+ Add,Scan Pinned), unified<dialog>Saved Destinations manager, Local Network (Physical Hardware, Routed Hosts, and Containers & VMs withlan_devicesfirst_seen/last_seen, NetBIOS/UPnP details, baseline diffs, and 1-click Row Detail Inspector pivots), and Watcher (24h/7d/30dhealth timeline +Scheduled Checks & Destination Uptime+ 30-dayPast Check Runsopening the Past Run Drawer with Run Again & Compare). - Responsive Breakpoints:
>= 40pxtouch targets and>= 16pxinputs with0pxhorizontal overflow at390px(phone), adaptive rail + Master-Detail Split workspace at900px(tablet), and full Studio workbench at1440px+(desktop).
Bundled Agent Skills (skills/)
Five ready-to-use SKILL.md guides ship inside skills/:
skills/netutils-ascii-display— Deterministicdefault/quick/rich/jsonformatting andrender_run_digest.skills/netutils-differential-ping—recipe_diff_ping,recipe_path_autopsy,mtu_path_probe,mtr_path_quality, 30-hopIP_RECVERRECMP (protocol: auto|udp|icmp|tcp), andicmpvs.tcp_fallbacktriage.skills/netutils-lan-radar—recipe_lan_radar, ARP/mDNS/SSDP/UPnP XML/NetBIOS NBSTAT/TCP liveness/PTR/SNMP correlation, UAA vs. LAA grouping,lan_devicespersistence,recipe_diff_snapshot,network_info,ip_subnet_calc, andrecipe_wake_verify.skills/netutils-split-horizon-web—recipe_diff_dns,split_dns_audit, DNSAUTOparallel sweep (ParsedSOA+RecordTimings),recipe_diff_http,recipe_host_card, Deadbolt, and Apache ECharts/webStudio.skills/netutils-cron-monitor—get_cron_status,manage_cron_watchlist,manage_saved_destinations,get_job_report, Two-Tick Alert Hysteresis, and7d -> 30ddown-aging.
Deployment & Setup
Docker Compose (Synology / Linux Docker host / Portainer GitOps Pattern)
Deploy the single-layer Alpine pure-Go image (~41.5 MB unpacked / ~11.4 MB compressed, cap_net_raw+ep via RUN --mount=type=bind) with persistent 30-day SQLite storage, NET_RAW for ICMP/ARP probes, and native HTTP flags (zero supergateway, and no runc exec container healthchecks on Synology DSM Kernel 4.4—use external GET /healthz checks instead):
services:
mcp-netutils:
image: ghcr.io/frankxlt/mcp-adv-netutils:latest
container_name: mcp-netutils
restart: unless-stopped
init: true
cap_add:
- NET_RAW
environment:
- PASS_HASH=${PASS_HASH}
- PATH_SECRET=${PATH_SECRET}
- LAN_MCP_TOKEN=${LAN_MCP_TOKEN}
command:
- --http
- --http-addr=:8000
- --data-dir=/data
- --max-store-mb=256
- --watchlist=/app/watchlist.yaml
volumes:
- ./data:/data
ports:
- "8000:8000"
# On Synology DSM Kernel 4.4, omit container exec healthchecks and monitor GET /healthz externally
Docker CLI (--stdio & HTTP Modes)
# Interactive --stdio JSON-RPC mode
docker run -i --rm ghcr.io/frankxlt/mcp-adv-netutils:latest --stdio
# Native HTTP mode with persistent SQLite store and /web Studio
docker run -d \
--name mcp-adv-netutils \
--cap-add NET_RAW \
-p 8000:8000 \
-v mcp_netutils_data:/data \
-e PASS_HASH="<sha256-hex>" \
-e PATH_SECRET="<high-entropy-secret>" \
-e LAN_MCP_TOKEN="<lan-token>" \
ghcr.io/frankxlt/mcp-adv-netutils:latest \
--http --http-addr=:8000 --data-dir=/data
MCP Client Configuration
{
"mcpServers": {
"netutils-lan": {
"url": "http://netutils.example.internal:8000/sse"
},
"netutils-stdio": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/frankxlt/mcp-adv-netutils:latest", "--stdio"]
}
}
}
MCP Registry
This server is published for the GitHub / Official MCP Registry under mcp-name: io.github.FrankXLT/mcp-adv-netutils.
Building from Source & Testing
git clone https://github.com/FrankXLT/mcp-adv-netutils.git
cd mcp-adv-netutils
# Build static pure-Go binary (CGO_ENABLED=0)
CGO_ENABLED=0 go build -ldflags="-s -w" -o mcp-adv-netutils .
# Run offline race-enabled unit tests
go test -race ./...
# Single-shot watchlist execution (for external systemd timers)
./mcp-adv-netutils --run-watchlist-once --watchlist=./watchlist.yaml --data-dir=./data
Documentation & Roadmap
- docs/WORKFLOWS.md — Common Terms Glossary and bound workflows (
WF-01..WF-08) across390px,900px, and1440px. - SECURITY.md — 5-Layer Security Architecture, Passphrase Deadbolt, and CIDR Target Guard.
- ROADMAP.md — Next milestone (Wave 4): Deadbolt-gated on-demand BPF
SPAN/ERSPANcapture -> pure-Goparquet-go(72hraw TTL +30dSQLite summary retention).
Attribution & License
Originally forked from patrickdappollonio/mcp-netutils and expanded into Advanced Network Utilities (FrankXLT/mcp-adv-netutils) with pure-Go single-binary transport, active L2–L7 diagnostics, Diagnostic Recipes, 30-day SQLite cron monitoring, and the embedded 4-theme Operator Studio.
Licensed under the MIT License — see LICENSE.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
