Robotgo Mcp

by lian-yang

200 downloads
Not rated
GitHub

About

一个基于 Go 语言的 MCP (Model Context Protocol) 服务器,使用 robotgo 自动化库实现桌面自动化功能。这个服务允许 AI 客户端(如 Claude Desktop)通过 MCP 协议控制鼠标、键盘、屏幕等桌面元素。

Details

Author
lian-yang
Downloads
200
Categories
Other

- Mouse control: move, click, scroll, drag, and get position.
- Keyboard control: type text, tap single keys, execute hotkeys, press/release.
- Screen operations: capture full or partial screen, get dimensions, read pixel colors.
- Clipboard: read, write, and clear contents.
- Process and window management: list, find, kill processes; activate, close, minimize, maximize, and get window titles.
- Dual transport: stdio for local clients and SSE with Bearer token authentication for remote access.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Robotgo Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Build from source: git clone https://github.com/lian-yang/robotgo-mcp.git && cd robotgo-mcp && go build -o robotgo-mcp ./cmd/robotgo-mcp. Run with --transport=stdio for local use (recommended for Claude Desktop) or --transport=sse for remote access (optionally with --auth-token). Configure Claude Desktop by adding the command to its MCP servers config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json). Use the --port, --host, --log-level, and --debug flags to customize behavior.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "robotgo mcp": {
            "robotgo": {
                "command": "robotgo-mcp",
                "args": [
                    "--transport=stdio"
                ]
            }
        }
    }
}

McpServers

{
    "robotgo": {
        "command": "robotgo-mcp",
        "args": [
            "--transport=stdio"
        ]
    }
}

RobotGo MCP Server

一个基于 Go 语言的 MCP (Model Context Protocol) 服务器,使用 robotgo 自动化库实现桌面自动化功能。这个服务允许 AI 客户端(如 Claude Desktop)通过 MCP 协议控制鼠标、键盘、屏幕等桌面元素。

✨ 特性

- 🖱️ 鼠标控制: 移动、点击、滚动、拖拽 - ⌨️ 键盘控制: 输入文本、按键、组合键 - 📸 屏幕操作: 截图、获取屏幕尺寸、获取像素颜色 - 📋 剪贴板: 读写剪贴板内容 - 🔄 进程管理: 列出、查找、终止进程 - 🪟 窗口管理: 获取、激活、关闭、最小化、最大化窗口 - 🔌 双传输模式: 支持 stdio 和 SSE 传输 - 🔐 SSE 认证: Bearer Token 认证支持 - 📊 结构化日志: JSON 格式日志输出

🚀 快速开始

安装

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.