Files
zeekay 45e44d5704 Initial commit: MCP Server for Remote macOS Control
- Refactored package structure from mcp_remote_macos_use to mcp_remote_macos
- Updated Docker configuration to use uv package manager per Hanzo standards
- Fixed CI/CD workflows for multi-platform Docker image publishing
- Added compose.yml for easier deployment
- Added .env.example for configuration reference
- All tests passing (32/32)
- Ready for Docker Hub publishing with hanzoai/mcp-remote-macos:latest
2025-11-17 13:34:26 -08:00
..

Tests for MCP Remote macOS Use

This directory contains unit tests for the MCP Remote macOS Use package.

Running Tests

To run the tests, you'll need to install the package with development dependencies:

pip install -e ".[dev]"

Or using UV (recommended):

uv pip install -e ".[dev]"

Then run the tests using pytest:

pytest

Test Structure

  • test_vnc_client.py: Tests for the VNC client module
  • test_action_handlers.py: Tests for the action handlers module
  • test_server.py: Tests for the server module
  • test_init.py: Tests for the package initialization

Environment Variables

The tests use mock environment variables for testing. In a real environment, you'll need to set these variables:

  • MACOS_HOST: Hostname or IP address of the macOS machine
  • MACOS_PORT: Port for VNC connection (default: 5900)
  • MACOS_USERNAME: Username for macOS authentication (optional)
  • MACOS_PASSWORD: Password for macOS authentication (required)
  • VNC_ENCRYPTION: Encryption preference (default: "prefer_on")