pc-control-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pc-control-mcpList the files in my project directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PC Control MCP
A safety-first Model Context Protocol server for controlled computer access and development workflows. v0.3 adds deployable multi-PC fleet management: outbound Windows agents, approval-based enrollment, online/offline status, a small admin dashboard, Docker/Caddy deployment, a Windows installer build, and in-memory screenshot transfer as MCP image content.
Security warning: this project can modify files, execute allowlisted programs, and optionally control desktops on computers where those capabilities are locally enabled. Use it only on systems you own or are authorized to administer.
Architecture
ChatGPT / MCP host
|
| Secure MCP Tunnel or authenticated MCP ingress
v
+----------------------------+
| PC Control Fleet Gateway |
| MCP 127.0.0.1:8000 |
| Admin UI 127.0.0.1:8080 |
| Agent WS 127.0.0.1:8765 |
+-------------+--------------+
|
Caddy HTTPS/WSS
|
wss://fleet.../agent
/ | \
v v v
office PC home PC laptop
outbound outbound outbound
agent agent agentControlled PCs do not need inbound firewall rules or router port-forwarding. Each agent connects outbound to the central gateway and keeps its own local policy.
Related MCP server: Terminal MCP Server
What v0.3 adds
Approval-based automatic enrollment using a short-lived shared enrollment secret
Unique long-term device token issued after approval; only a SHA-256 digest is stored by the gateway
Online/offline and
last_seendevice stateBrowser admin dashboard for approve / enable / disable
Remote screenshot returned as MCP
ImageContentwithout writing a remote fileDocker gateway image and Compose + Caddy deployment
Caddy automatic HTTPS/WSS for agents and the admin dashboard
Windows standalone agent + Inno Setup installer build through GitHub Actions
Windows login auto-start instead of a Windows Service, so optional GUI automation runs in the interactive user session
Safety model
High-impact capabilities remain off by default on every PC:
file writes:
PC_MCP_ENABLE_WRITES=0command execution:
PC_MCP_ENABLE_COMMANDS=0GUI automation/screenshots:
PC_MCP_ENABLE_GUI=0
Filesystem access is restricted to PC_MCP_ALLOWED_ROOTS. Process execution is restricted to PC_MCP_ALLOWED_COMMANDS and always uses shell=False. The gateway cannot override these local restrictions.
Quick start: central gateway
cd deploy
cp .env.example .env
# Edit domain and generate two independent random secrets.
docker compose up -d --buildPoint your domain's DNS record at the gateway host and allow inbound TCP 80/443. Caddy handles public HTTPS/WSS. The Compose file exposes the MCP endpoint only on host loopback (127.0.0.1:8000) so you can put a Secure MCP Tunnel or another authenticated MCP ingress in front of it instead of publishing an unauthenticated MCP endpoint.
Admin dashboard:
https://YOUR_DOMAIN/admin/Enter PC_MCP_ADMIN_TOKEN in the page. See docs/DEPLOY.md.
Quick start: Windows PCs
GitHub Actions builds:
pc-control-agent.exepc-control-agent-setup-<version>.exe
The installer asks for:
Gateway URL such as
wss://fleet.example.com/agentUnique device ID
Enrollment key
Allowed filesystem roots
Optional write / command / GUI permissions
It stores configuration under %LOCALAPPDATA%\PCControlMCP, creates a Startup shortcut for the current user, and starts the agent. The first connection appears in the gateway admin dashboard as Pending. Approve it once; the gateway then issues a unique device token and the agent deletes its local enrollment-key file.
Python install
Python 3.11+:
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS/Linux
source .venv/bin/activate
pip install -e .Commands:
pc-control-mcp # one PC, direct MCP
pc-control-agent # controlled PC outbound agent
pc-control-fleet-gateway # central gatewayFleet MCP tools
Discovery/status:
list_devicespending_enrollmentsdevice_capabilitiesdevice_system_info
Files/development:
device_list_directorydevice_read_text_filedevice_write_text_filedevice_replace_textdevice_make_directorydevice_run_commanddevice_launch_programdevice_list_processes
Optional GUI:
device_capture_screenshot— returns MCP image content directlydevice_take_screenshot— saves a PNG on the remote PCdevice_mouse_movedevice_mouse_clickdevice_type_textdevice_press_hotkeydevice_open_url
Documentation
docs/FLEET.md— enrollment and fleet operationdocs/DEPLOY.md— Docker, DNS, TLS, admin dashboard, ChatGPT ingressSECURITY.md— threat model and hardening
License
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityCmaintenanceA security-first MCP server that provides LLMs with structured tools for filesystem, process, search, build/test/lint, IDE integration, and more.402
- Alicense-qualityCmaintenanceA production-ready MCP server for secure, session-based command execution, file manipulation, and system inspection via local terminal sessions.12ISC
- AlicenseAqualityBmaintenanceSecurity-hardened MCP server that runs only allowlisted commands with no shell, jailed to a single directory, and bounded execution.2MIT
- Alicense-qualityCmaintenanceA local-first MCP server providing guarded access to a workspace with file operations, search, commands, tests, Git helpers, checkpoints, and structured tool results. It supports multiple tool modes and emphasizes security with workspace restrictions and secret blocking.1MIT
Related MCP Connectors
An MCP server for deep research or task groups
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gugu9999gu/pc-control-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server