ScreenPilot is an MCP (Model Context Protocol) server designed to give large language models (LLMs) full control over your device. By providing a screen automation toolkit, it enables AI to control and interact with graphical user interfaces in the same way as a user, thereby enabling various automated operations. This project is suitable for automation tasks, educational purposes, and entertainment.
Main capabilities include:
- Screen capture and analysis: Take screenshots and obtain screen information.
- Mouse control: Move the mouse and perform click operations.
- Keyboard operations: Enter text, press keys, and use hotkey combinations.
- Scrolling: Scroll in different directions and scroll to a specific position.
- Element detection: Check whether specific elements exist on the screen and wait for them to appear.
- Action sequences: Execute multiple actions in order.
How to use:
- Install Python 3.12.
- Clone the repository: git clone https://github.com/Mtehabsim/ScreenPilot.git
- Create a virtual environment.
- Activate the virtual environment.
- Install the required packages: pip install -r requirements.txt
- Open Claude AI Desktop.
- Go to File -> Settings -> Developer -> Edit Config.
- Open the configuration file and paste the configuration content, replacing "pathToEnv\venv\Scripts\python.exe" with the full path to your python.exe, and replacing "pathToProject\ScreenPilot\main.py" with the full path to your main.py file.
- Save the configuration file.
- Open Claude AI Desktop and go to File → Exit.
- You can now open Claude AI Desktop and enjoy ScreenPilot.
Applicable scenarios: automation, education, entertainment.
Limitations: Currently, the materials do not provide detailed information about fees, pricing, platform compatibility, effectiveness, etc.