
Windows Server MCP
io.github.Servosity由 GitHub 帳號 Servosity 發布v0.1.0更新於 Nov 7, 2026
Agentless Windows Server health checks over WinRM: one verdict per server, a diffable inventory
概覽
透過 WinRM 對 Windows Server 做無代理健康檢查:每台伺服器一個結論、可對比的清單,且不執行任意 PowerShell。
- 可以做什麼
- 跨所有已設定的伺服器檢查健康狀態與清單,保留歷史並比對快照差異
- 檢視服務、含基準的事件記錄、憑證、排程工作與本機系統管理員變更
- 讀取單一指定伺服器的系統與磁碟區資訊
- 預覽後重新啟動或啟動服務,且必須明確確認
- 適用情境
- 適合 MSP 或 IT 人員讓助理回答今天哪些 Windows 伺服器需要關注、自上次快照以來有什麼變化、某服務為何停止,而不必逐台開啟 RDP 工作階段。它補充而非取代 RMM。
- 執行需求
- 以本機二進位(stdio)在使用者電腦上執行,或透過 HTTP 加 Bearer 權杖供遠端代理使用。目標伺服器需啟用 WinRM over HTTPS(連接埠 5986),需要一個位於該伺服器 Administrators 群組的帳戶,以及列出伺服器並設定憑證固定或 CA 檔案的設定檔。認證資訊來自 WINDOWS_SERVER_USERNAME 與 WINDOWS_SERVER_PASSWORD,或逐台伺服器登入。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Windows Server MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Windows Server + AI - for ChatGPT, Claude, GitHub Copilot, Microsoft 365 Copilot, Gemini, and any agent that speaks MCP
Unofficial. Community-built Claude Code Skill and MCP server for Windows Server. Not affiliated with, endorsed by, or sponsored by Microsoft Corporation.
[Windows Server demo - animated preview]
▶ Watch the 30-second demo - demo data is simulated; every command shown exists in the real CLI.
Agentless Windows Server health checks over WinRM: one verdict per server, a diffable inventory, and no arbitrary PowerShell. Works with the AI you already use - ChatGPT (Plus/Pro+), Claude Desktop, Codex, Claude Code, Claude Cowork, and GitHub Copilot - plus Microsoft 365 Copilot / Copilot Studio and Google Gemini via the remote path. Free, open source, runs on your laptop. Built for MSP owners. No code required.
Works with your agent
The six agents MSP owners actually use (self-serve, works today):
For ChatGPT, run windows-server-mcp --transport http with WINDOWS_SERVER_MCP_HTTP_TOKEN set, on an HTTPS host; every request sends that token. See mcp-install.md.
Also for the Microsoft and Google stacks
Big install base, but an honest heads-up: these are the remote / enterprise path, not the local binary you just installed.
Skill-native agents (also covered): Hermes and OpenClaw read this skill's
SKILL.mddirectly 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 Windows Server MCP (.mcpb) - then open Claude Desktop > Settings > Extensions and select the file. One click, no JSON, no shell. (Browse every Windows Server release on the releases page.)
Prefer the Claude Code plugin? Add the marketplace once, then install - works immediately, no directory listing required:
Path A - paste one prompt into your AI agent (recommended)
Copy this into Claude Code, Codex CLI, or Claude Cowork:
Install the Windows Server 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/windows-server/install.sh). If it uses Windows PowerShell, runiwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/windows-server/install.ps1 | iex. Then authenticate per the README and runwindows-server-cli --helpto explore.
The same prompt works in any agent that can run shell.
Path B - run the installer yourself
Windows (PowerShell):
macOS / Linux:
The installer drops both windows-server-cli (the CLI) and windows-server-mcp (the MCP server) into your user bin path. Claude Code, Codex, and Cowork discover the Skill via SKILL.md in this directory.
Verify:
Upgrade to the latest version
The installer always fetches the current release - re-run it to upgrade:
macOS / Linux:
Windows (PowerShell):
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 windows-server@msp-skills.
Add to Claude Desktop, GitHub Copilot, Gemini CLI, Microsoft 365 Copilot, 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 remote Microsoft 365 Copilot / Copilot Studio path. 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:
Inside a Hermes chat session:
Hermes speaks MCP natively, so it can also use the windows-server-mcp server directly - same install path, same env vars.
Install for OpenClaw
Tell your OpenClaw agent (copy this):
Install the windows-server skill from https://github.com/servosity/msp-skills/tree/main/skills/windows-server. The skill defines how its required CLI (
windows-server-cli) can be installed via theopenclaw:frontmatter block.
OpenClaw isn't generally available yet; the frontmatter wiring is pre-shipped and will activate the moment OpenClaw launches.
Authenticate
Windows Server has no API key: the CLI signs in to each server's WinRM HTTPS listener
(port 5986) with a local or domain account in that server's Administrators group. Add
each server to the config file (default ~/.config/windows-server-cli/config.toml on
macOS and Linux, %USERPROFILE%\.config\windows-server-cli\config.toml on Windows;
override with --config or WINDOWS_SERVER_CONFIG):
Then store its password (read from stdin, kept only in the CLI's 0600 credential store) and run the real connectivity test:
macOS / Linux:
Windows (PowerShell):
Or share one account across servers with WINDOWS_SERVER_USERNAME and
WINDOWS_SERVER_PASSWORD. Passwords shorter than 8 characters are refused. With NTLM, a
local account other than the built-in Administrator gets HTTP 401 unless
LocalAccountTokenFilterPolicy is 1 on the server: use a domain account, or
auth = "basic" over HTTPS. doctor checks config and paths and reports whether
credentials are present; it does not contact a server. health is the connectivity
test.
What this skill does
health, services down, eventlog new, local-admins changes and inventory snapshot read every configured server; the single reads and the service actions act on
one server (--server <name>, or the entry marked default = true).
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
Most ways to put an AI on a Windows server hand it a PowerShell prompt. This one cannot run arbitrary script: every command is one of a fixed set of read scripts that ship inside the binary, checked by SHA-256 on the server before they run, with arguments validated and passed as typed data. The server comes from your config by name (never from the agent), certificate verification is always on, and nothing is installed on the server.
On top of the reads, compound commands do work a single PowerShell call cannot: health
rolls every check into one verdict per server and remembers how long each has failed,
services down pairs each stop with its Service Control Manager event, eventlog new
compares against the server's own history, and inventory snapshot plus
inventory diff keep a local SQLite history so you see what changed between runs.
The pain this closes
Daily server checks are still a manual round on many MSP desks. The Active Directory Pro Windows Server maintenance checklist has you "monitor critical server services" every day, review disk space weekly, and check Event Viewer's application, security and system logs "for any critical errors": an RDP session per server, per client. And when a server breaks, the first hour goes to working out what changed.
healthanswers "which servers need attention" in one call, with reasons.services downstarts a down ticket with the cause, not a restart.eventlog newseparates a new failure from the error that fires every night.local-admins changesandinventory diffname what changed, who did it, and when.
See pain-point.md for the longer narrative.
Frequently asked questions
Does this work with ChatGPT?
Yes, on Plus, Pro, Team, Business, Enterprise, and Education plans (Free tier does not yet expose Developer Mode). ChatGPT connects to remote MCP servers over HTTPS, not local stdio binaries. The Windows Server MCP server runs locally over stdio by default. Its HTTP mode (windows-server-mcp --transport http) serves http://127.0.0.1:7777/mcp, refuses to start until WINDOWS_SERVER_MCP_HTTP_TOKEN is set, requires Authorization: Bearer <token> on every request, and needs --tls-cert/--tls-key for any other address. See mcp-install.md. Step-by-step in mcp-install.md.
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 your Windows Server credentials once.
Is my Windows Server 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.
Do I need to install anything on the server?
No. It uses WinRM over HTTPS (port 5986), which is built into Windows Server. Enable an HTTPS listener (Microsoft's guide: Installation and configuration for Windows Remote Management) and give the CLI an account in the server's Administrators group.
Can the AI run its own PowerShell on my client's server?
No. Every command runs one fixed script that ships inside the binary. A service name or log name is checked against a strict pattern and passed as typed data; input that would change the script is refused.
What can it change on a server?
Two things, each after a preview: restart a service (services restart) or start a
stopped automatic service (services start). The CLI needs --yes; the MCP tools need
confirm: true. WINDOWS_SERVER_MCP_READ_ONLY=1 removes both from the MCP server.
Does it replace my RMM?
No. It complements it: an RMM agent alerts on thresholds; this answers "why" and "what changed" questions on demand, across every server in your config.
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
The strongest control is the account you give it: the CLI can only do what that account may do on the server, and only through its fixed scripts. Full details, including how to lock it down, are in governance.md.
Status
Beta. Verified live against a Windows Server 2022 test server we run, and being validated with MSPs running it live against their own client servers 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-29.
來源:skills/windows-server/README.md,提交 62ab9f0
工具
0版本歷史
1- v0.1.0最新Nov 7, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。

