### Install development dependencies for testing Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/tests/README.md Installs the MCP Remote macOS Use package with necessary development dependencies using either pip or uv, preparing the environment for running tests. ```bash pip install -e ".[dev]" ``` ```bash uv pip install -e ".[dev]" ``` -------------------------------- ### Clone MCP Remote macOS Use Repository Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md Instructions to clone the mcp-remote-macos-use Git repository from GitHub and navigate into its directory, preparing for local development or setup. ```bash git clone https://github.com/yourusername/mcp-remote-macos-use.git cd mcp-remote-macos-use ``` -------------------------------- ### Clone MCP Server Repository Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md This command clones the `mcp-remote-macos-use` repository from GitHub, allowing developers to access the source code for local development and contributions. Ensure you have Git installed on your system before executing this command. ```bash git clone ``` -------------------------------- ### Create Docker Buildx Builder Instance Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md Command to create a new Docker Buildx builder instance. This is a prerequisite for building multi-platform Docker images, and the '--use' flag sets it as the current active builder. ```bash docker buildx create --use ``` -------------------------------- ### Build and Push Multi-Platform Docker Image with Buildx Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md Command to build and push a Docker image for multiple target platforms (linux/amd64, linux/arm64) using Docker Buildx. The image is tagged and pushed to a specified registry. ```bash docker buildx build --platform linux/amd64,linux/arm64 -t buryhuang/mcp-remote-macos-use:latest --push . ``` -------------------------------- ### Configure Claude Desktop to Use MCP Server Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md This JSON configuration snippet shows how to add the `mcp-remote-macos-use` server to Claude Desktop's `mcpServers` settings. It specifies the Docker command and arguments, including environment variables for macOS username, password, and host, to run the server. Remember to replace placeholder values with your actual macOS credentials and hostname/IP. ```json { "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" ] } } } ``` -------------------------------- ### Inspect Multi-Platform Docker Image with Buildx Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md Command to verify that a multi-platform Docker image has been successfully built and pushed. It uses 'docker buildx imagetools inspect' to check the image's manifest and supported platforms. ```bash docker buildx imagetools inspect buryhuang/mcp-remote-macos-use:latest ``` -------------------------------- ### Execute unit tests using pytest Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/tests/README.md Runs all unit tests for the MCP Remote macOS Use package using the pytest test runner. ```bash pytest ``` -------------------------------- ### Build Docker Image for MCP Remote macOS Use Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md Command to build the Docker image for the MCP Remote macOS Use application. The image is tagged as 'mcp-remote-macos-use' for easy reference and deployment. ```bash docker build -t mcp-remote-macos-use . ``` -------------------------------- ### Remote macOS Control Tools API Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md API documentation for the remote macOS control tools provided by the server. These tools enable various interactions with a remote macOS machine, using environment variables for connection details instead of direct parameters. ```APIDOC remote_macos_get_screen: Connect to a remote macOS machine and get a screenshot of the remote desktop. Uses environment variables for connection details. remote_macos_send_keys: Send keyboard input to a remote macOS machine. Uses environment variables for connection details. remote_macos_mouse_move: Move the mouse cursor to specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details. remote_macos_mouse_click: Perform a mouse click at specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details. remote_macos_mouse_double_click: Perform a mouse double-click at specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details. remote_macos_mouse_scroll: Perform a mouse scroll at specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details. remote_macos_open_application: Opens/activates an application and returns its PID for further interactions. remote_macos_mouse_drag_n_drop: Perform a mouse drag operation from start point and drop to end point on a remote macOS machine, with automatic coordinate scaling. ``` -------------------------------- ### macOS Remote Desktop Authentication Protocols and Security Source: https://github.com/baryhuang/mcp-remote-macos-use/blob/main/README.md Details on the authentication protocols used by macOS Remote Desktop across different macOS versions. This table outlines supported encryption methods, authentication types, and protocol versions, highlighting security considerations for remote access. ```APIDOC | 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 | ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.