Skip to main content

RealTimeX MCP server for deterministic GUI control via PyAutoGUI

Project description

realtimex-pyautogui-server

RealTimeX’s MCP server for deterministic desktop control with PyAutoGUI. This fork adapts the reference implementation with production defaults, a dedicated wait tool, and safeguards that prevent accidental keystrokes during pauses.

Features

  • Mouse movement, clicks, and drag support
  • Keyboard typing and hotkeys
  • Screen size, pixel, and screenshot utilities
  • Dedicated wait(seconds) tool for precise pauses without injecting keystrokes
  • Automatically releases modifier keys before typing to prevent stuck-shift issues
  • Global PyAutoGUI defaults tuned for automation (PAUSE, FAILSAFE)

Configuration

  • Set REALTIMEX_FAILSAFE to 0 or 1 (default 1) to control PyAutoGUI’s failsafe corner abort.
  • Set REALTIMEX_PAUSE to a float (seconds) to override the global pause between PyAutoGUI actions (default 0.3).

Usage

uvx realtimex-pyautogui-server

The server communicates over stdio and is compatible with MCP clients like Claude Desktop and the MCP Inspector.

Development

uv sync
uv run ruff check
uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

realtimex_pyautogui_server-0.1.4.dev3.tar.gz (97.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file realtimex_pyautogui_server-0.1.4.dev3.tar.gz.

File metadata

File hashes

Hashes for realtimex_pyautogui_server-0.1.4.dev3.tar.gz
Algorithm Hash digest
SHA256 52ef979f55fb9d4d67579b17a07bdf7a4e39898c1d376272dd45bdaea99eaa31
MD5 646e579d68cb1994f402bc6cbc30b011
BLAKE2b-256 2e972d7f7f67e0ee3d3b749290237e58c0872c7b47468b7fa0aae5331b58edfe

See more details on using hashes here.

File details

Details for the file realtimex_pyautogui_server-0.1.4.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for realtimex_pyautogui_server-0.1.4.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 9df6c703ebfe06e3c2a9178efbd0419f4b1d601f24365848050321bf0fb6b119
MD5 578805f104f7be3e550b320476a2757c
BLAKE2b-256 836b78a63d8a7c55121ae400b963c3981c8ed8ced52b9882886bfb8ae2dc0c65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page