Parallels Pro MCP Server
An MCP server that lets LLM agents discover, control, automate, and inspect Parallels Desktop VMs on macOS over stdio.
Discover & inspect VMs: list all registered VMs and power states (
vm_list), get detailed status with OS, tools version, IP, and uptime (vm_status).Manage VM lifecycle: start (
vm_start), graceful ACPI stop (vm_stop), suspend with memory preserved (vm_suspend), and wait for guest readiness (vm_wait_ready).Execute guest commands: run explicit argv vectors in Windows, Linux, or macOS guests as an optional user, with timeouts and bounded output (
vm_exec).Transfer files bi-directionally: stream files or directory trees between host and guest without mounts or SMB (
vm_copy_to_guest,vm_copy_from_guest).Share host folders dynamically: mount and unmount host directories into guests read-only or read-write (
vm_share_folder,vm_unshare_folder).Sandbox with clones: create fast linked or deep clones for disposable test environments (
vm_clone) and permanently delete VMs with confirmation (vm_delete).Run headless & simulate networks: run VMs without GUI windows (
vm_set_headless) and emulate degraded links like 3g, wifi, or 100% loss (vm_set_network_condition).Interact with the GUI: capture VM screenshots for multimodal analysis (
vm_screenshot) and send keystrokes or hotkeys likectrl+alt+delandwin+r(vm_send_keys).Optimize Windows guests: add Defender exclusions and set PowerShell ExecutionPolicy Bypass to prevent file-locking during builds (
vm_optimize_windows).Manage snapshots: list, create, revert, and delete snapshots as rollback points, with confirmation flags on mutations (
snapshot_list,snapshot_create,snapshot_revert,snapshot_delete).Run diagnostics: pre-flight checks on host CLI, licensing, network adapters, and guest health (
vm_doctor).Read release notes: fetch changelog and version updates via tool (
vm_changelog) or theparallels://changelogMCP resource.
Parallels Pro MCP Server
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.
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
EPERMfile-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_changelogtool, theparallels://changelogMCP resource, or the CLI (parallels-pro-mcp changelog).
Related MCP server: VMware Workstation MCP
Tool Reference
Tool | Purpose | Confirmation Required | Annotations |
| Discover registered VMs and power states | No | Read-Only |
| Inspect detailed VM status, OS, tools version, and uptime | No | Read-Only |
| Start a VM by name or UUID | No | Power Change |
| Request graceful ACPI shutdown (never force-kills) | No | Destructive |
| Suspend VM and preserve guest memory | No | Destructive |
| Poll until the guest OS answers execution probes | No | Readiness |
| Run an argv vector in the guest (supports custom | No (Privileged) | Guest Command |
| Stream files or directories from host into guest filesystem | No | File Transfer |
| Stream files or directories from guest onto host filesystem | No | File Transfer |
| Mount a host directory into the guest ( | No | State Mutating |
| Remove a previously shared host directory | No | State Mutating |
| Clone a VM (fast linked clone or deep copy) | No | State Mutating |
| Permanently delete a VM and its disks |
| Destructive |
| Configure headless vs GUI window startup mode | No | State Mutating |
| Simulate degraded network profiles (3g, wifi, loss, off) | No | State Mutating |
| Capture current VM screen to host PNG | No | Read-Only |
| Send synthetic keystrokes or chords (e.g. | No | Guest Command |
| Add Windows Defender exclusions and set PowerShell ExecutionPolicy Bypass | No | State Mutating |
| Pre-flight environment diagnostics for macOS host and guest OS | No | Read-Only |
| Read release notes and updates over MCP | No | Read-Only |
| List all snapshots for a VM | No | Read-Only |
| Create a snapshot with name and optional description |
| State Mutating |
| Revert VM state to a specified snapshot |
| State Mutating |
| Permanently delete a snapshot to reclaim host disk space |
| State Mutating |
MCP Resources
In addition to tools, the server exposes dynamic MCP resources for context-aware agents:
Resource URI | MIME Type | Description |
|
| Full release notes, version history, and recent updates from |
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
macOS with Parallels Desktop Pro or Business Edition installed.
Note: Parallels Desktop Pro or Business is required for the
prlctlcommand-line utility andprlctl execguest execution.
Parallels Tools installed inside each target guest VM.
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-mcpClient 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 |
| Fallback VM name or UUID used when a tool argument is omitted | None |
| Host directory where captured screenshots and artifacts are stored |
|
| Enable verbose debug logging to stderr ( |
|
Safe Operating Sequence for Agents
Discover: Call
vm_listto see available VMs and states.Inspect: Call
vm_status(vm="...")to verify guest tools and power status.Optional Sandbox: For risky or destructive test sessions, call
vm_clone(vm="...", name="agent-sandbox", linked=true)to create a fast, isolated linked clone.Power Up: If stopped, call
vm_startfollowed byvm_wait_readyto ensure guest tools are responsive.Inspect Desktop: Call
vm_screenshotto visually check if dialogs or login prompts are blocking the session.Snapshot Baseline: Call
snapshot_create(vm="...", name="clean-baseline", confirm=true)before performing major tasks.Transfer & Execute: Use
vm_copy_to_guestto stage scripts,vm_execwith explicit argv arrays to run commands, andvm_copy_from_guestto retrieve build artifacts.Teardown: Revert via
snapshot_revertor destroy ephemeral sandboxes viavm_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\Homeon 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_execonly 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 -mFor 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 toolssnapshot_createCreate Parallels snapshotBDestructive
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 snapshotADestructive
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 snapshotsARead-onlyIdempotent
List snapshots for a VM without changing state.
Inputs: vm (required). Returns: result
snapshot_revertRevert Parallels snapshotBDestructive
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 notesARead-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 VMADestructive
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 hostADestructive
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 guestADestructive
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 VMADestructive
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 diagnosticsARead-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 guestADestructive
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 VMsARead-onlyIdempotent
List every registered Parallels VM with its current power state.
Inputs: no named parameters. Returns: result
vm_optimize_windowsOptimize Windows VM for automationADestructive
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 screenshotARead-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 VMADestructive
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 modeADestructive
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 conditionADestructive
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_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 statusARead-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 VMBDestructive
Request an ACPI shutdown; this never uses Parallels force-kill.
Inputs: vm (required). Returns: Result of a successful power operation.
vm_suspendSuspend Parallels VMADestructive
Suspend a VM, preserving its current guest memory state.
Inputs: vm (required). Returns: Result of a successful power operation.
vm_wait_readyWait for Parallels guest readinessBRead-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
Scored across 24 tools
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.
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.
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.
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
Related MCP Connectors
MCP server for Superserve sandboxes: create, exec, and manage Firecracker microVMs
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Hosted MCP server for MT4 and MT5: read accounts, prices and candles, and place or close orders.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables managing Parallels Desktop virtual machines, including listing, starting, stopping, suspending, and executing commands inside VMs.9MIT
- AlicenseBqualityDmaintenanceA stdio MCP server that controls VMware Workstation via vmrun, enabling VM lifecycle management and snapshot operations.14MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for managing Parallels Desktop VMs, including lifecycle operations and snapshots.-
- AlicenseAqualityDmaintenanceA local MCP server that exposes macOS automation actions (AppleScript + CLIs) as tools, enabling MCP clients on your Mac to control apps, system settings, and more.39MIT