Cover image
Try Now
2025-04-13

AI代理控制远程MACOS系统的零安装解决方案。仅使用内置屏幕共享的完整桌面功能,无需额外的软件。与克劳德(Claude)和任何MCP客户端合作,为本机MacOS提供了最少的设置经验,并且没有其他API成本。

3 years

Works with Finder

2

Github Watches

4

Github Forks

55

Github Stars

MCP Server - Remote MacOs Use

The first open-source MCP server that enables AI to fully control remote macOS systems.

A direct alternative to OpenAI Operator, optimized specifically for autonomous AI agents with complete desktop capabilities, requiring no additional software installation.

Docker Pulls License: MIT

Showcases

  • Research Twitter and Post Twitter(https://www.youtube.com/watch?v=--QHz2jcvcs) image

  • Use CapCut to create short highlight video(https://www.youtube.com/watch?v=RKAqiNoU8ec) image

  • AI Recruiter: Automated candidate information collection, qualifying applications and sending screening sessions using Mail App

  • AI Marketing Intern: LinkedIn engagement - automated following, liking, and commenting with relevant users

  • AI Marketing Intern: Twitter engagement - automated following, liking, and commenting with relevant users

To-Do List (Prioritized)

  1. Performance Optimization - Match speed of Ubuntu desktop alternatives
  2. Apple Scripts Generation - Reduce execution time while maintaining flexibility
  3. VNC Cursor Visibility - Improve debugging and demo experience

We welcome contributions!

Features

  • No Extra API Costs: Free screen processing with your existing Claude Pro plan
  • Minimal Setup: Just enable Screen Sharing on the target Mac – no additional software needed
  • Universal Compatibility: Works with all macOS versions, current and future

Why We Built This

Native macOS Experience Without Compromise

The macOS native ecosystem remains unmatched in user experience today and will continue to be the gold standard for years to come. This is where human capabilities truly thrive, and now your AI can operate in this environment with the same fluency.

Open Architecture By Design

  • Universal LLM Compatibility: Work with any MCP Client of your choice
  • Model Flexibility: Seamlessly integrate with OpenAI, Anthropic, or any other LLM provider
  • Future-Proof Integration: Designed to evolve with the MCP ecosystem

Effortless Deployment

  • Zero Setup on Target Machines: No background applications or agents needed on macOS
  • Screen Sharing is All You Need: Control any Mac with Screen Sharing enabled
  • Eliminate Backend Complexity: Unlike other solutions that require running Python applications or background services

Streamlined Bootstrap Process

  • Leverage Claude Desktop's Polished UI: No need for developer-style Python interfaces
  • Intuitive User Experience: Interact with your AI-controlled Mac through a familiar, user-friendly interface
  • Instant Productivity: Start working immediately without configuration hassles

Architecture

remote_macos_use_system_architecture

Installation

{
  "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",
        "-e",
        "LIVEKIT_API_KEY=your_livekit_api_key",
        "-e",
        "LIVEKIT_API_SECRET=your_livekit_api_secret",
        "-e",
        "LIVEKIT_HOST=your_livekit_host",
        "--rm",
        "buryhuang/mcp-remote-macos-use:latest"
      ]
    }
  }
}

WebRTC Support via LiveKit

This server now includes WebRTC support through LiveKit integration, enabling:

  • Low-latency real-time screen sharing
  • Improved performance and responsiveness
  • Better network efficiency compared to traditional VNC
  • Automatic quality adaptation based on network conditions

To use WebRTC features, you'll need to:

  1. Set up a LiveKit server or use LiveKit Cloud
  2. Configure the LiveKit environment variables as shown in the configuration example above

Developer Instruction

Clone the repo

# Clone the repository
git clone https://github.com/yourusername/mcp-remote-macos-use.git
cd mcp-remote-macos-use

Building the Docker Image

# Build the Docker image
docker build -t mcp-remote-macos-use .

Cross-Platform Publishing

To publish the Docker image for multiple platforms, you can use the docker buildx command. Follow these steps:

  1. Create a new builder instance (if you haven't already):

    docker buildx create --use
    
  2. Build and push the image for multiple platforms:

    docker buildx build --platform linux/amd64,linux/arm64 -t buryhuang/mcp-remote-macos-use:latest --push .
    
  3. Verify the image is available for the specified platforms:

    docker buildx imagetools inspect buryhuang/mcp-remote-macos-use:latest
    

Usage

The server provides Remote MacOs functionality through MCP tools.

Tools Specifications

The server provides four main tools for remote MacOS control:

remote_macos_get_screen

Get a screenshot of the remote desktop. Example:

{
  "host": "remote-macos-hostname-or-ip",
  "port": 5900,
  "password": "remote-macos-password",
  "username": "remote-macos-username",
  "encryption": "prefer_on"
}

remote_macos_send_keys

Send keyboard input. Example:

{
  "host": "remote-macos-hostname-or-ip",
  "password": "remote-macos-password",
  "text": "Hello world!",
  "special_key": "enter",
  "key_combination": "cmd+c"
}

remote_macos_send_mouse

Send mouse input. Example:

{
  "host": "remote-macos-hostname-or-ip",
  "password": "remote-macos-password",
  "x": 500,
  "y": 300,
  "button": 1,
  "action": "click"
}

remote_macos_scale_coordinates

Scale coordinates between different screen sizes. Example:

{
  "host": "remote-macos-hostname-or-ip",
  "password": "remote-macos-password",
  "source_width": 1366,
  "source_height": 768,
  "x": 500,
  "y": 300
}

All tools support Apple Authentication (protocol 30) and require at minimum a host and password.

Limitations

  • Authentication Support:
    • Only Apple Authentication (protocol 30) is supported

Security Note

https://support.apple.com/guide/remote-desktop/encrypt-network-data-apdfe8e386b/mac https://cafbit.com/post/apple_remote_desktop_quirks/

We only support protocol 30, which uses the Diffie-Hellman key agreement protocol with a 512-bit prime. This protocol is used by macOS 11 to macOS 12 when communicating with OS X 10.11 or earlier clients.

Here's the information converted to a markdown table:

macOS version running Remote Desktop macOS client version Authentication Control and Observe Copy items or install package All other tasks Protocol Version
macOS 13 macOS 13 2048-bit RSA host keys 2048-bit RSA host keys 2048-bit RSA host keys to authenticate, then 128-bit AES 2048-bit RSA host keys 36
macOS 13 macOS 10.12 Secure Remote Password (SRP) protocol for local only. Diffie-Hellman (DH) if bound to LDAP or macOS server is version 10.11 or earlier SRP or DH,128-bit AES SRP or DH to authenticate, then 128-bit AES 2048-bit RSA host keys 35
macOS 11 to macOS 12 macOS 10.12 to macOS 13 Secure Remote Password (SRP) protocol for local only, Diffie-Hellman if bound to LDAP SRP or DH 1024-bit, 128-bit AES 2048-bit RSA host keys macOS 13 to macOS 10.13 2048-bit RSA host keys macOS 10.13 or later 33
macOS 11 to macOS 12 OS X 10.11 or earlier DH 1024-bit DH 1024-bit, 128-bit AES Diffie-Hellman Key agreement protocol with a 512-bit prime Diffie-Hellman Key agreement protocol with a 512-bit prime 30

Always use secure, authenticated connections when accessing remote remote MacOs machines. This tool should only be used with servers you trust and have permission to access.

License

See the LICENSE file for details.

相关推荐

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

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

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

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

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

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

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

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • appcypher
  • 很棒的MCP服务器 - 模型上下文协议服务器的策划列表

    Reviews

    3 (1)
    Avatar
    user_5LFVRox9
    2025-04-18

    As a dedicated user of the mcp-remote-macos-use tool, I am thoroughly impressed by its seamless functionality and ease of use. Developed by baryhuang, this tool has significantly improved my remote management efficiency on macOS. The intuitive design and robust performance make it an indispensable resource for anyone working in a remote environment. Highly recommended!