Windows Control Center MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
πͺ Windows Control Center MCP Server
A local Model Context Protocol (MCP) server that connects AI assistants (Google Antigravity, Claude Desktop, Cursor, Cline, Roo Code) to your local Windows environment via standard input/output (stdio).
Built with FastMCP, it runs locally as a child process without opening network ports, providing tools for command execution, filesystem operations, process inspection, system telemetry, and desktop interactions.
β‘ What Does This Project Do?
Windows Control Center provides tools for interacting with Windows systems:
Command & Script Execution: Run PowerShell, CMD, and Python scripts with execution timeouts, memory commit limits, and process count quotas via Win32 Job Objects.
Filesystem Management: Inspect, read (with pagination), write, search, move, and delete files and directories, with path validation on system directories.
Process Inspection & Management: List active processes with CPU and RAM metrics, and terminate processes by PID with protection for core system processes (
csrss.exe,lsass.exe,services.exe, etc.).Hardware & System Telemetry: Retrieve system status (CPU usage, RAM allocation, disk partition usage, battery health, uptime, and active network interfaces).
Desktop & GUI Automation: Launch applications directly without shell string concatenation, read and write system clipboard text, trigger Windows toast notifications, and capture multi-monitor screenshots.
Local Stdio IPC: Spawned on demand as a child process by your AI client (Antigravity, Claude, Cursor, etc.), communicating via standard I/O pipes and terminating when the client session ends.
Related MCP server: rvn
π Project Structure
windows-mcp/
βββ .github/
β βββ workflows/
β βββ test.yml # CI test matrix across Windows 10/11 & Python 3.10-3.12
β βββ publish.yml # Manual workflow: build wheel & publish to PyPI
βββ src/
β βββ windows-control-center-mcp/ # Core server package
β βββ server.py # FastMCP stdio server entrypoint & schemas
β βββ security.py # Path validation, script scanning & command validation
β βββ sandbox.py # Win32 Job Object process limits & resource quotas
β βββ tools/ # Tool implementations
β βββ command_tools.py # PowerShell, CMD, Python & process execution
β βββ desktop_tools.py # App launcher, clipboard, notifications & screenshots
β βββ filesystem_tools.py # Paginated file read, write, search, move & delete
β βββ system_tools.py # Hardware telemetry, network status & environment
βββ tests/ # Automated test suite (100 unit & integration tests)
β βββ test_command_tools.py
β βββ test_desktop_tools.py
β βββ test_filesystem_tools.py
β βββ test_sandbox.py
β βββ test_security.py
β βββ test_server.py
β βββ test_system_tools.py
βββ pyproject.toml # PEP 621 package manifest, scripts & pytest options
βββ requirements.txt # Pinned runtime dependencies
βββ CONTRIBUTING.md # Contribution guidelines
βββ DOCUMENTATION.md # Technical architecture & subsystem documentation
βββ LICENSE # MIT License
βββ README.md # Project overview and client setupπ Installation & Client Setup (Windows)
Prerequisites
Install uv (the fast Python package manager) on Windows via PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"(Or via winget: winget install astral-sh.uv)
Client Configuration Files
Add the server to your preferred AI client configuration using uvx:
1. Google Antigravity / AGY CLI
File path: %USERPROFILE%\.gemini\config\mcp_config.json
{
"mcpServers": {
"windows-control": {
"command": "uvx",
"args": [
"windows-control-center-mcp",
"--transport",
"stdio"
]
}
}
}2. Claude Desktop
File path: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"windows-control": {
"command": "uvx",
"args": [
"windows-control-center-mcp",
"--transport",
"stdio"
]
}
}
}3. Cursor
File path: In Cursor Settings > Features > MCP, or in .cursor/mcp.json:
{
"mcpServers": {
"windows-control": {
"command": "uvx",
"args": [
"windows-control-center-mcp",
"--transport",
"stdio"
]
}
}
}4. Cline / Roo Code (VS Code Extension)
File path: %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
{
"mcpServers": {
"windows-control": {
"command": "uvx",
"args": [
"windows-control-center-mcp",
"--transport",
"stdio"
],
"env": {
"MCP_STRICT_MODE": "true",
"MCP_ALLOW_ELEVATION": "true"
},
"disabled": false,
"autoApprove": [
"get_system_info",
"get_network_info",
"list_processes",
"get_file_info",
"read_file",
"list_directory",
"search_files"
]
}
}
}π§° Available Tools (22 Tools)
1. Command Execution & Process Management
Tool | Description | Safety Hints |
| Execute PowerShell commands inside Win32 Job Object sandbox. |
|
| Execute Command Prompt (CMD.EXE) commands in Win32 Job Object sandbox. |
|
| Run Python code with AST validation & Win32 Job Object limits. |
|
| Trigger UAC prompt ( |
|
| Inspect running processes with PID, CPU %, and memory usage. |
|
| Terminate a process by PID (blocks attempts on core system processes). |
|
2. Filesystem Operations
Tool | Description | Safety Hints |
| Read file contents with line offset and limit pagination. |
|
| Create or overwrite files (restricted on protected system directories). |
|
| Paginated listing of directories with file size and timestamps. |
|
| Search for files by pattern, extension, and optional recursion depth. |
|
| Get file metadata, size, timestamps, and attributes. |
|
| Delete a file or directory (restricted on drive roots and system directories). |
|
| Copy or move files/folders with destination overwrite checks. |
|
3. System Telemetry & Network
Tool | Description | Safety Hints |
| OS version, CPU usage, RAM allocations, disk space, and battery status. |
|
| Active network adapters, IP addresses, MACs, and gateway status. |
|
| Read environment variables (redacts sensitive tokens matching key/secret patterns). |
|
| Current server policy, admin status, and audit log path. |
|
4. Desktop Automation
Tool | Description | Safety Hints |
| Launch desktop applications directly without shell string concatenation. |
|
| Read text currently on the Windows system clipboard. |
|
| Place text onto the Windows system clipboard. |
|
| Capture multi-monitor screenshot and save to a local PNG. |
|
| Display a native Windows toast notification popup. |
|
MCP Resources & Prompts
Resource
system://specs: Live JSON stream of CPU, memory, OS, and disk status.Resource
system://network: Live JSON stream of active network interfaces.Prompt
system_health_check: Diagnostic prompt template to evaluate system health.
π§ͺ Testing
Run the automated test suite using uv:
uv run pytest -vThe test suite contains 100 automated unit and integration tests verifying tool registrations, security policies, AST inspection, sandbox isolation, and stdio cleanliness across both Windows 10 and Windows 11.
β οΈ Security Boundaries & Known Limitations
Windows Control Center uses software guardrails (regex filtering, path normalization, and AST checks) alongside Win32 Job Object resource controls. Users should understand the following design boundaries:
Not an OS Container or Hypervisor: Subprocesses execute directly on the host under your Windows user account, not inside a virtual machine, AppContainer, or isolated filesystem sandbox.
User-Space File Access: Guardrails protect Windows system paths (
C:\Windows,System32,Program Files, etc.). Any files, repositories, or documents that your logged-in user account has rights to read, modify, or delete remain accessible to tools if commanded.No Network Egress Filtering: Win32 Job Objects do not provide network isolation. Executed commands and scripts can establish outbound network connections unless restricted by external firewalls.
Static Analysis Limitations: Pattern checks analyze static command text. Dynamic string concatenation, runtime variable interpolation, .NET reflection, or COM objects in PowerShell can bypass static regex inspection.
Client Approvals Recommended: When configuring your AI client, consider using confirmation prompts rather than broad
autoApprovefor mutating tools (execute_powershell,execute_cmd,execute_python,delete_file_or_dir).
π License & Contributing
License: Released under the MIT License.
Contributing: Please review CONTRIBUTING.md for code conventions and testing requirements.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Let AI see and use your own Windows PC with your permission: screen, apps, mouse and keyboard.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Windows desktop environment, including browser control, clipboard, file management, GitHub, Roblox Studio, OCR, and more, with a privileged approval system for risky actions.-
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to securely control and interact with a local Windows machine through 218 configurable tools for files, Git, processes, Windows UI, browser automation, WSL, Office, recovery, skills, and child MCP servers.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to safely perform file operations, run terminal sessions, manage processes, search content, and inspect Git repositories on a local Windows machine under configurable permission and audit controls.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control and interact with the Windows operating system, including file navigation, application control, UI automation, and QA testing.MIT