Skip to main content
Glama
Parallels Pro MCP Server

Parallels Pro MCP Server

Parallels Pro MCP Server

CI License: MIT Python >=3.10

A Model Context Protocol (MCP) server for Parallels Desktop on macOS. It enables LLM agents—such as Claude Desktop, ChatGPT Codex, Cursor, and Antigravity—to discover, control, automate, and inspect Parallels virtual machines over standard MCP stdio.

Parallels Pro MCP Server MCP server – quality and maintenance score on Glama

Highlights

  • Full Lifecycle Management: Start, gracefully stop (ACPI), and suspend virtual machines.

  • Cross-Platform Guest Execution: Execute commands inside Windows, Linux, or macOS guests with explicit argument vectors (argv), avoiding host shell injection risks.

  • Readiness Probing: Automatically detects guest OS and polls until Parallels Tools and the guest execution layer respond.

  • Bi-Directional File Transfer: Stream files and directories directly between host and guest over stdin/stdout tar archives without requiring network mounts or SMB credentials (vm_copy_to_guest, vm_copy_from_guest).

  • Dynamic Host Folder Sharing: Mount and unmount host directories into guest VMs at runtime with read-only or read-write permissions (vm_share_folder, vm_unshare_folder).

  • Instant Sandboxing & Ephemeral Clones: Spin up fast linked clones in seconds for disposable agent test environments, and permanently delete sandboxes with confirmation (vm_clone, vm_delete).

  • Headless Execution & Network Simulation: Run VMs headlessly in the background, or simulate network degradation (edge, 3g, wifi, 100% packet loss, offline) for resilience testing (vm_set_headless, vm_set_network_condition).

  • Visual VM Inspection: Capture real-time screenshots of the VM display buffer for multimodal AI analysis (vm_screenshot).

  • Synthetic Input & Hotkeys: Send keyboard events and hotkey combinations (Ctrl+Alt+Del, Win+R, Enter, Esc) to interact with GUI dialogs and prompts (vm_send_keys).

  • Snapshot Lifecycle: List, create, safely revert, and delete snapshots with mandatory confirmation flags (confirm: true).

  • Guest Automation Optimization: Configure Windows Defender real-time scanning exclusions and set PowerShell execution policy to Bypass to eliminate EPERM file-locking issues during guest automation and builds (vm_optimize_windows).

  • Comprehensive Pre-Flight Diagnostics: Inspect host CLI availability, Parallels Pro license tier, network adapters, and guest OS responsiveness (vm_doctor, parallels-pro-mcp doctor).

  • In-Band Release Notes & Changelog: Inspect version updates, breaking changes, and recent features directly over MCP via the vm_changelog tool, the parallels://changelog MCP resource, or the CLI (parallels-pro-mcp changelog).


Related MCP server: VMware Workstation MCP

Tool Reference

Tool

Purpose

Confirmation Required

Annotations

vm_list

Discover registered VMs and power states

No

Read-Only

vm_status

Inspect detailed VM status, OS, tools version, and uptime

No

Read-Only

vm_start

Start a VM by name or UUID

No

Power Change

vm_stop

Request graceful ACPI shutdown (never force-kills)

No

Destructive

vm_suspend

Suspend VM and preserve guest memory

No

Destructive

vm_wait_ready

Poll until the guest OS answers execution probes

No

Readiness

vm_exec

Run an argv vector in the guest (supports custom user)

No (Privileged)

Guest Command

vm_copy_to_guest

Stream files or directories from host into guest filesystem

No

File Transfer

vm_copy_from_guest

Stream files or directories from guest onto host filesystem

No

File Transfer

vm_share_folder

Mount a host directory into the guest (rw or ro)

No

State Mutating

vm_unshare_folder

Remove a previously shared host directory

No

State Mutating

vm_clone

Clone a VM (fast linked clone or deep copy)

No

State Mutating

vm_delete

Permanently delete a VM and its disks

confirm: true

Destructive

vm_set_headless

Configure headless vs GUI window startup mode

No

State Mutating

vm_set_network_condition

Simulate degraded network profiles (3g, wifi, loss, off)

No

State Mutating

vm_screenshot

Capture current VM screen to host PNG

No

Read-Only

vm_send_keys

Send synthetic keystrokes or chords (e.g. ctrl+alt+del, win+r)

No

Guest Command

vm_optimize_windows

Add Windows Defender exclusions and set PowerShell ExecutionPolicy Bypass

No

State Mutating

vm_doctor

Pre-flight environment diagnostics for macOS host and guest OS

No

Read-Only

vm_changelog

Read release notes and updates over MCP

No

Read-Only

snapshot_list

List all snapshots for a VM

No

Read-Only

snapshot_create

Create a snapshot with name and optional description

confirm: true

State Mutating

snapshot_revert

Revert VM state to a specified snapshot

confirm: true

State Mutating

snapshot_delete

Permanently delete a snapshot to reclaim host disk space

confirm: true

State Mutating


MCP Resources

In addition to tools, the server exposes dynamic MCP resources for context-aware agents:

Resource URI

MIME Type

Description

parallels://changelog

text/markdown

Full release notes, version history, and recent updates from CHANGELOG.md.


Tool Usage & Cookbook

1. Instant Ephemeral Sandboxing

Create an isolated linked clone in seconds, run tests headlessly, and destroy it when finished:

# Spin up an instant linked clone sharing the base disk
vm_clone(vm="Windows 11", name="Win11-Worker-1", linked=True)

# Run headlessly without displaying a GUI window on the desktop
vm_set_headless(vm="Win11-Worker-1", enabled=True)

# Boot and wait until guest tools are ready
vm_start(vm="Win11-Worker-1")
vm_wait_ready(vm="Win11-Worker-1", timeout_s=120)

# ... perform testing or build tasks ...

# Graceful stop and permanent teardown
vm_stop(vm="Win11-Worker-1")
vm_delete(vm="Win11-Worker-1", confirm=True)

2. Bi-Directional File Transfer

Stream files or entire directory trees between host and guest over stdin/stdout tar archives without needing network mounts or SMB credentials:

# Push local build artifact into the guest Windows Temp folder
vm_copy_to_guest(
    vm="Windows 11",
    host_path="./dist/myapp.exe",
    guest_path=r"C:\Temp\myapp.exe"
)

# Pull test logs or crash dumps back onto the host
vm_copy_from_guest(
    vm="Windows 11",
    guest_path=r"C:\Temp\test-results",
    host_path="./reports/test-results"
)

3. Dynamic Host Folder Sharing

Mount local host directories directly into the VM at runtime:

# Share a host repository with read-only protection
vm_share_folder(
    vm="Windows 11",
    name="source_code",
    host_path="~/projects/myapp",
    mode="ro"
)

# Unmount the share when done
vm_unshare_folder(vm="Windows 11", name="source_code")

4. GUI Interaction & Screen Analysis

Interact with native GUI dialogs, installers, or Windows UAC prompts:

# Capture what is currently on the VM screen
vm_screenshot(vm="Windows 11")

# Press Win+R to open the Run dialog
vm_send_keys(vm="Windows 11", combination="win+r")

# Type a command and press Enter
vm_send_keys(vm="Windows 11", text="notepad.exe", keys=["enter"])

# Dismiss a modal with Escape
vm_send_keys(vm="Windows 11", keys=["esc"])

5. Network Simulation & Resilience Testing

Simulate poor connections or complete offline states:

# Throttle bandwidth and latency to emulate a 3G mobile link
vm_set_network_condition(vm="Windows 11", profile="3g")

# Simulate a network blackout (100% packet loss)
vm_set_network_condition(vm="Windows 11", profile="100-percent-loss")

# Restore normal network conditions
vm_set_network_condition(vm="Windows 11", profile="off")

6. Snapshot Baselines

Create rollback points before mutating system state:

# List snapshots
snapshot_list(vm="Windows 11")

# Create a checkpoint
snapshot_create(
    vm="Windows 11",
    name="clean-state",
    description="Clean baseline before test execution",
    confirm=True
)

# Revert back to the checkpoint
snapshot_revert(vm="Windows 11", snapshot="clean-state", confirm=True)

# Delete snapshot to reclaim host disk space
snapshot_delete(vm="Windows 11", snapshot="clean-state", confirm=True)

7. Environment Pre-Flight & Guest Health (vm_doctor)

Run host and guest diagnostics to verify licensing, CLI availability, and runtime readiness:

# Run pre-flight health check on host and Windows guest
report = vm_doctor(vm="Windows 11")
for check in report.host_checks + report.guest_checks:
    print(f"[{check.status}] {check.name}: {check.detail}")

8. Windows Guest Automation Optimization (vm_optimize_windows)

Configure Windows Defender real-time scanning exclusions and set PowerShell ExecutionPolicy to Bypass to eliminate EPERM file-locking during builds:

# Optimize Windows guest for fast builds and testing
vm_optimize_windows(
    vm="Windows 11",
    exclusion_paths=[r"C:\Temp", r"C:\workspace"],
    exclusion_processes=["node.exe", "npm.cmd", "pnpm.cmd", "git.exe"]
)

9. Query Release Notes & Version Updates (vm_changelog)

Retrieve the changelog programmatically to check for newly supported features or breaking changes:

# Read the latest release notes
latest_notes = vm_changelog(limit=1)
print(latest_notes)

Prerequisites

  1. macOS with Parallels Desktop Pro or Business Edition installed.

    • Note: Parallels Desktop Pro or Business is required for the prlctl command-line utility and prlctl exec guest execution.

  2. Parallels Tools installed inside each target guest VM.

  3. Python 3.10+ and uv (recommended).

Command-Line Interface & Environment Verification

Before connecting an MCP client, you can use the built-in CLI to run diagnostics, read release notes, or start the server:

# Run the pre-flight diagnostic doctor
uv run parallels-pro-mcp doctor
# (or via the standalone script: ./scripts/doctor.sh)

# Display recent release notes and version history
uv run parallels-pro-mcp changelog

# Check installed version
uv run parallels-pro-mcp --version

# Launch the MCP stdio server
uv run parallels-pro-mcp

Client Configuration

Claude Desktop

Add the following to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "parallels-pro": {
      "command": "uvx",
      "args": ["parallels-pro-mcp-server"],
      "env": {
        "PARALLELS_DEFAULT_VM": "Windows 11",
        "PARALLELS_ARTIFACT_DIR": "~/.cache/parallels-mcp"
      }
    }
  }
}

Or when running from a local checkout:

{
  "mcpServers": {
    "parallels-pro": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/parallels-pro-mcp-server",
        "parallels-pro-mcp"
      ]
    }
  }
}

Codex / ChatGPT Desktop

In ~/.codex/config.toml:

[mcp_servers.parallels-pro]
command = "uv"
args = ["run", "--project", "/path/to/parallels-pro-mcp-server", "parallels-pro-mcp"]
startup_timeout_sec = 30
tool_timeout_sec = 600

[mcp_servers.parallels-pro.env]
PARALLELS_DEFAULT_VM = "Windows 11"
PARALLELS_ARTIFACT_DIR = "~/.cache/parallels-mcp"

Google Antigravity (Gemini CLI)

Add the server to ~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "parallels-pro": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/parallels-pro-mcp-server",
        "parallels-pro-mcp"
      ],
      "env": {
        "PARALLELS_DEFAULT_VM": "Windows 11",
        "PARALLELS_ARTIFACT_DIR": "~/.cache/parallels-mcp"
      }
    }
  }
}

Or using uvx:

{
  "mcpServers": {
    "parallels-pro": {
      "command": "uvx",
      "args": ["parallels-pro-mcp-server"]
    }
  }
}

Environment Variables

Variable

Description

Default

PARALLELS_DEFAULT_VM

Fallback VM name or UUID used when a tool argument is omitted

None

PARALLELS_ARTIFACT_DIR

Host directory where captured screenshots and artifacts are stored

~/.cache/parallels-pro-mcp-server

PARALLELS_MCP_DEBUG

Enable verbose debug logging to stderr (1 or true)

0 (disabled)


Safe Operating Sequence for Agents

  1. Discover: Call vm_list to see available VMs and states.

  2. Inspect: Call vm_status(vm="...") to verify guest tools and power status.

  3. Optional Sandbox: For risky or destructive test sessions, call vm_clone(vm="...", name="agent-sandbox", linked=true) to create a fast, isolated linked clone.

  4. Power Up: If stopped, call vm_start followed by vm_wait_ready to ensure guest tools are responsive.

  5. Inspect Desktop: Call vm_screenshot to visually check if dialogs or login prompts are blocking the session.

  6. Snapshot Baseline: Call snapshot_create(vm="...", name="clean-baseline", confirm=true) before performing major tasks.

  7. Transfer & Execute: Use vm_copy_to_guest to stage scripts, vm_exec with explicit argv arrays to run commands, and vm_copy_from_guest to retrieve build artifacts.

  8. Teardown: Revert via snapshot_revert or destroy ephemeral sandboxes via vm_delete(vm="agent-sandbox", confirm=true).


Security Model

  • Automation Bridge: This server delegates guest execution directly to prlctl exec.

  • Privilege & Shared Folders: If your VM has Parallels Shared Folders enabled (e.g. \\Mac\Home on Windows or /media/psf/ on Linux), guest commands can read and write to your host filesystem. Always run only on trusted virtual machines.

  • Explicit Argv Only: vm_exec only accepts argument vectors (list[str]), preventing shell injection on the host.


Development & Testing

# Clone the repository
git clone https://github.com/PopBot/parallels-pro-mcp-server.git
cd parallels-pro-mcp-server

# Install dependencies and sync environment
uv sync

# Run diagnostic doctor
uv run parallels-pro-mcp doctor

# Run test suite with test coverage reporting
uv run coverage run --source=parallels_mcp -m unittest discover -s tests
uv run coverage report -m

For instructions on semantic versioning, GitHub Releases, and PyPI distribution, see the Releasing & Publishing Guide.


License

This project is licensed under the MIT License.


Not affiliated with Parallels International GmbH.

Built with ♥️ as a collaboration between human and AI.

Available Tools

24 tools
snapshot_createCreate Parallels snapshotB
Destructive

Create a snapshot of the current VM state after explicit confirmation.

Inputs: vm (required), name (required), confirm, description. Returns: vm, uuid, action, message, +1 more

snapshot_deleteDelete Parallels snapshotA
Destructive

Permanently delete a snapshot to free host disk space.

Args: vm: The VM name or UUID. snapshot: Snapshot name or UUID to delete. delete_children: If true, also delete child snapshots descended from this one. confirm: Must be explicitly set to true.

Inputs: vm (required), snapshot (required), confirm, delete_children. Returns: vm, uuid, action, message, +1 more

snapshot_listList Parallels snapshotsA
Read-onlyIdempotent

List snapshots for a VM without changing state.

Inputs: vm (required). Returns: result

snapshot_revertRevert Parallels snapshotB
Destructive

Revert guest state to a snapshot after explicit confirmation.

Inputs: vm (required), snapshot (required), confirm. Returns: vm, uuid, action, message, +1 more

vm_changelogGet Parallels MCP server changelog and release notesA
Read-onlyIdempotent

Read the release notes, new features, and bug fixes for parallels-pro-mcp-server.

Args: latest_only: If true, returns only the latest release section. If false, returns the complete changelog.

Inputs: latest_only. Returns: result

vm_cloneClone Parallels VMA
Destructive

Clone an existing VM to quickly spin up sandboxes or disposable test environments.

Args: vm: The source VM name or UUID to clone. name: Name for the newly created clone. linked: If true (default), creates a fast linked clone sharing the base disk. If false, creates a full independent deep clone. dst: Optional custom destination path for the cloned VM.

Inputs: vm (required), name (required), dst, linked. Returns: Result of cloning a VM.

vm_copy_from_guestCopy file or directory from Parallels guest to hostA
Destructive

Stream a file or directory from a guest path back to the host filesystem.

Extracts test reports, build artifacts, logs, or files produced inside the VM.

Args: vm: The VM name or UUID. guest_path: Path to the file or directory inside the guest. host_path: Destination path on the host where file/folder will be written. user: Optional guest user to read files as. timeout_s: Transfer timeout in seconds (default: 300s).

Inputs: vm (required), host_path (required), guest_path (required), user, +1 more. Returns: Result of copying files or directories between host and guest.

vm_copy_to_guestCopy file or directory from host to Parallels guestA
Destructive

Stream a file or entire directory from the host into a guest path.

Works across Windows, Linux, and macOS guests using direct stream execution. Creates parent directories in the guest if they do not exist.

Args: vm: The VM name or UUID. host_path: Path on the host filesystem (file or directory). guest_path: Destination path inside the guest (e.g. "C:\temp\file.txt" or "/tmp/dir"). user: Optional guest user to run file extraction as. timeout_s: Transfer timeout in seconds (default: 300s).

Inputs: vm (required), host_path (required), guest_path (required), user, +1 more. Returns: Result of copying files or directories between host and guest.

vm_deleteDelete Parallels VMA
Destructive

Permanently delete a VM and all its associated disk images from host storage.

Args: vm: The VM name or UUID to delete. confirm: Must be explicitly set to true to prevent accidental VM deletion.

Inputs: vm (required), confirm. Returns: Result of deleting a VM.

vm_doctorRun Parallels pre-flight doctor diagnosticsA
Read-onlyIdempotent

Run diagnostic pre-flight checks on host macOS and Parallels setup, with optional guest inspection.

Args: vm: Optional VM name or UUID. If specified, checks guest OS, runtimes, and environment.

Inputs: vm. Returns: Aggregate health and readiness report for host and optional guest VM.

vm_execExecute a command in a Parallels guestA
Destructive

Execute an explicit argv vector inside the guest.

Args: vm: The VM name or UUID. command: Argument vector, e.g. ["whoami"] or ["ls", "-la"]. user: Optional guest username. If omitted, uses the current desktop user on Windows. timeout_s: Execution timeout in seconds (default: 300s).

Inputs: vm (required), command (required), user, timeout_s. Returns: Bounded result of one guest command.

vm_listList Parallels VMsA
Read-onlyIdempotent

List every registered Parallels VM with its current power state.

Inputs: no named parameters. Returns: result

vm_optimize_windowsOptimize Windows VM for automationA
Destructive

Optimize a Windows guest VM for automated tasks, testing, and script execution.

Configures Windows Defender real-time scanning exclusions (preventing EPERM/EBUSY file locks) and sets PowerShell ExecutionPolicy to Bypass.

Args: vm: The Windows VM name or UUID. exclusion_paths: Optional directory paths to exclude from Defender scanning. exclusion_processes: Optional process binary names to exclude (defaults to node.exe, npm.cmd, pnpm.cmd, git.exe, python.exe).

Inputs: vm (required), exclusion_paths, exclusion_processes. Returns: Result of optimizing Windows guest VM for testing and automation.

vm_screenshotCapture Parallels VM screenshotA
Read-onlyIdempotent

Capture a screenshot of the VM's current screen buffer.

Args: vm: The VM name or UUID. output_path: Optional host path where the PNG will be saved. If omitted, saved to the default artifact directory.

Inputs: vm (required), output_path. Returns: Result of capturing a VM screen.

vm_send_keysSend keystrokes to Parallels VMA
Destructive

Send synthetic keystrokes or hotkey combinations to a running VM.

Supports:

  • Single keys: "enter", "esc", "tab", "space", "backspace", "delete", "f1"-"f12", arrows, etc.

  • Key chords: "ctrl+alt+del", "win+r", "alt+f4", "ctrl+c", "ctrl+shift+esc", etc.

  • Strings to type: "notepad.exe" or "echo Hello"

  • Multiple key entries in sequence: ["win+r", "notepad.exe", "enter"]

Args: vm: The VM name or UUID. keys: Key name, chord string (e.g. "ctrl+alt+del"), or list of keys to send in order. delay_ms: Delay in milliseconds between key events (default: 50ms).

Inputs: vm (required), keys (required), delay_ms. Returns: Result of sending key events to a VM.

vm_set_headlessSet Parallels VM headless modeA
Destructive

Configure whether the VM runs headlessly in the background or displays a GUI window.

Args: vm: The VM name or UUID. enabled: If true (default), sets startup-view to headless. If false, sets startup-view to window.

Inputs: vm (required), enabled. Returns: Result of setting headless startup view.

vm_set_network_conditionSet Parallels network conditionA
Destructive

Simulate degraded network conditions or offline state for the VM.

Args: vm: The VM name or UUID. profile: Network profile name ('off', 'edge', 'dsl', '3g', '100-percent-loss', 'very-bad-net', 'wifi'). Use 'off' to disable simulation and restore normal network conditions.

Inputs: vm (required), profile. Returns: Result of configuring network conditioning.

vm_share_folderShare a host directory with Parallels VMA
Destructive

Mount a host directory into the guest as a Parallels Shared Folder.

Args: vm: The VM name or UUID. name: Name of the share (e.g. "project_workspace"). host_path: Host directory to mount. mode: Sharing mode: "ro" (read-only) or "rw" (read-write). Default is "rw". description: Optional notes describing the shared folder.

Inputs: vm (required), name (required), host_path (required), mode, +1 more. Returns: Result of configuring a host shared folder.

vm_startStart Parallels VMA

Start a registered VM by name or UUID.

Inputs: vm (required). Returns: Result of a successful power operation.

vm_statusGet Parallels VM statusA
Read-onlyIdempotent

Return bounded status details for a VM name or UUID.

Inputs: vm (required). Returns: Detailed, bounded VM status returned by ``vm_status``.

vm_stopGracefully stop Parallels VMB
Destructive

Request an ACPI shutdown; this never uses Parallels force-kill.

Inputs: vm (required). Returns: Result of a successful power operation.

vm_suspendSuspend Parallels VMA
Destructive

Suspend a VM, preserving its current guest memory state.

Inputs: vm (required). Returns: Result of a successful power operation.

vm_unshare_folderUnshare a host directory from Parallels VMA
Destructive

Unmount and remove a previously shared folder from the VM.

Args: vm: The VM name or UUID. name: Name of the share to delete.

Inputs: vm (required), name (required). Returns: Result of configuring a host shared folder.

vm_wait_readyWait for Parallels guest readinessB
Read-onlyIdempotent

Poll the guest OS until Parallels Tools and execution answering.

Inputs: vm (required), timeout_s. Returns: Result of a successful power operation.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 24 tools

    Disambiguation4/5

    Tools are largely distinct — lifecycle, snapshot, file-transfer, and input tools each target a specific action. vm_list and vm_status both surface VM information (all vs. one), and vm_doctor vs. vm_optimize_windows both occupy 'maintenance' territory, creating minor selection ambiguity, but descriptions are clear enough to prevent real misselection.

    Naming Consistency3/5

    The dominant pattern is object_verb snake_case (vm_start, vm_stop, snapshot_create), which is predictable within each namespace. However, snapshot operations use a snapshot_* prefix instead of the expected vm_snapshot_* style, and vm_changelog is a meta-tool about the server itself that breaks the VM-domain naming entirely.

    Tool Count3/5

    At 24 tools, the set is on the heavy side, falling in the 16-25 borderline band. Most tools earn their place in a full VM management suite, but vm_changelog is a self-referential filler that doesn't belong, pushing an already large surface slightly beyond its scope.

    Completeness4/5

    The surface covers the full VM lifecycle (list/start/stop/suspend/delete/clone), complete snapshot CRUD, bidirectional file transfer, shared folder management, guest execution/input, and key configuration. Obvious gaps — no create-VM-from-installer, no restart/reboot, no rename or resource controls — are workaroundable (stop+start) but will force agents to improvise.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      An MCP server that enables managing Parallels Desktop virtual machines, including listing, starting, stopping, suspending, and executing commands inside VMs.
      9
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server for managing Parallels Desktop VMs, including lifecycle operations and snapshots.
      -