MCP.so
Sign In

mcp-pyautogui-server

@hetaoBackend

About mcp-pyautogui-server

A MCP (Model Context Protocol) server that provides automated GUI testing and control capabilities through PyAutoGUI.

Basic information

Category

Other

License

MIT

Runtime

python

Transports

stdio

Publisher

hetaoBackend

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-pyautogui-server": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is mcp-pyautogui-server?

mcp-pyautogui-server is a Model Context Protocol (MCP) server that provides automated GUI testing and control capabilities through PyAutoGUI. It is intended for developers who need programmatic control of mouse movements, keyboard input, and screen operations across Windows, macOS, and Linux.

How to use mcp-pyautogui-server?

Install the package with pip install mcp-pyautogui-server, then add it to your MCP client configuration (e.g., Claude Desktop config) using the published server entry: {"command": "uvx", "args": ["mcp-pyautogui-server"]}. For development, use uv with the local directory path.

Key features of mcp-pyautogui-server

  • Control mouse movements and clicks
  • Simulate keyboard input
  • Take screenshots
  • Find images on screen
  • Get screen information
  • Cross-platform support (Windows, macOS, Linux)

Use cases of mcp-pyautogui-server

  • Automating repetitive GUI interactions for testing
  • Performing drag-and-drop operations programmatically
  • Capturing screenshots and reading pixel colors
  • Executing hotkey combinations and typing text
  • Locating images on screen for visual automation

FAQ from mcp-pyautogui-server

What is Python version required?

Python 3.12 or later is required.

What operating systems are supported?

Windows, macOS, and Linux are all supported.

Does mcp-pyautogui-server require any additional libraries?

PyAutoGUI and other dependencies are installed automatically when you install the package via pip.

How do I configure mcp-pyautogui-server for Claude Desktop?

Add the server entry to the Claude Desktop config file (claude_desktop_config.json) using {"command": "uvx", "args": ["mcp-pyautogui-server"]} for published servers.

How can I debug the server?

Use the MCP Inspector by running npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-pyautogui-server run mcp-pyautogui-server and then access the displayed URL in a browser.

Comments

More Other MCP servers