
domdomegg/computer-use-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
💻 AIモデルにコンピューターを完全にコントロールさせる(おそらく悪いアイデアです)
概要
💻 Claudeがコンピュータを制御するためのモデルコンテキストプロトコルサーバーです。これはコンピュータ使用に非常に似ていますが、ローカルで簡単に設定・使用できます。 こちらはClaude Haiku 4.5がデスクトップ背景(4倍速)を変更している様子です: https://github.com/user-attachments/assets/cd0bc190-52c4-49db-b3bc-4b8a74544789 執筆時点でモデルは頻繁にミスを犯し、プロンプトインジェクションに対して脆弱です。このMCPサーバーはモデルにコンピュータの完全な制御を与えるため、大きな被害をもたらす可能性があります。したがって、これは多動児童にコンピュータへのアクセスを与えるような扱い方が良いでしょう。厳重に監視し、サンドボックス化されたユーザーアカウントでのみ行うことを検討してください。 install-mcpの手順に従ってください。こちらはMCPクライアント(Claude Code、Claude Desktop、Cursor、Cline、VS Codeなど)に適した設定を生成します。 しかし、最良の結果を得るには: - コンピュータに慣れているモデルを使うこと - 最新のClaudeモデルをおすすめします。
概要(AI 翻訳)
💻 Claudeがコンピュータを制御するためのモデルコンテキストプロトコルサーバーです。これはコンピュータ使用に非常に似ていますが、ローカルで簡単に設定・使用できます。
こちらはClaude Haiku 4.5がデスクトップ背景(4倍速)を変更している様子です:
https://github.com/user-attachments/assets/cd0bc190-52c4-49db-b3bc-4b8a74544789
[!警告] 執筆時点では、モデルは頻繁にミスを犯し、プロンプトインジェクションに対して脆弱です。このMCPサーバーはモデルにコンピュータの完全な制御を与えるため、大きな被害をもたらす可能性があります。したがって、これは多動児童にコンピュータへのアクセスを与えるようなもので、厳重に監督し、サンドボックス化されたユーザーアカウントでのみ行うことを検討すべきです。
設置
install-mcpの手順に従ってください。こちらはMCPクライアント(Claude Code、Claude Desktop、Cursor、Cline、VS Codeなど)に適した設定を生成します。
ヒント
これは箱から出してすぐに動作するはずです。
しかし、最良の結果を得るために:
- コンピュータに優れたモデルを使うこと - 最新のClaudeモデルをおすすめします。
- 小さくて一般的な解像度を使う - 720pが特によく機能します。macOSではdisplayoverride-macを使うことができます。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
computer-use-mcp
💻 A 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.
Here’s Claude Haiku 4.5 changing my desktop background (4x speed):
https://github.com/user-attachments/assets/cd0bc190-52c4-49db-b3bc-4b8a74544789
[!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
Follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).
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 versionto bump the version - Run
git push --follow-tagsto push with tags - Wait for GitHub Actions to publish to the NPM registry.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →