localplay-mcp
Enables deployment of the MCP server in a containerized environment, with instructions provided for building and running the server as a Docker container
Click on "Deploy 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., "@localplay-mcpclick on the submit button"
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.
LocalPlay MCP Server
用于本地运行 MCP (Model Context Protocol) 服务器的项目,实现鼠标控制功能。
A project for running a local MCP (Model Context Protocol) server that implements mouse control functionality.
安装 | Installation
使用 uv 安装依赖:
Install dependencies using uv:
uv add "mcp[cli]" pyautogui或者使用 pip:
Or using pip:
pip install "mcp[cli]" pyautoguiRelated MCP server: Remote Control MCP (Electrobun)
使用方法 | Usage
启动服务器 | Starting the Server
运行以下命令启动 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 | Using Docker
您也可以使用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服务器功能 | Server Features
当前服务器实现了以下鼠标控制功能:
The server currently implements the following mouse control features:
移动鼠标 | Move Mouse: 将鼠标移动到指定坐标位置 | Move the mouse to a specified coordinate position
鼠标点击 | Mouse Click: 在当前或指定位置执行鼠标点击操作 | Perform mouse click operations at the current or specified position
鼠标拖拽 | Mouse Drag: 从一个位置拖拽到另一个位置 | Drag from one position to another
鼠标滚动 | Mouse Scroll: 执行鼠标滚轮滚动操作 | Perform mouse wheel scrolling operations
使用示例 | Usage Examples
移动鼠标 | Move Mouse: 将鼠标移动到指定坐标,例如 (100, 200) | Move the mouse to specified coordinates, e.g. (100, 200)
鼠标点击 | Mouse Click: 在当前位置或指定位置进行点击操作 | Click at the current or specified position
鼠标拖拽 | Mouse Drag: 从起始位置拖拽到目标位置 | Drag from a starting position to a target position
鼠标滚动 | Mouse Scroll: 执行向上或向下的滚动操作 | Perform scrolling operations up or down
许可证 | License
本项目基于MIT许可证开源。详情请查看LICENSE文件。
This project is open-sourced under the MIT License. See the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely control paired computers with ReMCP.
Securely control computers you explicitly pair through files, terminals, processes, screenshots, desktop UI/input, clipboard, browser automation, diagnostics, and document tools.
Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.
Turns a phone into a camera+Bluetooth remote so AI assistants can see and control any PC.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive computer control capabilities including mouse and keyboard automation, screen capture, OCR text recognition, and window management through MCP protocol.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables remote desktop control with screen capture and mouse/keyboard simulation through an MCP server exposed via a WebSocket tunnel.-
- AlicenseNot gradedqualityCmaintenanceEnables remote control of a computer connected to a JetKVM device by capturing its screen and sending mouse, keyboard, and scroll inputs via Playwright and the JetKVM's local Web UI.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to remotely control computers via VNC, including mouse movement, clicking, keyboard input, text entry, and screen capture across Windows, Linux, and macOS systems.6266 npmMIT