Use Claude Code to control Windows apps in the background
A developer made an MCP server that lets Claude Code operate some Windows apps without taking over the desktop.
- What they did
- They built PC-Control, an open-source MCP server that works with Windows through UI Automation and window messages instead of direct mouse and keyboard input. It picks among UI text, OCR, and screenshots to reduce token use, then sends only the differences after each move. For restricted windows, Claude Code asks the user to grant permission, and Word uses a separate insertion point so the agent does not disturb the current selection.
- How it went
- They say the setup can handle Windows apps while the person keeps working on the same machine, and Claude’s steps show up with an orange cursor. The main limit is app support: it handles some Oracle and remote desktop scenarios, but Windows 11 Paint does not respond, and keyboard shortcuts are not available.
- Tips
- Treat app compatibility as something to test first, not assume. Have the agent report exactly which controls it can detect and which ones fail before you rely on it for anything important.
Try it yourself with Claude Code
Create an MCP server for [this Windows PC] that lets Claude Code interact with apps in the background by using UI Automation and window messages instead of moving my real mouse or typing on my real keyboard. Start with [specific app or remote desktop session], then inspect each screen and tell me what text fields, buttons, and other controls you can read or operate, plus which parts do not work. Pause before any action that would save, submit, send, or delete data, and wait for my approval. When you finish, give me a brief setup note, a list of working and failing cases, and any limits I should know about.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Set up a Claude Code and Codex coding swarm
They wired Claude Code to spawn Codex helper agents, then used the same system to build and deploy a self-hosted app stack in 24 hours.
Build and publish a paid site on your own domain
Use Claude Code to create a site, connect payments and email, and launch it on a custom domain.
Drive coding work from Obsidian into Claude Code
They used Obsidian to draft plans, generate handoff notes, and launch Claude Code sessions, while an Efforts page kept each project’s status visible.
Use Claude Code to maintain NixOS server configs
A developer uses Claude Code to edit one NixOS config repo for several self-hosted machines, then reviews the diff and applies changes by hand.
Track new dev tools and assemble project-ready kits
A developer used Claude Code to watch AI dev-tool sources, rank each result, and create a toolkit with a CLAUDE.md for a chosen project.
Move WordPress posts into MDX files
Pauline used Claude Code to pull a WordPress archive into MDX and sort it into year folders.