hrrrsn/mcp-vnc 是从 https://github.com/hrrrsn/mcp-vnc. 导入的 MCP 服务器候选
概览
hrrrsn/mcp-vnc 是从 https://github.com/hrrrsn/mcp-vnc. 导入的 MCP 服务器候选
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,使AI代理能够远程控制Windows、Linux、macOS或其他能运行VNC服务器的设备(别担心,应该没问题)。
🚀 快速启动
从 NPM 安装
从源码安装
⚙️ 配置
克劳德桌面
- 找到并打开你的Claude Desktop配置文件:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- 添加以下构型:
使用 NPM 安装:
源自源代码构建:
VS 代码
请参阅VS代码文档
🛠️ 可用工具
MCP 服务器提供以下远程桌面控制工具:
🖱️ 鼠标控制
vnc_click - 点击指定坐标
| 参数 | 必需 | 类型 | 描述 | 默认 |
|---|---|---|---|---|
x |
✅ | 数字 | X 坐标 | - |
y |
✅ | 数字 | Y 坐标 | - |
button |
❌ | 字符串 | 鼠标按钮(left,right,middle) |
left |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
💻 mcp-vnc
A Model Context Protocol (MCP) server that enables AI agents to remotely control Windows, Linux, macOS or anything else that can run a VNC server (don’t worry, it’s probably fine).
🚀 Quick Start
Install from NPM
npm install -g @hrrrsn/mcp-vnc
Install from Source
git clone https://github.com/hrrrsn/mcp-vnc
cd mcp-vnc
npm install
npm run build
⚙️ Configuration
Claude Desktop
-
Locate and open your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add the following configuration:
Using NPM Install:
{
"mcpServers": {
"vnc-controller": {
"type": "stdio",
"command": "mcp-vnc",
"env": {
"VNC_HOST": "192.168.1.100",
"VNC_PORT": "5900",
"VNC_PASSWORD": "your-vnc-password"
}
}
}
}
Built from Source:
{
"mcpServers": {
"vnc-controller": {
"type": "stdio",
"command": "node",
"args": ["dist/index.js"],
"cwd": "/path/to/mcp-vnc",
"env": {
"VNC_HOST": "192.168.1.100",
"VNC_PORT": "5900",
"VNC_PASSWORD": "your-vnc-password"
}
}
}
}
VS Code
Please refer to the VS Code documentation
🛠️ Available Tools
The MCP server provides the following tools for remote desktop control:
🖱️ Mouse Control
⌨️ Keyboard Control
| Parameter | Required | Type | Description |
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"vnc-controller": {
"type": "stdio",
"command": "mcp-vnc",
"env": {
"VNC_HOST": "192.168.1.100",
"VNC_PORT": "5900",
"VNC_PASSWORD": "your-vnc-password"
}
}
}
}