control mouse on your local computer
用于本地运行 MCP (Model Context Protocol) 服务器的项目,实现鼠标控制功能。
A project for running a local MCP (Model Context Protocol) server that implements mouse control functionality.
使用 uv
安装依赖:
Install dependencies using uv
:
uv add "mcp[cli]" pyautogui
或者使用 pip:
Or using pip:
pip install "mcp[cli]" pyautogui
运行以下命令启动 MCP 开发服务器:
Run the following command to start the MCP development server:
"localplay-mcp-server": { "command": "uv", "args": [ "--directory", "/path/localplay-mcp-server", "run", "server.py" ] }
您也可以使用Docker来运行服务器:
You can also use Docker to run the server:
# 构建Docker镜像 | Build the Docker image docker build -t localplay-mcp-server . # 运行Docker容器 | Run the Docker container docker run -p 8080:8080 localplay-mcp-server
当前服务器实现了以下鼠标控制功能:
The server currently implements the following mouse control features:
本项目基于MIT许可证开源。详情请查看LICENSE文件。
This project is open-sourced under the MIT License. See the LICENSE file for details.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!