
Netexpert Mcp
io.github.Omodaka9375由 GitHub 帳號 Omodaka9375 發布v0.1.3更新於 Nov 1, 2026
Cross-platform local-network diagnostics & security-posture MCP server — 31 tools.
概覽
本機網路診斷與主機安全態勢 MCP 伺服器,提供 31 個工具,涵蓋連線品質、DNS、區域網路裝置、WiFi 健康度與暴露面檢查。
- 可以做什麼
- 檢查連線與可達性:ping、路由追蹤、HTTP 分段計時、連接埠探測與有上限的連接埠掃描、TLS 憑證資訊、公用 IP。
- 解析並比對 DNS:各類記錄查詢、反向 PTR、系統解析器、傳播差異,以及對照可信 DoH 的劫持檢查。
- 盤點區域網路:網路卡、閘道、ARP 快取、子網掃描、含廠商與主機名稱補齊的裝置清單、快照與新裝置差異。
- 評估 WiFi 連線:目前連線狀態、鄰近基地台掃描,以及訊號、頻道重疊與頻段不符的解讀結論。
- 檢視主機態勢:作用中連線、監聽連接埠、防火牆狀態、針對高風險連接埠的暴露報告,以及有上限的測速。
- 透過試跑計畫與一次性確認權杖,向區域網路內主機送出喚醒封包。
- 適用情境
- 適合家用實驗室或小型辦公網路的排障:讓助理回答網路上有哪些裝置、WiFi 連線是否健康、本機是否暴露、某台主機為何連不上等問題。它著重本機與區域網路的唯讀診斷,而非企業級路由器設定。
- 執行需求
- 以本機 stdio 程序執行,通常透過 npx 或全域 npm 安裝,因此需要 Node.js。首次執行不需設定檔、環境變數或憑證。選用設定:NETEXPERT_MCP_CONFIG 指定設定檔路徑,NETEXPERT_HTTP_PORT 額外提供回送位址的 HTTP 端點,NETEXPERT_WIFI_IF 指定 Linux 無線網路介面。選用的 nmap 深度掃描需要 nmap 程式並在設定中啟用 nmap.enabled。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Netexpert Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
netexpert-mcp
"What's on my network, is my link healthy, is this machine safe, and why is X slow?" — answered by an AI, on your LAN, in one conversation.
netexpert is a cross-platform local-network diagnostics & security-posture MCP server for AI clients (Claude Desktop, Claude Code, or any client that speaks MCP). Windows, Linux, macOS — one normalized JSON envelope, 31 tools, zero config on first run, read-only by default.
It's the local host + LAN half of a home-lab toolkit — the NAS half already exists as ugnas-mcp, and the two compose.
Also listed in the MCP registry as io.github.Omodaka9375/netexpert-mcp.
Install
The package is on npm — no clone, no build:
Wire it into your MCP client (stdio):
That's it — first run needs no config file, no environment variables, nothing. Ask your client "what devices are on my network?" and it has the tools to answer.
Optional HTTP transport (stateless, same JSON-RPC surface):
Try it in 30 seconds
Once wired into your client, try:
- "Am I exposed?" → the client calls
sec.exposure— listening ports × firewall state × a risky-port knowledge base, reported asFindings. - "What's on my network?" →
lan.devices— ARP inventory enriched with IEEE-OUI vendor names and PTR hostnames. - "Is my DNS lying to me?" →
dns.hijackcheck— known-good domains via your system resolver vs trusted DoH; mismatch ⇒Finding{severity:high}. - "Is my WiFi any good?" →
wifi.health— RSSI quality bands, channel overlap, band mismatch — interpreted, with next steps.
Why it exists
Existing network MCP servers are either deprecated Python packages, wrappers that demand Nmap, or router-config tools for enterprises. None of them answer the home-lab questions:
Design guarantees
- One envelope. Every tool returns the same JSON shape (
ok,backend,data,warnings/ closed-seterror.code+ actionablehint) — no rawnetshoripoutput ever reaches the model. - Platform-normalized. Same field names on Windows, Linux, and macOS; platform dispatch lives below the service layer.
- Bounded everything. Port caps, host caps, byte caps, timeouts, and token-bucket rate limits are enforced in code — never left to the model's judgment.
- No shell, ever. All subprocesses spawn via arg arrays (
execFile-style); all inputs are zod-validated before touching the OS. No raw sockets, no Npcap, no Python. - Read-only by default. The one mutating tool (
lan.wol) uses a dry-run plan + single-use, 10-min-TTLconfirmToken— parameters frozen at plan time. - Capability honesty. Tools report which backend produced the data (
backend: "tcp-connect", not a fake "ping");net.healthself-describes what works on this host, with install hints for what doesn't. - No telemetry. No phone-home — except the three tools that are about the internet (
net.publicip,sec.speedtest, DoH indns.hijackcheck), which you invoked explicitly.
Tool catalog (31)
net.* — connectivity
dns.* — name resolution
lan.* — devices & inventory
wifi.* — link health
sec.* — host posture
Configuration (all optional)
~/.netexpert-mcp/config.json — sane defaults, so zero-config first run:
Invariants:
- caps are ceilings — tool inputs may go lower, never higher
- env overrides via
NETEXPERT_*:NETEXPERT_MCP_CONFIG(config path),NETEXPERT_HTTP_PORT,NETEXPERT_WIFI_IF(linux wlan iface) - no credentials ever — any config key containing
password/token/secret/credentialis rejected at load
Optional extras:
- nmap deep scans — install nmap (
winget install Insecure.Nmap/sudo apt install nmap), then set"nmap": { "enabled": true }in config. Absence just produces an install hint, never a crash. - OUI vendor db — ships inside the package; never fetched at runtime.
Monitoring without a daemon
netexpert stays request/response; recurring checks are your MCP client's job:
AI usage — docs/persona.md
The server provides hands; the persona provides judgment. The rule pack in docs/persona.md gives your AI client:
- a triage ladder (link → ARP → IP/DNS → port → app — always state which layer exonerated/implicated),
- baselines for "suspicious" (new MAC with no vendor match, RFC1918 host on 445/3389 that isn't the NAS, resolver ≠ DoH, ARP flapping),
- the Finding format — every answer ends with the concrete next tool call, never a data dump.
Development
Project layout:
License: MIT — see LICENSE.
npm: netexpert-mcp · MCP registry: io.github.Omodaka9375/netexpert-mcp
Source & issues: GitHub
來源:README.md,提交 f967097
工具
0版本歷史
1- v0.1.3最新Oct 18, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分