Windows MCP server with 96 local tools for task management, diagnostics, cleanup, hardware/GPU, security, updates, services, networking, Registry, PowerShell, WSL/Hyper-V, printers, and dev workflows. Includes read-only reports, dry-run safeguards, and safer Recycle Bin cleanup
claude mcp add windows -- python -m windows-management-mcp-server{
"mcpServers": {
"windows": {
"command": "python",
"args": ["-m", "venv"]
}
}
}MCP Servers overview
# Windows Management MCP Server
<!-- mcp-name: io.github.ahmedlaminou/windows-mcp-server -->
Windows Management MCP Server is a Python-based Model Context Protocol server for local Windows diagnostics, task management, cleanup, hardware inspection, security checks, and administrative workflows.
It exposes **96 tools** over stdio and is designed for local assistants such as Claude Desktop, Cursor, VS Code extension hosts, and other MCP-compatible clients.
> Important: This server runs with the privileges of the user account that starts it. Several tools can change system state, delete files, edit the Registry, manage services, install updates, or execute PowerShell. Use the read-only and dry-run tools first, and only enable destructive actions after reviewing the target paths and commands.
## What It Can Do
- Task manager: CPU, GPU, memory, disk usage, top processes, process trees, process details, suspend/resume/kill.
- Storage cleanup: disk usage, largest folders/files, duplicate detection, old files, media discovery, Recycle Bin deletion, temp cleanup.
- Hardware and drivers: GPU details, NVIDIA `nvidia-smi` probes, display configuration, installed drivers, problem devices, driver update candidates.
- Windows security: Defender status/scans, firewall rules, BitLocker, Secure Boot, UAC, Windows Update status.
- System administration: services, startup apps, scheduled tasks, event logs, crash diagnostics, restore points.
- Network diagnostics: interfaces, active sockets, listening ports, firewall correlation, ping latency.
- Developer environment: Python/Node discovery, environment variables, common dev ports.
- Shell helpers: Explorer open/select, screenshots, clipboard, visible windows.
- Peripherals and virtualization: printers, print queues, audio, Bluetooth, WSL, Hyper-V, optional Windows features.
For the complete tool catalog, see [docs/TOOLS.md](docs/TOOLS.md).
## Requirements
- Windows 10/11 or Windows Server with PowerShell available.
- Python 3.10 or newer.
- Some tools require Administrator privileges or Windows features/modules that may not be installed on every machine.
- Optional vendor data, such as NVIDIA GPU telemetry, requires vendor tools like `nvidia-smi` on `PATH`.
## Installation
From PyPI:
```powershell
pip install windows-management-mcp-server
```
Create a virtual environment and install the package in editable mode:
```powershell
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install -e .
```
Both install paths register the `windows-mcp-server` command in the active environment.
## MCP Client Configuration
For clients that can launch a stdio MCP server, use:
```json
{
"mcpServers": {
"windows-management": {
"command": "windows-mcp-server",
"args": []
}
}
}
```
If the command is not on `PATH`, point directly at the local virtual environment:
```json
{
"mcpServers": {
"windows-management": {
"command": "C:\\path\\to\\WindowsMCPServer\\venv\\Scripts\\python.exe",
"args": ["-m", "windows_mcp_server.server"],
"env": {
"PYTHONPATH": "C:\\path\\to\\WindowsMCPServer"
}
}
}
}
```
## Running Locally
```powershell
windows-mcp-server
```
Or:
```powershell
python -m windows_mcp_server.server
```
The server uses stdio transport and is normally launched by an MCP client rather than run interactively.
## VS Code Extension
The `vscode-extension/` folder contains a small VS Code extension that launches this MCP server from the repo-local virtual environment first, then falls back to a global `windows-mcp-server`.
```powershell
cd vscode-extension
npm install
npm run compile
```
Open `vscode-extension/` in VS Code and press `F5` to start an Extension Development Host.
## Safety Model
Tools are intentionally mixed across read-only, safer mutation, and sharp mutation categories.
- Prefer report tools first: `disk_cleanup_report`, `get_security_status`, `get_windows_update_status`, `list_scheduled_tasks`, `get_process_details`.
- Prefer safe deletion: `safe_delete_to_recycle_bin`, `safe_delete_many_to_recycle_bin`, `safe_delete_by_pattern` with `dry_run=true`.
- Treat these as sharp tools: `execute_powershell`, Registry writes/deletes, permanent file deletion, service changes, update installation, process termination, restore point creation.
See [docs/SECURITY_MODEL.md](docs/SECURITY_MODEL.md) before exposing this server to an assistant you do not fully trust.
## Development
Compile-check the Python package:
```powershell
.\venv\Scripts\python.exe -m compileall windows_mcp_server
```
Check the registered tool count:
```powershell
.\venv\Scripts\python.exe -c "from windows_mcp_server.registry import register_all_tools, registered_tools; Dummy=type('Dummy',(),{'tool':lambda self: (lambda f:f)}); register_all_tools(Dummy()); print(len(registered_tools))"
```
Compile the VS Code extension:
```powershell
cd vscode-extension
npm run compile
```
## Repository Structure
```text
windows_mcp_server/ Python MCP server package
windows_mcp_server/tools/ Tool modules grouped by Windows domain
vscode-extension/ Optional VS Code extension wrapper
docs/ Tool catalog, security model, publishing guide
server.json MCP Registry metadata
pyproject.toml Python package metadata
```
## Publishing
This repository includes `server.json` for the MCP Registry and PyPI-compatible package metadata.
See [docs/PUBLISHING.md](docs/PUBLISHING.md) for the full GitHub, PyPI, and MCP Registry release flow.
## License
MIT. See [LICENSE](LICENSE).
What people ask about windows-mcp-server
What is AhmedLaminou/windows-mcp-server?
+
AhmedLaminou/windows-mcp-server is mcp servers for the Claude AI ecosystem. Windows MCP server with 96 local tools for task management, diagnostics, cleanup, hardware/GPU, security, updates, services, networking, Registry, PowerShell, WSL/Hyper-V, printers, and dev workflows. Includes read-only reports, dry-run safeguards, and safer Recycle Bin cleanup It has 3 GitHub stars and was last updated today.
How do I install windows-mcp-server?
+
You can install windows-mcp-server by cloning the repository (https://github.com/AhmedLaminou/windows-mcp-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is AhmedLaminou/windows-mcp-server safe to use?
+
AhmedLaminou/windows-mcp-server has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains AhmedLaminou/windows-mcp-server?
+
AhmedLaminou/windows-mcp-server is maintained by AhmedLaminou. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to windows-mcp-server?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy windows-mcp-server to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/ahmedlaminou-windows-mcp-server)<a href="https://claudewave.com/repo/ahmedlaminou-windows-mcp-server"><img src="https://claudewave.com/api/badge/ahmedlaminou-windows-mcp-server" alt="Featured on ClaudeWave: AhmedLaminou/windows-mcp-server" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。