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)
- 鼠标点击:在当前位置或指定位置进行点击操作
- 鼠标拖拽:从起始位置拖拽到目标位置
- 鼠标滚动:执行向上或向下的滚动操作
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Converts Figma frames into front-end code for various mobile frameworks.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
Reviews
user_lVnPtkRd
As a dedicated user of the localplay-mcp-server by hfyydd, I am thoroughly impressed. The server's functionality is seamless and reliable, offering efficient local playback capabilities which elevate my media experience. The ease of integration and robust performance are commendable. Check it out at https://github.com/hfyydd/localplay-mcp-server!