Get the FREE Ultimate OpenClaw Setup Guide →

computer-use

💻 Give AI models complete control of your computer (probably a bad idea)

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio domdomegg-computer-use-mcp npx -y computer-use-mcp

How to use

This MCP server provides a near-identical interface to Claude's computer use tool, allowing Claude to control your desktop through a local server powered by nut.js. It exposes a programmable surface where Claude can issue commands to move the mouse, click, type keystrokes, press shortcuts, take screenshots, and launch applications. The server is designed to be run locally and wired to Claude via the MCP transport you configure (stdio in most setups), and it respects the same model-context protocol as the official Claude computer use workflow. Use it to automate tasks on your machine or to enable Claude to navigate and interact with your environment through keyboard and mouse actions rather than simple text commands.

How to install

Prerequisites:

  • Node.js and npm installed on your machine
  • Claude Desktop or Claude integration capability that supports MCP (as described in the README)

Installation steps:

  1. Install the MCP server package via npx (as shown in the README): claude mcp add --scope user --transport stdio computer-use -- npx -y computer-use-mcp This registers the server under the user scope for use in Claude Desktop or other supported clients.
  2. If you prefer a manual setup, you can install the package locally by running: npx -y computer-use-mcp and then configure Claude Desktop or your environment to point to the local binary/command path.
  3. Ensure your transport (stdio in many guides) is configured in the Claude client settings to connect to the computer-use MCP server.

Notes:

  • The setup typically runs within the user context and is accessible across projects when installed with the scope set to user.
  • For Claude Desktop JSON-based configurations, you can still use the example mcpServers entry shown in the README demonstrations.

Additional notes

Security and safety: this server grants Claude the ability to control your computer, so only run it in a trusted environment or sandboxed user account. Consider limiting access or running in a non-admin sandbox. The server relies on nut.js for interacting with the OS, so ensure the host environment supports the required input control capabilities. If you encounter issues starting the MCP server, verify Node.js and npm versions, confirm the CLI commands in your Claude client are correctly wired to npx computer-use-mcp, and check that dependencies are installed. You can customize the mcpServers configuration in various clients (Claude Desktop, Cursor, Cline) by using the same structure shown in the README examples.

Related MCP Servers

Sponsor this space

Reach thousands of developers