SonicWall MCP

io.github.Servosity由 GitHub 帳號 Servosity 發布v0.1.3更新於 Oct 24, 2026

Cyber-insurance posture for a whole SonicWall fleet: firmware, advisories, MFA, SSL-VPN exposure

發布方自己的服務:Wall Marketing

概覽

AI 產生的概覽

本機 MCP 伺服器兼命令列工具,讓助手在 NSM 中稽核 SonicWall 防火牆機群的韌體、公告、MFA 與 SSL-VPN 暴露情形。

可以做什麼
  • 為每台防火牆評定保險所需的態勢等級(韌體、停止支援、安全公告、授權到期、管理員 TOTP、SSL-VPN 暴露),並比較歷次結果
  • 將 SonicWall 安全公告對應到受影響的防火牆,並標出在名稱含 WAN 的區域啟用 SSL-VPN 的裝置
  • 稽核管理員與本機 SSL-VPN 使用者是否缺少一次性密碼
  • 報告韌體落後情況、授權續約,以及已在 MySonicWall 註冊但 NSM 看不到的防火牆
  • 執行精選的 NSM、MySonicWall 與防火牆唯讀呼叫,檢索本機 SQLite 鏡像並匯出結果
適用情境
適合需要跨多台 SonicWall 防火牆回答網路安全保險與安全公告問題的託管服務商與管理員,例如哪些裝置韌體過舊、哪些受某個 CVE 影響、哪些本機使用者未啟用 MFA,不必逐台手動檢查。
執行需求
以本機程序(stdio)在使用者電腦上執行,僅限桌面端助手,不支援網頁端。需要 MySonicWall API 金鑰,透過 SONICWALL_MSW_API_KEY 提供,再用 nsm-login 換取 NSM 工作階段權杖(有效 8 小時,閒置 15 分鐘失效)。歐盟入口網站需設定 SONICWALL_REGION=eucentral。SONICWALL_MCP_HTTP_TOKEN 僅用於 HTTP 模式,而 README 明確不建議使用該模式。
安裝前請注意
README 警告完全不要執行 HTTP 模式,即使在 localhost 上也不要,並應關閉任何通道,因為此版本缺少請求大小與時間限制。工具可能用你的憑證做出變更;設定 SONICWALL_MCP_READ_ONLY=1 可隱藏會變更狀態的工具,但本機快取與快照仍會寫入。請使用唯讀的 NSM 角色。敏感讀取會暴露設定文字與本機使用者;webhook 傳送與意見回饋送出會把資料外傳。目前為測試版,尚未在正式租用戶上驗證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 SonicWall MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

SonicWall + AI - for Claude, the ChatGPT desktop app, GitHub Copilot, Gemini CLI, and any agent that speaks MCP

Unofficial. Community-built Claude Code Skill and MCP server for the SonicWall API. Not affiliated with, endorsed by, or sponsored by SonicWall Inc.

[SonicWall demo - animated preview]

▶ Watch the 30-second demo - demo data is simulated; every command shown exists in the real CLI.

Cyber-insurance posture for a whole SonicWall fleet: firmware, advisories, MFA, SSL-VPN exposure and licences, one row per firewall. Works with the AI you already use - ChatGPT (desktop app), Claude Desktop, Codex, Claude Code, Claude Cowork, and GitHub Copilot - plus Gemini CLI. Free, open source, runs on your laptop. Built for MSP owners. No code required.

Works with your agent

Security note (until this connector is reprinted). Do not run HTTP mode (--transport http), not even on localhost. This build checks a token, but it predates the fix release's request size and time limits. The MCP tools can also make changes with your credentials. Use the default stdio transport. If you set up a tunnel for a remote agent, shut it down. A fix is on the way.

The six agents MSP owners actually use (self-serve, works today):

Your AI agentHow to install the SonicWall skill
Claude DesktopRun installer, then Settings > Extensions to register sonicwall-mcp (no JSON editing).
ChatGPT (desktop app)Run installer, then add sonicwall-mcp in Settings > MCP servers as a local (STDIO) server. ChatGPT on the web is not supported yet.
Codex CLIPaste the install prompt below.
Claude CodePaste the install prompt below.
Claude CoworkPaste the install prompt below.
GitHub Copilot (VS Code)Run installer, add sonicwall-mcp to mcp.json under the servers key, then pick Agent mode.

The ChatGPT desktop app runs sonicwall-mcp locally and shares MCP configuration with Codex (OpenAI). ChatGPT on the web needs a remote (HTTP) server, and this connector's HTTP mode is paused until it is reprinted (see the security note in mcp-install.md), so msp-skills does not support it yet. If your team works there, a hosted gateway is the better pick; check that your AI app is on the gateway's setup list.

Also for the Microsoft and Google stacks

Big install base, but an honest heads-up: Gemini CLI runs the local binary you just installed, while Microsoft 365 Copilot and the Gemini app need a remote server, which msp-skills does not support yet.

AgentWhat it takes
Microsoft 365 Copilot / Copilot StudioNot supported by msp-skills yet: it needs a remote server. A hosted gateway is the better pick; check that your AI app is on the gateway's setup list.
Google GeminiGemini CLI is local - same as Claude Code. See mcp-install.md. The Gemini app needs a remote server and is not supported by msp-skills yet.

Skill-native agents (also covered): Hermes and OpenClaw read this skill's SKILL.md directly and speak MCP - see their install sections below. Also works with Cursor, Windsurf, Cline, Continue.dev, and Zed via MCP. Full per-tool wire-up: docs/which-agent.md.

Run more than one agent? Install across all 51+ supported agents in one command: npx skills add Servosity/msp-skills@latest (requires Node.js, then run the per-skill installer for the CLI/MCP binaries). See docs/which-agent.md.

Install in 60 seconds

Fastest for Claude Desktop - one-click .mcpb

Download SonicWall MCP (.mcpb) - then open Claude Desktop > Settings > Extensions and select the file. One click, no JSON, no shell. (Browse every SonicWall release on the releases page.)

Prefer the Claude Code plugin? Add the marketplace once, then install - works immediately, no directory listing required:

/plugin marketplace add Servosity/msp-skills/plugin install sonicwall@msp-skills

Path A - paste one prompt into your AI agent (recommended)

Copy this into Claude Code, Codex CLI, or Claude Cowork:

Install the SonicWall Skill and MCP server from Servosity/msp-skills in this agent workspace. If this workspace uses a POSIX shell (macOS, Linux, WSL, or Bash), run bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/sonicwall/install.sh). If it uses Windows PowerShell, run iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/sonicwall/install.ps1 | iex. Then authenticate per the README and run sonicwall-cli --help to explore.

The same prompt works in any agent that can run shell.

Path B - run the installer yourself

Windows (PowerShell):

powershell
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/sonicwall/install.ps1 | iex

macOS / Linux:

bash
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/sonicwall/install.sh)

The installer drops both sonicwall-cli (the CLI) and sonicwall-mcp (the MCP server) into your user bin path. Claude Code, Codex, and Cowork discover the Skill via SKILL.md in this directory.

Verify:

bash
sonicwall-cli --version

Upgrade to the latest version

The installer always fetches the current release - re-run it to upgrade:

macOS / Linux:

bash
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/sonicwall/install.sh)

Windows (PowerShell):

powershell
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/sonicwall/install.ps1 | iex

Claude Desktop .mcpb users: download the latest .mcpb (top of this section) and re-select it in Settings > Extensions. Claude Code plugin users: /plugin update sonicwall@msp-skills.

Add to Claude Desktop, the ChatGPT desktop app, GitHub Copilot, Gemini CLI, or another MCP client

After the installer runs, see mcp-install.md and docs/which-agent.md for the per-agent wire-up - one section per agent, including the GitHub Copilot servers key and the ChatGPT desktop app. Claude Desktop's Settings > Extensions panel is the simplest path; the MCP config block (for users who prefer editing JSON) is documented in mcp-install.md.

Install for Hermes

From the Hermes CLI:

bash
hermes skills install servosity/msp-skills/skills/sonicwall --force

Inside a Hermes chat session:

/skills install servosity/msp-skills/skills/sonicwall --force

Hermes speaks MCP natively, so it can also use the sonicwall-mcp server directly - same install path, same env vars.

Install for OpenClaw

Tell your OpenClaw agent (copy this):

Install the sonicwall skill from https://github.com/servosity/msp-skills/tree/main/skills/sonicwall. The skill defines how its required CLI (sonicwall-cli) can be installed via the openclaw: frontmatter block.

OpenClaw isn't generally available yet; the frontmatter wiring is pre-shipped and will activate the moment OpenClaw launches.

Authenticate

Create a MySonicWall API key (ideally for an account whose NSM role is read-only), then mint the NSM session token from it and check it:

bash
export SONICWALL_MSW_API_KEY=<your MySonicWall API key>export SONICWALL_REGION=eucentral   # EU NSM portals only; the default is uswestsonicwall-cli nsm-loginsonicwall-cli doctor

nsm-login trades the key for an NSM session token and saves it (never printed). The token lasts 8 hours with a 15-minute idle timeout, so run nsm-login again whenever NSM commands exit 4. doctor then makes one authenticated NSM read (GET /tenants), so it reports whether the token actually works, not just whether one is set. Licence checks and blind-spots also read MySonicWall with the same key.

What this skill does

Question your MSP keeps askingCommand
One insurance-posture row per client firewall: firmware, support, advisories, licences, admin TOTP, SSL-VPNsonicwall-cli posture
Which firewalls does the CVE-2024-40766 advisory hit, and which have SSL-VPN on a WAN zone?sonicwall-cli exposure "SNWLID-2024-0015"
Which SonicWall advisories hit the most firewalls in my fleet?sonicwall-cli exposure
Which admins and local SSL-VPN users have no one-time password?sonicwall-cli mfa-audit
Which firewalls are behind the newest firmware, and what does the upgrade clear?sonicwall-cli firmware drift --behind-only
Which licences expire in the next 90 days, and which boxes should be replaced instead?sonicwall-cli licenses renewals --days 90
Which firewalls are registered in MySonicWall but invisible to NSM?sonicwall-cli blind-spots
What got worse since last week?sonicwall-cli posture changes --fleet --since 7d

Full command reference: guide.md. For the AI-agent operating contract (--agent, --dry-run, when to confirm before mutating), see AGENTS.md.

What makes this different

GTalksTech/sonicwall-mcp is a read-only Python MCP server for NSM SaaS with 46 tools for inventory, firmware, advisories, licence posture, per-site SSL-VPN configuration and config history.

This one is a single binary that works as a CLI and an MCP server, built for the questions an MSP gets the morning a SonicWall advisory lands and again at insurance renewal. posture reads every firewall in your NSM tenant through NSM's SonicOS passthrough and grades each one pass, warn, fail or unknown for firmware, end of support, advisories, licence expiry, admin TOTP and SSL-VPN exposure. mfa-audit names every local SSL-VPN user without a one-time password, blind-spots finds firewalls registered in MySonicWall that NSM cannot see, and each posture run is saved locally so posture changes shows what got worse since last week. A firewall it could not read is unknown, never pass. Secret fields SonicWall's own API schemas document (local-user and device passwords, registration and authentication codes, SNMP community names, MySonicWall API keys) are blanked before anything is printed, cached or handed to an agent.

SonicWall's SAMI is an assistant inside SonicWall's Unified Management console that answers fleet questions and can run tasks such as firmware upgrades. This works from the AI agent you already use, never changes a firewall, and grades the posture an insurer asks about per firewall.

The pain this closes

From July 2025 Akira ransomware operators went after SonicWall SSL-VPN accounts (BleepingComputer). SonicWall linked the wave to CVE-2024-40766 and to Gen 6 to Gen 7 migrations "where local user passwords were carried over", and told admins to update firmware to 7.3.0, reset local SSL-VPN passwords and enforce MFA (SonicWall); the MSP-facing advisory from SmarterMSP said the same. Doing that the same day means knowing, for every client, which firewalls run old firmware, which have SSL-VPN on a WAN zone and which local users have no one-time password. Those settings live on each firewall, and insurers ask the same questions every renewal.

  • sonicwall-cli exposure "SNWLID-2024-0015" - every firewall the CVE-2024-40766 advisory hits, and whether SSL-VPN is on a WAN zone.
  • sonicwall-cli mfa-audit - admin TOTP per firewall and every local SSL-VPN user without a one-time password.
  • sonicwall-cli posture - one pass, warn, fail or unknown row per firewall, saved for posture changes.
  • sonicwall-cli licenses renewals --days 90 - one renewal list instead of a spreadsheet.

See pain-point.md for the longer narrative.

Frequently asked questions

Does this work with ChatGPT?

Yes, in the ChatGPT desktop app. It runs MCP servers locally (STDIO), the way sonicwall-mcp runs, and shares MCP configuration with Codex (OpenAI): add sonicwall-mcp under Settings > MCP servers as a STDIO server, or add it once to Codex's ~/.codex/config.toml. ChatGPT on the web is not supported by msp-skills yet: it needs a remote (HTTP) server, and this connector's HTTP mode is paused until it is reprinted; the security note in mcp-install.md explains why. If your team works there, a hosted gateway is the better pick; check that your AI app is on the gateway's setup list.

Does this work with Codex, Cursor, Windsurf, Cline, Copilot, or Gemini?

Yes - all of them speak MCP. Cross-tool install commands are in the matrix above and the deep-dive in docs/which-agent.md.

Do I need to know how to code?

No. The recommended install is to paste one sentence into Claude Code or Codex - your agent reads SKILL.md and does the install. The fallback is a one-line installer per OS (bash or PowerShell). Neither path requires writing code. You'll enter a MySonicWall API key once and run sonicwall-cli nsm-login.

Is my SonicWall data safe?

Your data stays on your machine. The CLI and MCP server are local binaries. The SQLite mirror sits in a directory under your user account. The AI agent only sees what the CLI returns - typically a query result, not raw bulk data. Credentials are read from your environment or your agent's config; never bundled into this repo or transmitted anywhere by MSP Skills.

What credentials does it need?

A MySonicWall API key, set as SONICWALL_MSW_API_KEY. sonicwall-cli nsm-login trades it for an NSM session token and saves it; the token lasts 8 hours with a 15-minute idle timeout, so run nsm-login again when NSM commands exit 4. EU portals also set SONICWALL_REGION=eucentral. Use a MySonicWall account whose NSM role is read-only, and NSM itself refuses any write.

Can it change my SonicWall firewalls?

No. It reads NSM, the firewalls through NSM's SonicOS passthrough, and MySonicWall. The only POSTs are read-style MySonicWall queries and the token exchanges (nsm-login, nsm-session, msw-tenants access-code). Secret fields SonicWall's own API schemas document, such as local-user and device passwords, registration and authentication codes, SNMP community names and MySonicWall API keys, are blanked in every response before anything is printed, cached, synced or handed to an agent. SONICWALL_MCP_READ_ONLY=1 hides the MCP tools that could change NSM, MySonicWall or firewall state; the tools it keeps still write local state (the response cache, posture snapshots and learning entries).

Will it see firewalls that are not in NSM?

Not with posture, exposure, mfa-audit or firmware drift: those only see firewalls onboarded to NSM SaaS. Run sonicwall-cli blind-spots to list firewalls registered in MySonicWall that NSM cannot see, with the advisories that apply to their registered firmware.

How does it decide SSL-VPN is exposed to the internet?

It reads each firewall's SSL-VPN zone settings and marks SSL-VPN as exposed when it is enabled on a zone whose name contains WAN. An internet-facing zone with a custom name that does not contain WAN is missed, so treat a pass there as "not on a WAN-named zone".

What does it cost?

Free. Apache-2.0 licensed. You pay only for whichever AI agent you use (Claude, ChatGPT, Codex, etc.), and that's billed by your AI provider, not by us.

Safety model

TierExamplesRecommended agent policy
Readposture, posture changes, exposure, mfa-audit, firmware drift, licenses renewals, blind-spots; every list / get / count under devices, device-groups, firmware, licenses, vulnerabilities, tenants, alerts and nsm-system; config-audit count; the firewall reads other than the four under Sensitive read; msw-products, msw-licenses, msw-system and the msw-tenants reads other than access-code; search over the local store, and export of any resource other than config_audit and msw_users (local writes only: saved posture runs, the response cache, an export --output file)Allow
Raw read (escape hatch)nsm-get (vendor-documented GET routes only; credential and state-changing routes refused; credential-shaped values redacted)Allow; review unfamiliar paths
Sensitive readconfig-audit list / diff (configuration text as NSM returns it, not redacted field by field), firewall local-users, firewall local-groups, firewall user-auth, firewall sslvpn-sessions, msw-users, msw-activity, export config_audit / export msw_users, sync / workflow archive (they copy config-audit configuration text and firewall local users and groups into the local store, where search and the MCP sql / search tools read them), and tail of config_audit or msw_usersHuman-in-the-loop; keep output and the local store private
Credentialnsm-login, nsm-session refresh / sso, msw-tenants access-code, import, auth set-token, auth logoutHuman-in-the-loop only
Data egress--deliver webhook:<url>, feedback --send, and feedback when SONICWALL_FEEDBACK_ENDPOINT is set with SONICWALL_FEEDBACK_AUTO_SEND=trueHuman-in-the-loop

The MCP sonicwall_execute tool can call any curated endpoint by ID: each call follows the tiers above. Its POSTs are the Credential-tier token exchanges plus four read-style MySonicWall queries (msw-activity export, msw-licenses, msw-products list, msw-users groups), and every POST is refused while SONICWALL_MCP_READ_ONLY=1. No command changes a firewall, NSM or MySonicWall configuration.

The strongest control is a MySonicWall account whose NSM role is read-only - NSM then refuses anything else. Full details, including how to lock it down, are in governance.md.

Status

Beta, awaiting live verification. The command surface is a curated subset of SonicWall's own published API specifications (the NSM API Gateway and SonicOS passthrough Swagger files, and the MySonicWall API), and the fleet commands are covered by unit tests against simulated NSM and MySonicWall responses, but no MSP has yet run it against a production tenant and reported back - so nothing here is proven against real firewalls. If you run it against your own, the it-works form is how that becomes a badge. MSPs put connectors like this through their paces in our weekly Build Sessions - RSVP at compoundingteams.com/build-sessions.


Standards. Conforms to the open Agent Skills spec (Anthropic, Dec 2025; 40+ agents). MCP-compatible - works with any MCP-capable agent including Hermes. OpenClaw-ready (frontmatter pre-wired, awaiting OpenClaw launch).

Maintained by Servosity. Apache-2.0 licensed. Built with CLI Printing Press. Last updated: 2026-10-15.

來源:skills/sonicwall/README.md,提交 061ec05

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

4
  1. v0.1.3最新Oct 23, 2026
  2. v0.1.2Oct 23, 2026
  3. v0.1.1Oct 22, 2026
  4. v0.1.0Oct 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Wall 整合