localplay-mcp

Integrations

  • Enables deployment of the MCP server in a containerized environment, with instructions provided for building and running the server as a Docker container

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
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

control mouse on your local computer

  1. 安装 | Installation
    1. 使用方法 | Usage
      1. 启动服务器 | Starting the Server
      2. 使用Docker | Using Docker
      3. 服务器功能 | Server Features
      4. 使用示例 | Usage Examples

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A Windows control server built using nut.js and Model Context Protocol (MCP), providing programmatic control over Windows system operations including mouse, keyboard, window management, and screen capture functionality.
      Last updated -
      482
      68
      TypeScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      Provides quick access to local system utilities including time/date, hostname, public IP, directory listings, Node.js version, and port usage through an MCP server interface compatible with Cursor and other MCP clients.
      Last updated -
      2
      JavaScript
      MIT License
      • Apple
      • Linux
    • -
      security
      -
      license
      -
      quality
      A tool that enables automated browser control using Pyppeteer within the MCP framework, allowing navigation, screenshot capture, and element interaction with websites.
      Last updated -
      Python
      Apache 2.0
    • -
      security
      A
      license
      -
      quality
      Provides automated GUI testing and control capabilities through an MCP server that enables mouse movements, keyboard input, screen captures, and image recognition across Windows, macOS, and Linux.
      Last updated -
      6
      Python
      MIT License
      • Apple
      • Linux

    View all related MCP servers

    ID: 4pfczhckz6