Cover image
Try Now
2025-03-30

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

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

服务器功能

当前服务器实现了以下鼠标控制功能:

  • 移动鼠标:将鼠标移动到指定坐标位置
  • 鼠标点击:在当前或指定位置执行鼠标点击操作
  • 鼠标拖拽:从一个位置拖拽到另一个位置
  • 鼠标滚动:执行鼠标滚轮滚动操作

使用示例

  1. 移动鼠标:将鼠标移动到指定坐标,例如 (100, 200)
  2. 鼠标点击:在当前位置或指定位置进行点击操作
  3. 鼠标拖拽:从起始位置拖拽到目标位置
  4. 鼠标滚动:执行向上或向下的滚动操作

相关推荐

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 田中 楓太
  • A virtual science instructor for engaging and informative lessons.

  • ariofarmani
  • Test repository for GitHub MCP server functionality

  • 1Panel-dev
  • 💬 MaxKB is an open-source AI assistant for enterprise. It seamlessly integrates RAG pipelines, supports robust workflows, and provides MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

    Reviews

    3 (1)
    Avatar
    user_lVnPtkRd
    2025-04-16

    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!