
ab498/computer-control-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ab498/computer-control-mcpは、https://github.com/ab498/computer-control-mcp.からインポートされたMCPサーバー候補です。
概要
ab498/computer-control-mcpは、https://github.com/ab498/computer-control-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
MCPサーバーは、PyAutoGUI、RapidOCR、ONNXRuntimeを用いてマウス、キーボード、OCRなどのコンピュータ制御機能を提供します。Anthropicの「コンピュータ利用」に似ています。外部依存関係はゼロです。
クイックユース(uvxを使ったMCP設定)
注意:** uvx computer-control-mcp@latestを初めて実行すると、約70MBのpython依存関係がダウンロードされるため、時間がかかる場合があります。MCPとして使う前にターミナルで実行することを推奨します。その後の実行は瞬時に行われます。*
またはpipでグローバルインストール:
次に、以下のようなサーバーを稼働させました:
特徴
- マウスの動きやクリックの制御
- 現在のカーソル位置にテキストを入力する
- 画面全体や特定のウィンドウのスクリーンショットを撮影し、ダウンロードディレクトリに保存するオプションがあります
- OCR(光学文字認識)を用いてスクリーンショットからテキストを抽出する
- ウィンドウのリストとアクティベート
- キーボードキーを押す
- ドラッグ&ドロップ操作
- GPUアクセラレーションウィンドウ(Windows専用)向けの強化スクリーンショットキャプチャ
GPU加速Windowsに関する注記
GDIやPrintWindowのような従来のスクリーンショット方式はGPUアクセラレーションのウィンドウをキャプチャできず、黒い画面になります。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Computer Control MCP
MCP server that provides computer control capabilities, like mouse, keyboard, OCR, etc. using PyAutoGUI, RapidOCR, ONNXRuntime. Similar to ‘computer-use’ by Anthropic. With Zero External Dependencies.

Quick Usage (MCP Setup Using uvx)
Note: Running uvx computer-control-mcp@latest for the first time will download python dependencies (around 70MB) which may take some time. Recommended to run this in a terminal before using it as MCP. Subsequent runs will be instant.
{
"mcpServers": {
"computer-control-mcp": {
"command": "uvx",
"args": ["computer-control-mcp@latest"]
}
}
}
OR install globally with pip:
pip install computer-control-mcp
Then run the server with:
computer-control-mcp # instead of uvx computer-control-mcp, so you can use the latest version, also you can `uv cache clean` to clear the cache and `uvx` again to use latest version.
Features
- Control mouse movements and clicks
- Type text at the current cursor position
- Take screenshots of the entire screen or specific windows with optional saving to downloads directory
- Extract text from screenshots using OCR (Optical Character Recognition)
- List and activate windows
- Press keyboard keys
- Drag and drop operations
- Enhanced screenshot capture for GPU-accelerated windows (Windows only)
Note on GPU-accelerated Windows
Traditional screenshot methods like GDI/PrintWindow fail to capture GPU-accelerated windows, resulting in black screens. This impacts games, media players, Electron apps, browsers with GPU acceleration, streaming software, and CAD tools. Use WGC through take_screenshot tool’s flag or ENV variable
Configuration
Custom Screenshot Directory
By default, screenshots are saved to the OS downloads directory. You can customize this by setting the COMPUTER_CONTROL_MCP_SCREENSHOT_DIR environment variable:
{
"mcpServers": {
インストール
uvx computer-control-mcp@latest設定
{
"mcpServers": {
"computer-control-mcp": {
"command": "uvx",
"args": ["computer-control-mcp@latest"]
}
}
}