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.dev0.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.dev0.tar.gz.

File metadata

File hashes

Hashes for realtimex_pyautogui_server-0.1.4.dev0.tar.gz
Algorithm Hash digest
SHA256 7fe002ac60df7b7fc1482f5470b138c46ae8bb366d2066b23411ed5442c8976b
MD5 95bf92a6c0e3993d26067176aacd74e9
BLAKE2b-256 902c13f0dbb98acaa26554267cf40c1b2766434b4e22a4a0f6a770013d4df77c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for realtimex_pyautogui_server-0.1.4.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 db3756e3cfb3c2becad98106a0a05a16e684f6e1fe91267bc687b3a0ecadba85
MD5 82f59d97929589b025e33596bb0cdd66
BLAKE2b-256 756abe1c0098e4a677330f9a0e6be876edd88718177b0e621bd374576fe69016

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