Skip to main content
Main content
Image
pd-blog-2026-mcp-header

What is MCP, and how can you use it with virtual machines?

November 18, 2026

Text

Running a test in a Windows virtual machine usually involves a few steps: start the VM, open the right tools, run the test, and check the results. What if you could handle much of that work by asking an AI assistant? Model Context Protocol (MCP) makes this possible by connecting AI applications to external tools. With the Parallels Desktop MCP server, compatible AI assistants can interact with Windows and Linux virtual machines running on your Mac.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI applications to connect to external tools and information. An AI assistant can answer questions based on the information available to it. MCP extends what it can do by giving it a way to retrieve information from other systems or perform actions using connected tools.

Say you need to summarize a document stored on your computer. With a suitable MCP server connected and the necessary access configured, your assistant can retrieve the file and summarize it without you copying its contents into the chat.

MCP provides a common way for AI applications and tools to communicate, reducing the need for a custom integration every time you want to connect a new tool.

An MCP connection typically involves three components:

  • MCP host: The AI application, such as a desktop assistant or coding tool, where you enter your request.
  • MCP client: The component within the application that communicates with an MCP server.
  • MCP server: The program that makes specific tools or information available to the assistant.

When you ask an assistant to perform a task, it can use the MCP client to call tools provided by a connected server. The server executes the supported operation and returns the result.

MCP doesn't determine what an assistant can do on its own. Its capabilities depend on the connected server, the tools it provides, and how access is configured.

You can learn more about the standard in the official MCP documentation.

How does MCP work with virtual machines?

Virtual machines are useful when you need to run another operating system, test software in a separate environment, or work with applications that aren't available on your Mac.

MCP gives AI assistants a way to interact with those environments through supported tools.

For example, a developer testing a Windows application might need to start a VM, run a test script, and collect the output. An MCP integration that supports these operations can let the developer request them through an AI assistant.

A prompt could be as straightforward as: “Start my Windows test VM, run the existing test script, and show me the results.” The assistant uses the available tools to perform the requested actions and returns the output for review.

This is particularly useful for tasks you repeat throughout the day. Instead of manually entering the same commands or switching between applications, you can ask your assistant to carry out the supported steps. The actual workflow depends on the MCP server and its available tools. Some tasks may still require manual input.

Using MCP with Parallels Desktop

Parallels Desktop Pro, Business and Enterprise let users run Windows and Linux virtual machines on Mac, with advanced VM controls and command-line automation. MCP adds a conversational way to use supported automation tools.

The Parallels Desktop MCP server, called pdfm-mcp, connects those VM capabilities to compatible AI assistants. The server runs locally on macOS and provides tools for managing virtual machines, executing guest commands, and interacting with their screens.

Once connected, you can make requests such as:

  • “Find my Ubuntu VM and check whether it's running”
  • "Start my Windows test VM”
  • “Take a screenshot of my running Windows VM.”
  • “Create a snapshot before we change this test environment.”
  • "Run this command in my Linux VM and show me the output”

You can also combine several actions into one workflow.

Example: Running tests in a Windows VM

Let's say you're testing a new version of an application in Windows, but your main development environment is on a Mac.

With Parallels Desktop and a compatible MCP client, you could ask your AI assistant to:

  1. Find and start your Windows test VM.
  2. Create a snapshot before running the test.
  3. Execute an existing test script inside Windows.
  4. Retrieve the command output and help identify any failures. You can then review the results and decide what to investigate next.

The Parallels Desktop MCP server also provides screenshot capture, screen-text recognition, and keyboard input tools. These allow an assistant to inspect what's displayed in a running VM and interact with applications through supported keyboard commands.

Currently, graphical interaction is limited to keyboard input. Basic mouse control is coming soon, with more advanced mouse capabilities planned for Q1 2027.

The server also supports other VM operations, including cloning, changing VM settings, and managing snapshots. Some actions can modify or delete data, so it's worth reviewing the tools available to your assistant before using them.

For developers who regularly test across operating systems, this offers a practical way to work with VMs without manually performing every supported operation.

How to start using MCP with Parallels Desktop

To use the Parallels Desktop MCP server, you'll need Parallels Desktop installed on your Mac and an AI assistant that supports MCP. The server's GitHub page includes installation instructions and configuration examples for compatible clients, including Claude Desktop, Claude Code, Codex, and VS Code.

Here's how to get started:

  1. Install Parallels Desktop. Make sure you have a compatible version installed and at least one VM available for testing.
  2. Install the MCP server. Follow the instructions in the pdfm-mcp GitHub repository. Check the available releases, since installation instructions can differ between stable and prerelease versions.
  3. Connect your AI assistant. Add the MCP server to your client's configuration using the installation path and instructions provided for that client.
  4. Set access restrictions. The server supports options for read-only access, limiting access to selected VMs, and allowing or denying specific tools.
  5. Try a basic request. Ask your assistant to find a VM and report its status before moving on to commands that change the environment.

If you want to run commands inside a guest operating system, Parallels Tools must be installed in that VM. Screen capture and keyboard interactions require a running VM.

Start with a test environment and review the server's available tools before enabling actions that change VM settings or data.

How organizations can use MCP with Parallels Desktop for Enterprise

A developer may only need one Windows VM for testing. Across a larger team, IT has another concern: making sure everyone works with the right operating system, applications, and VM settings.

Parallels Desktop for Enterprise helps organizations manage those environments across their Mac deployments. IT teams can distribute standardized VMs using Golden Images, manage supported VM policies through the Parallels Desktop Management Portal, and integrate with enterprise identity providers.

Consider a development team that tests the same application across multiple Macs. IT can prepare a Golden Image containing the required Windows environment and testing tools, then make that VM available to developers. With a locally installed Parallels Desktop MCP server and a compatible AI assistant, each developer can run supported tasks against their test environment, such as starting the VM, executing a test script, or collecting diagnostic output. The team works with a consistent VM configuration, while developers have another way to perform routine testing tasks.

Organizations can also use endpoint management tools such as Jamf to distribute software and configurations to managed Macs, including MCP components where supported by their deployment process.

What about MCP access management?

There's an important distinction between managing virtual machines and managing MCP access.

Parallels Desktop for Enterprise provides centralized VM deployment and policy management. The Parallels Desktop MCP server, on the other hand, runs locally on each Mac. The MCP server supports local configuration options to restrict which VMs and tools it exposes. By default, it can access all local VMs available to it unless restrictions are configured.

Parallels Desktop for Enterprise does not currently provide centralized MCP authorization through the Management Portal. Its VM management policies should not be treated as controls over which AI assistants can connect to the local MCP server. Organizations planning to use MCP should account for this in their endpoint management and AI access policies.

Security considerations when using MCP with virtual machines

Giving an AI assistant access to a virtual machine also means considering what information it can retrieve and which actions it can perform.

Parallels Desktop has received a SOC 2 Type II report, with continued SOC 2 compliance reported in subsequent releases. It is also a Microsoft-authorized solution for running supported Windows 11 on Apple silicon Macs.

These credentials relate to the virtualization platform. They don't automatically establish the security of every MCP client, connected AI service, or workflow.

The Parallels Desktop MCP server runs locally, but information returned through its tools can reach the MCP client and its model provider. That may include screenshots, recognized screen text, command output, and tool arguments. Before connecting an assistant to a VM containing sensitive information, review the AI provider's data-handling policies and the tools available through the server.

The MCP server includes several options for reducing access:

  • Read-only mode: Limits the server to observation tools.
  • VM restrictions: Limits the server to one VM or a specified set of VMs.
  • Tool restrictions: Allows or denies individual MCP tools.

These controls apply to the local server configuration. They aren't a substitute for centrally enforced authorization or broader endpoint security policies.

For initial testing, use a dedicated VM with no sensitive data and expose only the tools required for the task. Keep VM sharing and networking settings in mind, particularly when testing unfamiliar software.

Actions such as restoring snapshots, running guest commands, or deleting VMs can affect data. Review these operations before approving them through an AI assistant.

For organizations, MCP deployment should follow the same internal review process used for other software that can access corporate systems.

Try MCP with Parallels Desktop

You can start exploring MCP with a single test VM.

Connect a compatible AI assistant to the Parallels Desktop MCP server, ask it to check the VM's status, and try running a command inside the guest. Once you're comfortable with the setup, you can experiment with snapshots and repeatable testing workflows.

For developers and power users: Parallels Desktop Pro provides advanced VM controls for working with Windows and Linux on Mac. Start your free 14-day trial and test an MCP workflow with your own virtual machines.

For IT teams: Parallels Desktop for Enterprise provides centralized VM deployment and management for organizations supporting Mac users. Explore how standardized VM environments can support your team's testing workflows and discuss an Enterprise evaluation with Parallels.