PC-Control
Let an AI see and operate Windows apps cheaply, without stealing focus or moving your mouse. MCP server for Claude Code.
Install / Use
claude mcp add VortexJer -- npx -y github:VortexJer/PC-ControlIf the server publishes to npm under a different name, use that package instead β check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of PC-Control
PC-Control scores 79/100 on our quality scale, 2462nd of 2,760 Automation skills we index.
Its MCP Server is 43 KB long, well organised into 24 sections with 6 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.
It has 45 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated yesterday, so PC-Control is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit β read the skill file before letting an agent act on it.
PC-Control compared with similar skills
All 4 of these similar skills score higher than PC-Control; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| PC-Control (this skill)by VortexJer | 79 | 45 | 1d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 114.5k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 89.4k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.4k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 80.7k | today | CLAUDE.md |
Frequently asked questions
- How do I install PC-Control?
- Run
claude mcp add VortexJer -- npx -y github:VortexJer/PC-Control. The install tabs above show the steps for each supported agent. - Which AI agents does PC-Control work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is PC-Control safe to use?
- It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is PC-Control still maintained?
- The repository was last updated yesterday, so PC-Control is actively maintained.
Skill content
View source on GitHubPC-Control

Let an AI see and operate Windows apps cheaply, without stealing focus, moving your mouse or typing on your keyboard. An MCP server for Claude Code and Codex (and any MCP client). Early version: it works, but expect rough edges.
Install
You need Windows 10 or 11, 64-bit Python 3.10+ and Claude Code (or the Codex CLI). In PowerShell:
pip install claude-pc-control
pc-control install # for Codex: pc-control install --client codex
Then open a new Claude Code (or Codex) session and ask, for example, "what do I have open in Word?".
Update
From any version you have, to the latest release:
pc-control update
It keeps your settings, removes what older versions left behind and updates Claude Code and Codex if both are installed. It works with sessions open: they keep their version until you open a new session. (Sessions of a version older than 0.8.4.6 are stopped once, because Windows cannot replace the launcher they run; they reconnect when used.) The update itself never needs changing: it only installs the new release and lets the NEW code configure itself.
If your version is so old that it has no update command, this works from any of them:
pip uninstall -y pc-control pcsight
pip install --upgrade claude-pc-control
pc-control reinstall
Uninstall
pc-control uninstall
pip uninstall -y claude-pc-control
pc-control status says whether it is installed, connected and paused; pc-control pause / pc-control resume is the kill switch.
What it does
- Sees a window without focusing it.
lookpicks the cheapest of: UI-tree text, OCR text, or an image with numbered marks. It never sends empty text, text that costs more than the image, or text that does not cover the window. - Acts on a window without focusing it. Clicks and typing go straight to the control (
BM_CLICK,EM_REPLACESEL, UI Automation patterns...). Nothing in the package callsSetFocus,SendInput,keybd_eventorSetCursorPos, andSetForegroundWindowonly to give the foreground BACK to your own window when an app took it without you asking (a test scans the code for them). - Answers with only what changed after each action, not the whole screen again, and says whether the action had a visible effect.
- Does what people ask for, still without focus. Scroll, read a whole document or page, keyboard shortcuts, drop-downs, find an element (even scrolled out of view) and wait for something to appear.
- Opens apps out of your way, but where you can watch.
open_appstarts the app minimized with its button in the taskbar (no focus taken): open it whenever you want to see Claude work. Its windows are marked opened by Claude, so the model never mistakes yours for its own. - Lets you keep working. You and Claude can use the same app at the same time (see You and Claude in the same app).
What pc-control install changes, and nothing else (all of it is recorded, so uninstall removes exactly that):
| Step | Where |
|---|---|
| Registers the MCP server as PC-Control (tools mcp__PC-Control__*) | claude mcp add (scope user by default) |
| Writes the usage skill | ~/.claude/skills/pc-control/SKILL.md |
| Adds a short managed block pointing to the skill | ~/.claude/CLAUDE.md (between <!-- pc-control:begin ... --> and <!-- pc-control:end -->) |
| Registers the permission hooks (PreToolUse, PermissionRequest) | ~/.claude/settings.json (backed up once to settings.json.pc-control-bak) |
| Keeps a record of all of the above | ~/.claude/pc-control-install.json |
| Copies of the launcher and of the native focus guard, so an update works while sessions are open | ~/.pc-control/bin, ~/.pc-control/native |
Options: --mode follow|auto|ask|strict|bypass (default follow, see Permission modes),
--scope user|project|local, --allow-reads (let windows and look run without asking). pc-control reinstall repeats the
install with the options recorded last time; pc-control uninstall --keep-data keeps the ~/.pc-control data folder.
From a clone (for development): git clone https://github.com/VortexJer/PC-Control.git, then run install.ps1 in it
(options -Mode, -AllowReads, -Editable, -Client codex); update.ps1 and uninstall.ps1 (-KeepData, -KeepPackage) do the
same as the commands above.
Codex: pc-control install --client codex registers the server with codex mcp add, installs the skill in
~/.agents/skills/pc-control and a managed block in $CODEX_HOME/AGENTS.md. Permission requests reach you through MCP elicitation
(if Codex cannot show one, the action is refused). Its tools are registered pre-approved in Codex (default_tools_approval_mode = "approve"): with approval_policy = "never" Codex rejects every MCP tool that needs approval, so PC-Control's own mode decides
instead. Only user scope; --allow-reads is Claude-only. Both clients can be installed at
once; uninstalling one keeps what the other needs.
Native focus guard: included in the package (x64, ARM64 and x86 binaries; no compiler needed). The ARM64 build is cross-compiled and has not been run on ARM hardware.
Older versions: pc-control update works from any earlier version, including the first one (pcsight) and installs made before
the package was renamed from pc-control to claude-pc-control (0.6). It removes whatever an older version left behind (server,
skill, CLAUDE.md block, hooks, ask rules for PC-Control's tools) and only that.
Cost
The tool definitions Claude gets on every request are about 1280 tokens for the 10 tools (the title that the schema generator adds to every
parameter, 16 % of it, is stripped). With PC_CONTROL_TRACE=1 each action's answer ends with where its time went (guards 4ms, cursor 270ms, settle 250ms, changes 380ms). Most of an action is the UI Automation walk that tells it what changed; it depends on how fast the app answers
accessibility queries.
look chooses by cost: it estimates what the text would cost and what an image of the window would cost (about ceil(width/28) * ceil(height/28)
tokens at the size it would send, which adapts to your monitor) and sends the cheaper one, never empty text and never text that does not
cover the window. The text estimate was fitted on real windows against a BPE tokenizer (within about 10 %). After an action it sends
only what changed. In one measured Word window, the UI-tree text cost 713 tokens against 851 for the screenshot; a minimized window is
read as text only. read gives a whole document in one call, and read(find=...) or look(find=...) only the lines or elements you need.
Permission modes
Pick one with pc-control install --mode ... or the PC_CONTROL_MODE environment variable.
| Mode | What it does |
|---|---|
| follow (default) | Follows the client's own permission mode, as cautious as you chose to be. Claude Code: bypassPermissions -> bypass, auto -> auto, default / acceptEdits / plan -> ask. Codex: Full Access in /permissions (no sandbox, --dangerously-bypass-approvals-and-sandbox) -> bypass; Workspace or Read only -> auto. Codex sends its sandbox state with every call, so changing /permissions mid-session applies to the next call. |
| auto | Filters apps by category, no list to maintain: password managers and authenticators, terminals, system administration tools, remote access, crypto wallets, the AI client itself, mail and messaging apps, VPN/security tools, signing/identity apps, developer tools with credentials, and any window whose title is about banking, payments or passwords are protected: PC-Control asks you before Claude can use them. Delicate actions (pay, delete, send, install, sign out...) are asked every time. It never types into a password field. |
| ask | The lowest-risk mode: every window asks. A plain Yes is for that call only; Yes, and don't ask again remembers that one window for the session. Protected windows ask too. |
| strict | auto plus: acting only on apps listed in PC_CONTROL_ALLOW=app1,app2 or ~/.pc-control/allow.txt. |
| bypass | Like --dangerously-skip-permissions: no filters, no confirmations. Use it when you trust the session. |
In every mode: creating ~/.pc-control/PAUSE (or PC_CONTROL_PAUSE=1) makes every tool refuse, and type needs an element id from look (no blind typing).
Terminals
A terminal is not a window where mouse messages or WM_CHAR work (Windows Terminal draws its own text), but every shell reads its keys from a console input
buffer, and that buffer can be written to directly. So type, key, read and look talk to the console of the shell itself: no keyboard, no mouse, no
focus, nothing of yours is touched, and the answer shows what the console says afterwards (the typing is confirmed, not assumed). It works with classic
console windows and with the tabs of Windows Terminal, including terminals you already had open.
typewrites the text; a line break in it presses Enter (it runs).keysends enter, tab, esc, arrows, home, end, pgup, pgdn, backspace, delete, ctrl+c.- Windows Terminal is ONE process for all its windows and tabs. The tab is found through who owns each console, and picked by the window's title; if that is not unique the answer lists the candidates instead of guessing, because typing into the wrong shell is worse than not typing.
- The terminal Claude Code itself runs in is never a target (it would type into its own prompt).
- What you type in a terminal runs as you, so these windows stay protected: you are asked, and the question shows the full command, also inside
steps. - A program running as administrator cannot be reached from a normal process; the answer says so.
How the questions reach you
Protected windows are not blocked; you decide, not the model. The model has no confirm flag it could set.
- Claude Code: Claude Code itself shows you its permission dialog (1. Yes / 2. Yes, and don't ask again / 3. No), and Claude
cannot answer it. The
PreToolUsehook (python -m pc_control.hook) adds one short sentence, in the language of your Windows, as the first parameter of the call (for example question: "Claude wants to read the whole text of Β«TerminalΒ» (protected window: terminal or console)."). In Claude Code's normal mode that is all; in its other modes (auto...), where Claude Code might decide by itself, the hook answersaskso the question is always shown (the dialog then also carries a "Hook ... requires confirmation" line). A plain "yes" counts once. If you pick Claude Code's "Yes, and don't ask again", PC-Control narrows it to that one window for the rest of the session (Claude Code saves a per-tool rule; the hook turns it into a per-window approval and removes the rule). - The
PermissionRequesthook answers by itself when you do not need to be bothered (a normal window outside the filter, bypass). It also tells the server that a dialog really is about to be shown: once Claude Code has done that at least once, the server refuses to run a protected action whose dialog was skipped (for example by a "don't ask again" rule), instead of trusting the question. - Other MCP clients (without these hooks): a protected action simply does not run.
What you see: Claude's cursor
When Claude clicks, an orange pointer glides to the element and rings it; when it types, a steady orange I-beam slides to the insertion point. Only one is sh
Truncated for display β read the full file on GitHub.
Related Skills
Agent-Reach
114.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu β one CLI, zero API fees.
hyperframes
89.4kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.4kπ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
80.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit β see the Safety scan above for what the skill file itself contains.
