
MCP Server - Remote MacOs Use

2025.04.16
56
Python远程控制自动化桌面任务浏览器自动化
MCP Server - Remote MacOs Use 是一个开源MCP服务器,使AI能够完全控制远程macOS系统。它是OpenAI Operator的直接替代品,专门为具有完整桌面功能的自主AI代理优化,无需额外软件安装。该服务器支持通过MCP工具进行远程MacOS控制,包括获取屏幕截图、发送键盘输入、发送鼠标输入和缩放坐标等功能。
View on GitHub
Overview
基本能力
产品定位
MCP Server - Remote MacOs Use 是一个开源MCP服务器,使AI能够完全控制远程macOS系统。它是OpenAI Operator的直接替代品,专门为具有完整桌面功能的自主AI代理优化,无需额外软件安装。
核心功能
- 无额外API成本:使用现有的Claude Pro计划免费处理屏幕
- 最小化设置:只需在目标Mac上启用屏幕共享,无需额外软件
- 通用兼容性:适用于所有macOS版本,当前和未来
- 原生macOS体验:AI可以在macOS环境中流畅操作
- 开放架构:与任何MCP客户端兼容,无缝集成OpenAI、Anthropic或其他LLM提供商
- 轻松部署:目标机器上无需设置,只需启用屏幕共享
- 简化引导过程:利用Claude Desktop的精美UI,无需开发风格的Python界面
适用场景
- 远程控制macOS系统
- 自动化桌面任务
- 研究Twitter并发布Twitter
- 使用CapCut创建短视频
工具列表
- remote_macos_get_screen:获取远程桌面的屏幕截图
- remote_macos_send_keys:发送键盘输入
- remote_macos_send_mouse:发送鼠标输入
- remote_macos_scale_coordinates:在不同屏幕尺寸之间缩放坐标
常见问题解答
- 认证支持:仅支持Apple认证(协议30)
- 安全注意事项:始终使用安全、认证的连接访问远程MacOs机器。此工具仅应用于您信任并有权访问的服务器。
使用教程
使用依赖
- 在MacOs上启用屏幕共享:Enable Screen Sharing on MacOs
- 连接到远程MacOs:Connect to your remote MacOs
- 为本地Mac安装Docker Desktop:Install Docker Desktop for local Mac
安装教程
- 将MCP服务器添加到Claude Desktop:Add this MCP server to Claude Desktop
- 配置Claude Desktop以使用Docker镜像:
{
"mcpServers": {
"remote-macos-use": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MACOS_USERNAME=your_macos_username",
"-e",
"MACOS_PASSWORD=your_macos_password",
"-e",
"MACOS_HOST=your_macos_hostname_or_ip",
"--rm",
"buryhuang/mcp-remote-macos-use:latest"
]
}
}
}
调试方式
- 克隆仓库:
git clone https://github.com/yourusername/mcp-remote-macos-use.git
cd mcp-remote-macos-use
- 构建Docker镜像:
docker build -t mcp-remote-macos-use .
- 发布Docker镜像:
docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm64 -t buryhuang/mcp-remote-macos-use:latest --push .
docker buildx imagetools inspect buryhuang/mcp-remote-macos-use:latest