computer-use-mcp
v1.5.0
Published
💻 MCP server for Claude to control your computer
Downloads
785
Readme
computer-use-mcp
💻 An model context protocol server for Claude to control your computer. This is very similar to computer use, but easy to set up and use locally.
[!WARNING] At time of writing, models make frequent mistakes and are vulnerable to prompt injections. As this MCP server gives the model complete control of your computer, this could do a lot of damage. You should therefore treat this like giving a hyperactive toddler access to your computer - you probably want to supervise it closely, and consider only doing this in a sandboxed user account.
Installation
Run:
claude mcp add --scope user --transport stdio computer-use -- npx -y computer-use-mcpThis installs the server at user scope (available in all projects). To install locally (current directory only), omit --scope user.
(Recommended) Via manual .dxt installation
- Find the latest dxt build in the GitHub Actions history (the top one)
- In the 'Artifacts' section, download the
computer-use-mcp-dxtfile - Rename the
.zipfile to.dxt - Double-click the
.dxtfile to open with Claude Desktop - Click "Install"
(Advanced) Alternative: Via JSON configuration
- Install Node.js
- Open Claude Desktop and go to Settings → Developer
- Click "Edit Config" to open your
claude_desktop_config.jsonfile - Add the following configuration to the "mcpServers" section:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": [
"-y",
"computer-use-mcp"
]
}
}
}- Save the file and restart Claude Desktop
(Recommended) Via one-click install
(Advanced) Alternative: Via JSON configuration
Create either a global (~/.cursor/mcp.json) or project-specific (.cursor/mcp.json) configuration file:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "computer-use-mcp"]
}
}
}(Recommended) Via marketplace
- Click the "MCP Servers" icon in the Cline extension
- Search for "Computer Use" and click "Install"
- Follow the prompts to install the server
(Advanced) Alternative: Via JSON configuration
- Click the "MCP Servers" icon in the Cline extension
- Click on the "Installed" tab, then the "Configure MCP Servers" button at the bottom
- Add the following configuration to the "mcpServers" section:
{
"mcpServers": {
"computer-use": {
"type": "stdio",
"command": "npx",
"args": ["-y", "computer-use-mcp"]
}
}
}Tips
This should just work out of the box.
However, to get best results:
- Use a model good at computer use - I recommend the latest Claude models.
- Use a small, common resolution - 720p works particularly well. On macOS, you can use displayoverride-mac to do this. If you can't use a different resolution, try zooming in to active windows.
- Install and enable the Rango browser extension. This enables keyboard navigation for websites, which is far more reliable than Claude trying to click coordinates. You can bump up the font size setting in Rango to make the hints more visible.
How it works
We implement a near identical computer use tool to Anthropic's official computer use guide, with some more nudging to prefer keyboard shortcuts.
This talks to your computer using nut.js
Contributing
Pull requests are welcomed on GitHub! To get started:
- Install Git and Node.js
- Clone the repository
- Install dependencies with
npm install - Run
npm run testto run tests - Build with
npm run build
Releases
Versions follow the semantic versioning spec.
To release:
- Use
npm version <major | minor | patch>to bump the version - Run
git push --follow-tagsto push with tags - Wait for GitHub Actions to publish to the NPM registry.
