Skip to main content
Glama

PyAutoGUI MCP Server

mcp-pyautogui-サーバー

PyAutoGUI を通じて自動 GUI テストと制御機能を提供する MCP (Model Context Protocol) サーバー。

特徴

  • マウスの動きとクリックを制御する
  • キーボード入力をシミュレートする
  • スクリーンショットを撮る
  • 画面上の画像を見つける
  • 画面情報を取得する
  • クロスプラットフォームサポート(Windows、macOS、Linux)

ツール

サーバーは次のツールを実装します。

マウスコントロール

  • マウスを特定の座標に移動する
  • 現在の位置または指定した位置をクリック
  • ドラッグアンドドロップ操作
  • 現在のマウスの位置を取得する

キーボードコントロール

  • テキストを入力
  • 個々のキーを押す
  • ホットキーの組み合わせ

画面操作

  • スクリーンショットを撮る
  • 画面サイズを取得する
  • 画面上の画像の位置を見つける
  • ピクセルカラーを取得する

インストール

前提条件

  • Python 3.12以上
  • PyAutoGUI
  • その他の依存関係は自動的にインストールされます

インストール手順

パッケージをインストールします。

pip install mcp-pyautogui-server

クロードデスクトップ構成

MacOSの場合:

~/Library/Application\ Support/Claude/claude_desktop_config.json

Windowsの場合:

%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" ] } } }

発達

建築と出版

  1. 依存関係を同期し、ロックファイルを更新します。
uv sync
  1. パッケージディストリビューションをビルドします。
uv build
  1. PyPI に公開:
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 ファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Windows、macOS、Linux 全体でマウスの動き、キーボード入力、画面キャプチャ、画像認識を可能にする MCP サーバーを通じて、自動 GUI テストおよび制御機能を提供します。

  1. 特徴
    1. ツール
      1. マウスコントロール
      2. キーボードコントロール
      3. 画面操作
    2. インストール
      1. 前提条件
      2. インストール手順
      3. クロードデスクトップ構成
    3. 発達
      1. 建築と出版
      2. デバッグ
    4. ライセンス

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A MCP server that provides browser automation tools, allowing users to navigate websites, take screenshots, click elements, fill forms, and execute JavaScript through Playwright.
        Last updated -
        Python
        Apache 2.0
        • Apple
      • A
        security
        A
        license
        A
        quality
        Simple MCP Server to enable a human-in-the-loop workflow in tools like Cline and Cursor. This is especially useful for developing desktop applications that require complex user interactions to test.
        Last updated -
        1
        13
        Python
        MIT License
        • Linux
        • Apple
      • A
        security
        A
        license
        A
        quality
        The first open-source MCP server that enables AI to fully control remote macOS systems.
        Last updated -
        6
        125
        Python
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        An MCP server that bridges AI agents with GUI automation capabilities, allowing them to control mouse, keyboard, windows, and take screenshots to interact with desktop applications.
        Last updated -
        Python
        MIT License
        • Apple
        • Linux

      View all related MCP servers

      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/hetaoBackend/mcp-pyautogui-server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server