
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 分