PyAutoGUI MCP Server
mcp-pyautogui-サーバー
PyAutoGUI を通じて自動 GUI テストと制御機能を提供する MCP (Model Context Protocol) サーバー。
特徴
マウスの動きとクリックを制御する
キーボード入力をシミュレートする
スクリーンショットを撮る
画面上の画像を見つける
画面情報を取得する
クロスプラットフォームサポート(Windows、macOS、Linux)
Related MCP server: Computer Use MCP
ツール
サーバーは次のツールを実装します。
マウスコントロール
マウスを特定の座標に移動する
現在の位置または指定した位置をクリック
ドラッグアンドドロップ操作
現在のマウスの位置を取得する
キーボードコントロール
テキストを入力
個々のキーを押す
ホットキーの組み合わせ
画面操作
スクリーンショットを撮る
画面サイズを取得する
画面上の画像の位置を見つける
ピクセルカラーを取得する
インストール
前提条件
Python 3.12以上
PyAutoGUI
その他の依存関係は自動的にインストールされます
インストール手順
パッケージをインストールします。
pip install mcp-pyautogui-serverクロードデスクトップ構成
MacOSの場合:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindowsの場合:
%APPDATA%/Claude/claude_desktop_config.json開発/非公開サーバー構成:
{
"mcpServers": {
"mcp-pyautogui-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-pyautogui-server",
"run",
"mcp-pyautogui-server"
]
}
}
}公開サーバーの構成:
{
"mcpServers": {
"mcp-pyautogui-server": {
"command": "uvx",
"args": [
"mcp-pyautogui-server"
]
}
}
}発達
建築と出版
依存関係を同期し、ロックファイルを更新します。
uv syncパッケージディストリビューションをビルドします。
uv buildPyPI に公開:
uv publish注: 環境変数またはコマンドフラグを使用して PyPI 資格情報を設定します。
トークン:
--tokenまたはUV_PUBLISH_TOKENユーザー名/パスワード:
--username/UV_PUBLISH_USERNAMEおよび--password/UV_PUBLISH_PASSWORD
デバッグ
最適なデバッグ エクスペリエンスを得るには、MCP Inspector を使用してください。
npm 経由で MCP Inspector を起動します。
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-pyautogui-server run mcp-pyautogui-serverインスペクターには、ブラウザでアクセスしてデバッグを開始できる URL が表示されます。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
1Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.
Clean PNG/JPEG screenshots via REST or MCP, with goal-driven multi-step navigation.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server that provides computer control capabilities including mouse movements, keyboard actions, screenshot capture with OCR, and window management through a unified API.587 PyPI177MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for computer automation that provides tools for screenshots, mouse actions, keyboard input, and drag-and-drop functionality. It supports cross-platform desktop interaction for both Linux (X11) and Windows environments.2-
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive computer control capabilities including mouse and keyboard automation, screen capture, OCR text recognition, and window management through MCP protocol.1MIT
- AlicenseAqualityCmaintenanceCross-platform desktop automation MCP server that lets AI agents capture screenshots, run OCR with UI-element classification, control mouse/keyboard, and launch programs on Linux, macOS, and Windows.202MIT