LocalPlay MCP Server
用于本地运行 MCP (Model Context Protocol ) 服务器的项目,实现鼠标控制功能。
安装
使用 uv 安装依赖:
uv add "mcp[cli]" pyautogui
或者使用 pip:
pip install "mcp[cli]" pyautogui
使用方法
启动服务器
运行以下命令启动 MCP 开发服务器:
"localplay-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/localplay-mcp-server",
"run",
"server.py"
]
}
服务器功能
当前服务器实现了以下鼠标控制功能:
- 移动鼠标:将鼠标移动到指定坐标位置
- 鼠标点击:在当前或指定位置执行鼠标点击操作
- 鼠标拖拽:从一个位置拖拽到另一个位置
- 鼠标滚动:执行鼠标滚轮滚动操作
使用示例
- 移动鼠标:将鼠标移动到指定坐标,例如 (100, 200)
- 鼠标点击:在当前位置或指定位置进行点击操作
- 鼠标拖拽:从起始位置拖拽到目标位置
- 鼠标滚动:执行向上或向下的滚动操作
localplay-mcp
Project Details
- hfyydd/localplay-mcp-server
- Last Updated: 3/30/2025
Recomended MCP Servers
The Joomla MCP Server facilitates interaction between AI assistants (like Claude) and Joomla websites through the Joomla Web...
The implementation of Model Context Protocol (MCP) server for VictoriaMetrics
A lightweight next-gen data explorer - Postgres, MySQL, SQLite, MongoDB, Redis, MariaDB, Elastic Search, and Clickhouse with Chat...
A Model Context Protocol server for connecting LLM to databases via JDBC.
individual test mcp server
A MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with...
MCP Server for the Mapbox API.
MCP Server for journaling
Augment LLMs with Todoist features





