# Computer Use MCP server

> Lets AI agents control your desktop by reading accessibility trees and performing background inputs on macOS, Windows, and Linux.

- Repository: https://github.com/munimtechnologies/computer-use
- Page: https://hostedmcp.org/servers/munimtechnologies/computer-use
- Transport: stdio
- Stars: 38
- License: Apache-2.0
- Latest version: 0.1.0

## Install

### Claude Code

```sh
claude mcp add computer-use -- npx -y munim-computer-use
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "computer-use": {
      "command": "npx",
      "args": [
        "-y",
        "munim-computer-use"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "computer-use": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "munim-computer-use"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"computer-use","type":"stdio","command":"npx","args":["-y","munim-computer-use"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "computer-use": {
      "command": "npx",
      "args": [
        "-y",
        "munim-computer-use"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add computer-use -- npx -y munim-computer-use
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.computer-use]
command = "npx"
args = ["-y", "munim-computer-use"]
```

### Gemini CLI

```sh
gemini mcp add -s user computer-use npx -- -y munim-computer-use
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "computer-use": {
      "command": "npx",
      "args": [
        "-y",
        "munim-computer-use"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `COMPUTER_USE_AGENT_CURSOR` | no | no | Set to 0 to disable the agent pointer overlay |
| `COMPUTER_USE_BROWSER` | no | no | Set to 0 to hide the browser_* tools |

## Tools (2)

- `wait_timeout_ms`
- `readiness`

## FAQ

### Will the agent move my mouse while it is working?

No, it performs background input so your mouse remains under your control.

### How do I grant permissions on macOS?

You must run the command 'munim-computer-use request-permissions' to be prompted for Accessibility and Screen Recording permissions.
