Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Computer Use

БесплатноНе проверен

Enterprise-grade macOS MCP server that gives AI agents eyes, hands, and a terminal, enabling screen capture, mouse/keyboard control, shell commands, and file op

GitHubEmbed

Описание

Enterprise-grade macOS MCP server that gives AI agents eyes, hands, and a terminal, enabling screen capture, mouse/keyboard control, shell commands, and file operations.

README

<<<<<<< HEAD

mcp-computer-use

Enterprise-grade macOS MCP server that gives your AI agent eyes, hands, and a terminal.

Tools

  • Screenshot / display

    • screenshot — capture a display and return a base64 PNG.
    • screenshot_region — capture a region of the screen.
    • get_display_info — list connected displays.
    • get_cursor_position — get the mouse pointer location.
    • ocr_screenshot — run OCR on the screen and return all text.
    • find_text_on_screen — find bounding boxes of text on the screen.
  • Mouse / keyboard

    • mouse_move, mouse_click, mouse_scroll
    • keyboard_type, key, hold_key
  • System / apps

    • open_app — open/activate an app by name.
    • list_windows — list visible windows.
    • focus_window — focus a window.
    • clipboard_get, clipboard_set
    • run_shell_command — run a shell command (allowlisted).
    • confirm_sensitive_action — approve a pending shell or file action.
    • get_status — show server status and permission state.
    • stop — stop the MCP server process.
  • File system

    • read_file, write_file, list_dir, delete_file
  • OCR / automation

    • ocr_screenshot, find_text_on_screen
    • click_text — click text found by OCR.
  • Processes

    • process_start — start a long-running shell command.
    • process_read — read output from a running process.
    • process_kill — send a signal to a running process.
  • Batch

    • batch_operations — run a JSON list of operations sequentially.

Setup

cd /Users/curnutte/CascadeProjects/mcp-computer-use
python3.11 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Permissions

Grant your terminal/IDE the following permissions in System Settings → Privacy & Security:

  • Screen Recording — needed for screenshots, OCR, and Quartz window listing.
  • Accessibility — needed for mouse/keyboard control and window focus.
  • Input Monitoring — needed for the Ctrl+Alt+Q global kill switch (pynput will warn until this is granted).

If the pynput warning "This process is not trusted! Input event monitoring will not be possible..." appears, the kill switch is armed but cannot receive hotkeys until the host process is added to Input Monitoring.

Test

source .venv/bin/activate
python test_client.py

Windsurf config

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp-computer-use": {
      "command": "/Users/curnutte/CascadeProjects/mcp-computer-use/.venv/bin/python",
      "args": ["-m", "mcp_computer_use"],
      "cwd": "/Users/curnutte/CascadeProjects/mcp-computer-use"
    }
  }
}

Restart Windsurf.

Using the skill

The use_skill.py script demonstrates how the server can be used to run terminal commands and manage the project.

source .venv/bin/activate
python use_skill.py

Configuration

Create ~/.mcp-computer-use/config.json to override defaults:

{
  "max_screenshot_dim": 1280,
  "allowed_shell_commands": ["git", "python", "python3", "node", "npm", "ls", "pwd", "cat", "echo", "which"],
  "blocked_shell_commands": ["rm -rf", "sudo", "mkfs", "dd", ">/dev/null", "shutdown", "reboot", "poweroff"],
  "confirm_sensitive": true
}

Kill switch

The server arms a global Ctrl+Alt+Q hotkey via pynput when supported. If it cannot be armed, the server still runs and the process can be killed by the user or an agent calling the stop tool.

Menu-bar app (experimental)

A native macOS menu-bar wrapper lives in MacMenuBar/. It keeps mcp-computer-use running in the top-right status bar, so the server works from any IDE or CLI:

cd MacMenuBar/MCPMenuBar
./build_app.sh
./install.sh

Then load the LaunchAgent and point your IDE MCP config at MacMenuBar/bridge/mcp_bridge.py. See MacMenuBar/README.md and MacMenuBar/integration.md for full details.

License

MIT

from github.com/TJCurnutte/mcp-computer-use

Установка Computer Use

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/TJCurnutte/mcp-computer-use

FAQ

Computer Use MCP бесплатный?

Да, Computer Use MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Computer Use?

Нет, Computer Use работает без API-ключей и переменных окружения.

Computer Use — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Computer Use в Claude Desktop, Claude Code или Cursor?

Открой Computer Use на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Computer Use with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai