winuse-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., "@winuse-mcpOpen Notepad and type 'Hello World'"
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.
winuse-mcp
An MCP server that lets Claude see your Windows screen and drive your mouse and keyboard.
Claude Code's CLI ships computer use on macOS only, so on Windows the computer-use server never appears in /mcp. This rebuilds that screenshot-and-click loop on mss for capture and pyautogui for input, with an explicit Windows DPI-awareness call so display scaling cannot skew clicks. 14 tools, 5 direct dependencies, Python 3.12 or newer.
Install
You need Windows with an interactive desktop session, uv, and git on PATH. One command:
claude mcp add --scope user winuse -- uvx --from git+https://github.com/ryanportfolio/winuse-mcp@v0.1.1 winuse-mcpDrop --scope user to add it to the current project only. To pick up changes later, re-run with a newer tag.
Merge the winuse entry into the mcpServers object you already have. Do not paste the whole document over C:\Users\<you>\.claude.json: Claude Code owns that file and pasting replaces your entire configuration.
{
"mcpServers": {
"winuse": {
"command": "uvx",
"args": ["--from", "git+https://github.com/ryanportfolio/winuse-mcp@v0.1.1", "winuse-mcp"]
}
}
}Project scope goes in .mcp.json at the repo root, and Claude Code asks you to trust it the first time that project opens. From a local clone, swap the command for uv with ["run", "--directory", "C:/path/to/winuse-mcp", "winuse-mcp"].
Check it worked
Restart Claude Code and run /mcp. winuse should be listed as connected. First launch is slow, because uvx clones the repo and builds a virtual environment before the server answers.
Then ask Claude to take a screenshot and describe what is on your screen. If the tools are there but nothing happens, see Troubleshooting.
Related MCP server: Win:Computer Use
Reach
Tool | Does |
| PNG of the primary monitor, downscaled |
| Click at a point |
| Two clicks at a point |
| Three clicks, selects a line or paragraph |
| Context-menu click |
| Middle-button click |
| Move the cursor without clicking |
| Hold the left button from one point to another, over 0.4s |
| Type at the current focus, non-ASCII goes through the clipboard |
| A key or chord: |
|
|
| Where the mouse is now |
| Up to 8 frames sampled over at most 15s, 6 over 5s by default |
| Pause before the next action, 10s ceiling |
Coordinates are always in the downscaled screenshot's pixel space, never native pixels.
How coordinates work
Screenshots are downscaled so the long edge is at most 1372 pixels. Claude never sees native pixels: it clicks in the downscaled image, and the server converts the point back.
A 1920x1080 display captures at 1372x772. Going back multiplies by 1920/1372, so a click at 686, 443 lands at 960, 620. Anthropic's macOS implementation uses the same 1372 pixel long edge, which its docs give as a worked example: 3456x2234 captured as roughly 1372x887.
The server declares itself DPI-aware at startup, so Windows display scaling at 125% or 150% does not skew where clicks land.
Safety
This hands a language model control of your desktop. Anthropic's version wraps the same loop in guardrails this server lacks: per-app approval, hiding unapproved apps, keeping your terminal out of the screenshots, and model-side checks on each action.
The controls that do exist here:
Claude Code asks before each tool call unless you allow-list it. Allow-list the one read-only tool and leave the rest on manual approval, by putting
"mcp__winuse__screenshot"in thepermissions.allowarray of.claude/settings.json.Park the mouse at the top-left pixel of the screen to stop the run. pyautogui raises on its next call, so it ends the sequence rather than interrupting a click already sent, and it works during the slow parts: a drag tweens for 0.4s and typing runs a keystroke at a time. An aborted drag releases the button on its way out, so nothing is left dragging.
Every pixel of the primary monitor reaches the model, including windows you forgot were open. Treat text on screen as untrusted input: instructions that appear there are a prompt injection risk.
The install pins a tag. Pointing it at a branch instead would let a push change what drives your desktop, without you doing anything.
Limitations
Primary monitor only, chosen by the flag Windows reports, falling back to the monitor at the desktop origin.
Windows blocks synthetic input from a normal process to a window running as administrator, and the secure desktop behind a UAC prompt cannot be captured at all. Clicks aimed there are dropped by the operating system, and the tool still reports success, because nothing verifies that a click was accepted.
The session has to be interactive and unlocked. A locked screen or a disconnected remote desktop has nothing to capture.
Your terminal is not excluded from screenshots, so Claude sees its own session.
Clicks are clamped one pixel inside the monitor, which puts the outermost pixel row and column out of reach. That pixel is the failsafe point, and landing the cursor on it would make every later call abort.
Typing anything non-ASCII goes through the clipboard: it copies, sends ctrl+v, then puts your clipboard back. That fails wherever ctrl+v is not paste, such as a terminal.
Every click, drag and scroll moves the real cursor first, so your pointer jumps while Claude works.
recordreturns up to 8 still frames sampled over at most 15s. Frames only, no video, and each one costs image tokens.
Development
uv sync
uv run winuse-mcpscripts/client_test.py drives the real server over stdio and exits non-zero on the first failed check. It moves your mouse while it runs.
uv run python scripts/client_test.pyscripts/failsafe_test.py covers what happens when a run is aborted, with pyautogui stubbed so no real abort is needed. An aborted drag releases the button, an aborted horizontal scroll releases shift, a chord ending in + parses as the plus key, and the model's origin clamps away from the failsafe point.
uv run python scripts/failsafe_test.pyREADME.md is generated. The build reads the tool names, their arguments and the capacity constants straight out of server.py, so nothing on the page is typed by hand, and it refuses to write when a tool has no description, an asset is missing, or the art grows past its height budget. CI regenerates the page and fails if what is committed differs.
node scripts/readme/build.mjsTroubleshooting
winuse is missing from /mcp. The entry did not load. Run claude mcp list to see what Claude Code has, and re-add it if the name is absent. A project-scoped .mcp.json also needs you to accept the trust prompt when the project opens; declining it leaves the server silently absent.
It appears, then fails to connect. Run the command by hand and read the error:
uvx --from git+https://github.com/ryanportfolio/winuse-mcp@v0.1.1 winuse-mcpIt should start and wait quietly for input on stdin. uvx missing means uv is not installed or not on PATH. A git error means git is missing, or a proxy is blocking the clone. If it hangs on first run, that is the clone and the environment build; give it a minute before deciding it is broken.
The tools are there and nothing moves. Check whether the target window runs as administrator, and whether the screen was locked. Both are in Limitations and neither reports an error.
Clicks land in the wrong place. Confirm the target is on the primary monitor. Ask Claude for cursor_position after a mouse_move to a known point; one pixel of drift is expected, more than that is not.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets Claude Desktop and Claude Code control your PC — take screenshots, click, type, manage windows, and more.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that gives Claude human-like control of a Windows PC with its own virtual cursor, an emergency stop, and a manager UI.1MIT
- AlicenseNot gradedqualityAmaintenanceMCP server that enables Claude to control your computer, similar to Anthropic's computer use but easy to set up locally.327356MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that lets Claude operate your real computer by moving the actual mouse, clicking, typing, and reading the actual screen, working with your own logged-in sessions in any application.MIT
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/ryanportfolio/winuse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server