Token导航 LogoToken导航TokenDH.com
Localplay MCP Server logo
AI代理stdio官方级别未说明来源级核验

Localplay MCP Server

MCP Server

用于本地运行MCP服务器,实现鼠标移动、点击、拖拽和滚动功能的开发工具。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
本地服务器Python自动化本地服务

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

hfyydd

提供方

hfyydd

最后核验

2026/5/17 20:38

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install "mcp[cli]" pyautogui

详细介绍

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]" pyautogui

使用方法 | 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

  1. 移动鼠标 | Move Mouse: 将鼠标移动到指定坐标,例如 (100, 200) | Move the mouse to specified coordinates, e.g. (100, 200)
  2. 鼠标点击 | Mouse Click: 在当前位置或指定位置进行点击操作 | Click at the current or specified position
  3. 鼠标拖拽 | Mouse Drag: 从起始位置拖拽到目标位置 | Drag from a starting position to a target position
  4. 鼠标滚动 | 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.

目录标签

目录标签

本地服务器Python自动化本地服务鼠标控制本地部署MCP协议自动化工具

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

部署方式(deploymentType,部署类型)

local-only

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononelocal-only

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP