go_computer_use_mcp_server
go_computer_use_mcp_server
このサーバーは信頼されたローカルMCPツールとして実行することを意図しています。 現在、広範なローカルデスクトップ制御を提供しており、デフォルトではサンドボックス化されていません。 追加のセキュリティ制御なしに、信頼できないネットワーク、ユーザー、またはエージェントに公開しないでください。
コンピュータ自動化のためのGo言語製MCP (Model Context Protocol) サーバー。デスクトップ自動化に robotgo ライブラリを使用します。
機能
マウス制御: 移動、クリック、ドラッグ、スクロール
キーボード制御: キー入力、テキスト入力、ホットキー
画面操作: スクリーンショット、ピクセル色取得、ディスプレイ情報
ウィンドウ管理: 移動、リサイズ、最小化/最大化
プロセス管理: プロセス一覧、検索、終了
システムユーティリティ: システム情報、ダイアログ、遅延
npxによるクイックスタート
サーバーを実行する最も簡単な方法はnpxを使用することです (Node.js 18+ が必要):
# Run with stdio transport (for MCP clients)
npx go-computer-use-mcp-server -t stdio
# Run with SSE transport
npx go-computer-use-mcp-server -t sse -h 0.0.0.0 -p 8080AIツールとの統合
Claude Desktop
Claude Desktopの設定ファイルに追加してください:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}Claude Code
CLIコマンドを使用する場合:
claude mcp add computer-use -- npx -y go-computer-use-mcp-server -t stdioclaude mcp add --transport stdio \
--env DISPLAY="$DISPLAY" \
--env XAUTHORITY="${XAUTHORITY:-$HOME/.Xauthority}" \
computer-use -- \
npx -y go-computer-use-mcp-server -t stdioまたは、プロジェクトの .mcp.json ファイルに手動で追加してください:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}OpenCode
opencode.jsonc 設定ファイルに追加してください:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"computer-use": {
"type": "local",
"command": ["npx", "-y", "go-computer-use-mcp-server", "-t", "stdio"],
"enabled": true
}
}
}Codex (OpenAI)
CLIコマンドを使用する場合:
codex mcp add computer-use -- npx -y go-computer-use-mcp-server -t stdioまたは ~/.codex/config.toml に追加してください:
[mcp_servers.computer-use]
command = "npx"
args = ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
env_vars = ["DISPLAY", "XAUTHORITY"]Cursor
CursorのMCP設定に追加してください。Cursor Settings > Features > MCP Servers に移動し、以下を追加します:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}Windsurf
~/.codeium/mcp_config.json に追加するか、Settings > Cascade > MCP Servers > Add Server から追加してください:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}Cline (VS Code拡張機能)
ClineパネルのMCPサーバーアイコンをクリックし、「Configure」タブを選択してから「Configure MCP Servers」を選択して cline_mcp_settings.json を編集します:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"],
"disabled": false
}
}
}汎用MCPクライアント
MCP互換クライアントであれば、以下を使用してください:
npx -y go-computer-use-mcp-server -t stdioソースからのインストール
要件
Go 1.21+
GCCコンパイラ
X11ライブラリ (Linux)
Ubuntu/Debian
# Go (if not installed)
sudo snap install go --classic
# GCC
sudo apt install gcc libc6-dev
# X11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard support
sudo apt install xsel xclip
# Bitmap support (for image operations)
sudo apt install libpng++-dev
# Event hook support
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-devワンライナー:
sudo apt install gcc libc6-dev libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-devFedora
# GCC (if not installed)
sudo dnf install gcc
# X11
sudo dnf install libX11-devel libXtst-devel
# Clipboard support
sudo dnf install xsel xclip
# Bitmap support
sudo dnf install libpng-devel
# Event hook support
sudo dnf install libxkbcommon-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-develワンライナー:
sudo dnf install gcc libX11-devel libXtst-devel xsel xclip libpng-devel libxkbcommon-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-develビルド
# Download dependencies
make deps
# Build for current platform
make build
# Build for all platforms
make build-all実行 (ソースから)
SSEトランスポート (デフォルト)
./go_computer_use_mcp_server -t sse -h 0.0.0.0 -p 8080Stdioトランスポート
./go_computer_use_mcp_server -t stdioコマンドライン引数
引数 | 説明 | デフォルト |
| トランスポート: |
|
| SSEサーバーのホスト |
|
| SSEサーバーのポート |
|
利用可能なツール
マウス制御 (12ツール)
ツール | 説明 |
| 絶対座標へカーソルを移動 |
| 滑らかなカーソル移動 (人間らしい動き) |
| 相対的なカーソル移動 |
| 現在のカーソル位置を取得 |
| マウスクリック |
| 移動してクリック |
| マウスボタンの押下/解放 |
| ドラッグ操作 |
| 滑らかなドラッグ操作 |
| スクロール |
| 指定方向へのスクロール |
| 滑らかなスクロール |
キーボード制御 (7ツール)
ツール | 説明 |
| キー押下 (修飾キー付き) |
| キーの押下/解放 |
| テキスト入力 (UTF-8) |
| 遅延付きテキスト入力 |
| クリップボードの読み取り |
| クリップボードへの書き込み |
| クリップボード経由で貼り付け |
画面操作 (7ツール)
ツール | 説明 |
| 画面サイズを取得 |
| モニター数 |
| モニターの境界 |
| 画面キャプチャ (MCP ImageContentを返す) |
| キャプチャしてファイルに保存 |
| 指定座標のピクセル色 |
| カーソル下のピクセル色 |
ウィンドウ管理 (9ツール)
ツール | 説明 |
| アクティブウィンドウ情報 |
| ウィンドウタイトル |
| ウィンドウの境界 |
| ウィンドウをアクティブ化 |
| ウィンドウを移動 |
| ウィンドウをリサイズ |
| ウィンドウを最小化 |
| ウィンドウを最大化 |
| ウィンドウを閉じる |
プロセス管理 (6ツール)
ツール | 説明 |
| 全プロセス一覧 |
| 名前でプロセスを検索 |
| PIDからプロセス名を取得 |
| プロセスの存在確認 |
| プロセスを終了 |
| コマンドを実行 |
システムユーティリティ (3ツール)
ツール | 説明 |
| システム情報 |
| スリープ/遅延 |
| ダイアログを表示 |
使用例
マウス移動とクリック
{
"tool": "mouse_click_at",
"arguments": {
"x": 100,
"y": 200,
"button": "left",
"double": false
}
}テキスト入力
{
"tool": "type_text",
"arguments": {
"text": "Hello, World!",
"delay": 50
}
}ホットキー
{
"tool": "key_tap",
"arguments": {
"key": "c",
"modifiers": ["ctrl"]
}
}画面キャプチャ
{
"tool": "screen_capture",
"arguments": {
"x": 0,
"y": 0,
"width": 800,
"height": 600
}
}サポートされているキー
英数字
a-z, A-Z, 0-9
ファンクションキー
f1-f24
ナビゲーション
up, down, left, right, home, end, pageup, pagedown
特殊キー
backspace, delete, enter, tab, escape, space, insert, capslock
修飾キー
alt, ctrl, shift, cmd (または command)
マルチメディア
audio_mute, audio_vol_down, audio_vol_up, audio_play, audio_stop, audio_pause
ライセンス
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hightemp/go_computer_use_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server