pyautogui_mcp_server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pyautogui_mcp_servertake a screenshot of the entire screen"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP server for simplest GUI agent đšī¸đ¤
pyautogui_mcp_server packages a Streamable HTTP MCP server for running Python code with pyautogui instrumentation.
It is designed for GUI automation workflows where plain pyautogui execution is not enough. The package adds MCP-friendly output handling, and richer screenshots.
⨠What this package adds
Compared with running raw pyautogui calls directly, this library adds extra effort in the following areas:
Shared Python globals across tool calls.
Captured
stdout,stderr, and final expression results in one MCP response stream.Inline screenshot delivery as MCP image content instead of requiring manual file handling.
Annotated mouse-operation previews that show the target point or path before the action runs.
Screenshot normalization so captured images line up better with logical screen coordinates.
Related MCP server: LLM Python Code Sandbox
đ ī¸ Tool response example
<stdout>
Cut the right rope by dragging left to right through it.
</stdout>
<pyautogui-mcp.dragTo x=860 y=430 duration=0.2 button='left'
time_offset="T+1.1s" pyautogui.size=(1440, 900)></pyautogui-mcp.dragTo>đĻ Installation
pip install pyautogui_mcp_serverFor local development:
pip install -e .[dev]đ Run the MCP server
Use the module entrypoint:
python -m pyautogui_mcp_server --host 127.0.0.1 --port 9300Or use the installed console script:
pyautogui-mcp-server --port 9300Show CLI help:
python -m pyautogui_mcp_server --helpThe server exposes a run_python_with_pyautogui MCP tool that executes Python with instrumented pyautogui behavior.
đ License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceExposes PyAutoGUI desktop automation functions as MCP tools, enabling mouse control, keyboard input, and screenshot capture.4BSD 3-Clause
- Flicense-qualityDmaintenanceEnables LLMs to execute Python code in isolated sandboxes with file operations and MCP integration, supporting multi-round execution and plot capture.1
- Flicense-qualityBmaintenanceEnables GUI automation by capturing screen, controlling mouse/keyboard, and targeting controls via accessibility layer; optionally supports voice commands and synthesis.
- Flicense-qualityDmaintenanceEnables coding agents to execute Python code, run script files, and install pip packages locally via MCP.
Related MCP Connectors
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/on-panda/pyautogui_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server