PC-Control 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.
π₯οΈ PC-Control MCP Server
An MCP tool server that gives Claude Desktop control of a Windows machine β shell execution, system stats, audio and power, screenshots, window and process management.
How it works
The server is the tool side of an agent loop. It does not decide when to act; it publishes a set of callable tools and executes them when the client asks.
Claude Desktop ββMCP/stdioβββΆ FastMCP server (main.py)
β
βββ tools/shell.py execute_command
βββ tools/system.py get_system_status
βββ tools/audio.py manage_volume
βββ tools/power.py manage_power
βββ tools/app_launcher.py launch_application
βββ tools/processes.py get_process_list
βββ tools/screen.py take_screenshot
βββ tools/window.py list_windows, manage_windowEach tool is registered with an @mcp.tool() decorator over a plain typed function:
@mcp.tool()
def system_manage_volume(action: str, level: int = None) -> str:
"""
Control system audio volume.
Args:
action: 'set', 'get', 'mute', 'unmute'
level: 0-100 (required for 'set')
"""
return manage_volume(action, level)The signature and docstring are the tool schema β that is how the client discovers what exists, what arguments it takes, and when to call it. Which means the docstring is an interface contract, not a comment: a vague one produces a tool the model calls at the wrong time.
Two design choices worth naming:
Transport separated from behaviour.
main.pyholds only registration; every tool body lives intools/. Soverify_tools.pycan exercise the tools directly, without an LLM in the loop β when something misbehaves, that separates "the tool is broken" from "the model called it wrong."Destructive actions are explicit. Power management takes an
actionenum that includesabort, so a shutdown started by mistake can be cancelled.
web-frontend-mcp/ is a second, separate server covering browser-side tooling.
β οΈ This server executes arbitrary shell commands on the host by design. Run it only against a client you control.
Verification
verify_tools.py and verify_new_tools.py call each tool directly and print the result. These
are smoke checks, not a test suite β no assertions, no fixtures, no CI.
Related MCP server: SysControl MCP
Quick Install
Clone or download this folder
Install dependencies:
pip install -r requirements.txtConfigure Claude Desktop:
Edit: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"pc-control": {
"command": "python",
"args": ["C:/path/to/pc-control-mcp/main.py"]
}
}
}Restart Claude Desktop
Usage
Ask Claude:
"Check my system status"
"Execute command: dir"
"Set volume to 50%"
"Open Chrome"
"Lock my computer"
Requirements
Python 3.8+
Windows 10/11
Claude Desktop App
Tools
system_execute_command
Execute any shell command
system_get_status
Get CPU, Memory, Disk, Battery status
system_manage_volume
Control audio volume (set, get, mute, unmute)
system_manage_power
Power actions (shutdown, restart, sleep, lock)
system_launch_app
Launch applications by name
system_get_processes
List running processes sorted by CPU or Memory
screen_take_screenshot
Capture screenshot of primary monitor
window_list
List specific details of all visible windows
window_manage
Manage windows (focus, minimize, maximize, close)
License
MIT
Created with β€οΈ for Windows automation
Related MCP Connectors
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Give your AI hands on every computer you own. Remote control of your Windows, Mac and Linux machines from one ChatGPT, Claude or Cursor chat β even from your phone. Ask it to find out why the office server is crawling, update every PC in the house, sort out your mom's laptop from another city, or ship the site from your work machine while you're on a train. It runs commands, reads files and takes a screenshot when it needs to see the screen. You decide what each computer allows, and you can cut any of them off in a second.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables comprehensive Windows system management through Claude Desktop, including PowerShell/CMD execution, file operations, archive handling, Git tools, network testing, and system monitoring. Provides a complete toolkit for Windows automation and administration tasks.596MIT
- AlicenseBqualityCmaintenanceEnables Claude Desktop to monitor and control your computer system with 90+ real-time tools covering CPU, RAM, GPU, disk, network, processes, and more, plus extensions for file management, code editing, and web research.84MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to control mouse, keyboard, and clipboard on Windows, allowing AI-driven computer interaction tasks like clicking, typing, scrolling, and screenshotting.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude AI to securely access files, run shell commands, and search through a Windows computer with explicit user permission.7 npmMIT