
Windows Management
io.github.AhmedLaminouPublished by GitHub account AhmedLaminouv0.3.1Updated Oct 24, 2026
Local Windows management, diagnostics, security, cleanup, and optimization MCP server.
Overview
A local Windows-only MCP server that lets an assistant inspect and administer a PC: processes, storage, hardware, security, services, network and shell.
- What you can do
- Monitor and control processes: CPU, GPU, memory and disk usage, process trees, suspend, resume and kill processes. Clean up storage: find large or duplicate files, old files and media, delete to the Recycle Bin, clear temp files. Inspect hardware and drivers: GPU details, display configuration, installed and problem drivers. Check security and updates: Defender status and scans, firewall rules, BitLocker, Secure Boot, UAC, Windows Update. Administer the system: services, startup apps, scheduled tasks, event logs, crash diagnostics, restore points. Run network and shell helpers: interfaces, ports, ping, Explorer, screenshots, clipboard, plus PowerShell execution.
- When to use it
- Useful when an assistant needs to diagnose or maintain a Windows 10/11 or Windows Server machine locally, for example checking performance, cleaning disk space, reviewing security posture or troubleshooting drivers and services. Not intended for non-Windows systems or remote hosts.
- Requirements
- Runs as a local stdio process on Windows 10/11 or Windows Server with PowerShell available. Needs Python 3.10 or newer and the windows-management-mcp-server package from PyPI, launched via the windows-mcp-server command. Some tools need Administrator privileges or optional Windows features; NVIDIA telemetry needs nvidia-smi on PATH.
Installation
In SourceWeft
- Open Windows Management in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Windows Management 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.
Demo
[Windows Management MCP Server demo]
Watch the demo: https://youtu.be/1GNk_GYYkww
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-smiprobes, 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.
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-smionPATH.
Installation
From PyPI:
Create a virtual environment and install the package in editable mode:
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:
If the command is not on PATH, point directly at the local virtual environment:
Running Locally
Or:
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.
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_patternwithdry_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 before exposing this server to an assistant you do not fully trust.
Development
Compile-check the Python package:
Check the registered tool count:
Compile the VS Code extension:
Repository Structure
Publishing
This repository includes server.json for the MCP Registry and PyPI-compatible package metadata.
See docs/PUBLISHING.md for the full GitHub, PyPI, and MCP Registry release flow.
License
MIT. See LICENSE.
Source: README.md at commit 74b4490
Tools
0Version history
1- v0.3.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts