Windows Server MCP
by AstraxOf
README.md
<!-- mcp-name: io.github.astraxof/windows-server-mcp -->
<div align="center">
# πͺ Windows Server MCP
**Let your AI assistant inspect, diagnose and manage your Windows PC: 100 tools, local, over stdio.**
[](README.md)
[](README.es.md)
[](https://github.com/AstraxOf/windows-server-mcp/actions/workflows/ci.yml)
[](https://pypi.org/project/windows-server-mcp/)




[](https://t.me/AstraxMCP)
[](https://youtube.com/@AstraxOf)
[](https://astrabots.pro)
</div>
---
**Windows Server MCP** is a [Model Context Protocol](https://modelcontextprotocol.io) server with **100 tools** for local Windows diagnostics, cleanup, hardware, security and administration. It works with Claude Desktop, Cursor, VS Code and any MCP client, and nothing leaves your PC.
> [!IMPORTANT]
> The server runs with the privileges of the account that starts it. Some tools can delete files, edit the Registry, manage services or run PowerShell. **Start with the read-only and dry-run tools.**
## π Install
```powershell
pip install windows-server-mcp
```
Requires Windows 10/11/Server and Python 3.10+. From source: `git clone https://github.com/AstraxOf/windows-server-mcp.git`, then `pip install -e .`.
## π Connect your client
Add this to your MCP client config (Claude Desktop: `claude_desktop_config.json`):
```json
{
"mcpServers": {
"windows-server": {
"command": "windows-server-mcp",
"args": []
}
}
}
```
If the command isn't on your `PATH`, use `"command": "C:\\path\\to\\python.exe"` with `"args": ["-m", "windows_server_mcp.server"]`.
## π οΈ What it can do
| Area | Examples |
|---|---|
| π **Task manager** | CPU, GPU, memory, disk, processes, suspend / resume / kill |
| π§Ή **Storage** | Largest files, duplicates, old files, Recycle Bin cleanup |
| π₯οΈ **Hardware** | GPU, `nvidia-smi`, displays, drivers, thermals, battery |
| π‘οΈ **Security** | Defender, firewall, BitLocker, Secure Boot, Windows Update |
| βοΈ **Admin** | Services, startup items, scheduled tasks, event logs, restore points |
| π **Network** | Interfaces, ports, latency, firewall rules |
| π©βπ» **Dev & shell** | Python/Node, env vars, clipboard, screenshots, PowerShell |
Full list in [docs/TOOLS.md](docs/TOOLS.md).
## π Safety
| Level | Examples |
|---|---|
| π’ **Read-only** | `disk_cleanup_report`, `get_security_status`, `list_scheduled_tasks` |
| π‘ **Previewable** | `safe_delete_by_pattern` (`dry_run=true`), Recycle Bin deletes |
| π΄ **Sharp** | `execute_powershell`, Registry writes, service changes, kill process |
See [docs/SECURITY_MODEL.md](docs/SECURITY_MODEL.md) before using it with an assistant you don't fully trust.
## π©Ί Troubleshooting
| Symptom | Fix |
|---|---|
| `windows-server-mcp` is not recognized | Activate your venv, or use `python -m windows_server_mcp.server`. |
| A tool says access denied | It needs an elevated terminal. Only elevate if you trust the client. |
| The client shows no tools | Restart it completely and check its MCP logs (`%LOCALAPPDATA%\windows-server-mcp\server.log`). |
## π§βπ» Development
```powershell
pip install -e . pytest
python -m pytest -q tests
```
See [CONTRIBUTING.md](CONTRIBUTING.md), [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) and [docs/PUBLISHING.md](docs/PUBLISHING.md). Report security issues privately via [SECURITY.md](SECURITY.md).
<div align="center">
[](https://t.me/AstraxMCP)
[](https://youtube.com/@AstraxOf)
[](mailto:avpn497@gmail.com)
</div>
## π Credits & License
Built on the original work of **[Ahmed Laminou Amadou](https://github.com/AhmedLaminou)**, the original author and maintainer. Maintained by Rufus Β· [@AstraxOf](https://github.com/AstraxOf) Β· [astrabots.pro](https://astrabots.pro).
**[MIT License](LICENSE)** Β· Copyright Β© 2026 Ahmed Laminou Amadou
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues