Agentpc logo

Agentpc

Runs resettable Windows, Ubuntu, and Arch ARM desktops as local VMs for AI agents on Apple Silicon Macs.

Install Agentpc

Run the project’s own setup commands, in order.

Setup steps from the project

agentpc installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://agentpc.pawanpaudel.com.np/install.sh | sh
    
  2. 2. Add to your MCP client
    agentpc mcp-install                  # or pick: agentpc mcp-install claude claude-desktop codex
    

Overview

The agentpc MCP server runs local Windows, Ubuntu, and Arch Linux ARM desktop VMs on Apple Silicon Macs. It exposes MCP tools for creating, starting, resetting, checkpointing, deleting, and inspecting VMs, along with shell commands, screenshots, file transfer, port forwarding, and desktop control. QEMU runs the VMs locally, while agents connect through the server's stdio MCP interface. Reach for it when an agent needs an isolated graphical desktop, repeatable test states, guest shell access, or a way to exercise desktop applications.

Use cases

  • Create disposable Ubuntu or Windows desktops for agent tasks
  • Reset a VM to reproduce a clean installation test
  • Checkpoint a guest before risky desktop or shell operations
  • Run guest commands and inspect screenshots from an agent
  • Forward a VM service to the host for local testing

Key features

  • Local Windows, Ubuntu, and Arch Linux ARM VMs
  • Reset and checkpoint support
  • Guest shell command execution
  • Screenshots and desktop-control tools
  • Host-guest file transfer and port forwarding
  • Background jobs and VM log inspection

Tools20

What Agentpc lets your agent do. Expand a tool for its parameters.

Self-reported~900 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 62d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit19d agoMost recent push to the default branch.
Tools exposed20Callable tools this server registers over MCP.

How Agentpc works

What agentpc MCP server does

The agentpc MCP server gives AI agents access to local desktop virtual machines hosted on an Apple Silicon Mac. Supported guest environments include Windows 11 ARM, Ubuntu releases, and Arch Linux ARM. Ubuntu and Arch images use XFCE desktops; each supported guest includes a desktop-control service that agents can use for graphical interaction.

VMs can be created for a selected operating system version and size, then returned to a clean image state with a reset. Checkpoints preserve a VM's disk and memory under a label so an agent can revisit a known state after a risky operation. The server also provides a browser viewer for observing a VM's desktop.

How it works

The agentpc MCP server is a Rust binary that runs QEMU using Apple's hypervisor support. MCP communication uses stdio, with one server managing multiple VMs. Operations stay on the Mac and the service listens on localhost.

Agents can combine graphical and command-line workflows. Desktop tools handle actions such as clicking, typing, launching applications, and reading the UI tree. Shell commands run through PowerShell on Windows or bash on Ubuntu and Arch. Screenshots come directly from the hypervisor, including when a guest is still booting or is unresponsive.

A foreground command returns its exit code and output, and is terminated at the configured timeout with partial output if necessary. Background commands return a job identifier that can be checked later. Files and directories can move between the Mac and a guest, while SSH-based port forwarding makes services inside a VM reachable from the host, including services bound to the guest's loopback address.

Setup and configuration

Install with the repository's shell installer. It installs the binary under ~/.local/bin by default, adds it to PATH, installs QEMU through Homebrew when needed, registers the MCP server with supported clients it finds, and runs a diagnostic check. AGENTPC_VERSION selects a release, AGENTPC_INSTALL_DIR changes the installation location, and AGENTPC_NO_MCP=1 skips client registration.

The server can be registered manually with a client configuration using the agentpc command and the mcp argument. The repository documents setup for Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, and VS Code, as well as a generic MCP configuration.

Tools and capabilities

Available operations cover:

  • Listing VMs, images, operating system versions, states, sizes, checkpoints, and viewer URLs.
  • Creating, starting, stopping, resetting, and deleting VMs.
  • Saving and restoring checkpoints, or deleting individual checkpoints without deleting the VM.
  • Taking PNG screenshots and optionally saving them to a Mac path.
  • Running guest commands, checking background jobs, and reading QEMU or serial logs.
  • Uploading files and folders, forwarding ports, and listing or stopping active forwards.
  • Discovering and calling the desktop-control tools installed in a guest.

Limitations and notes

The host must be an Apple Silicon Mac, such as an M1 or later system, with a compatible macOS version. Running guests require memory and disk space: the documented baseline is 4 GB of memory per Ubuntu or Arch VM, 8 GB per Windows VM, about 10 GB per Ubuntu or Arch image, and about 30 GB per Windows image.

Ubuntu and Arch images can be prepared by agentpc. Windows images cannot be redistributed by the project, so the first Windows setup downloads Microsoft's Windows 11 ARM64 ISO or accepts an existing ISO and builds the image locally. The initial Windows image preparation takes substantially longer than creating later VMs.

The server is local-only by default. Agents still have command execution, file transfer, port forwarding, and graphical input inside the guest, so VM contents and exposed services should be treated according to the permissions granted to the MCP client.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agentpc

agentpc is an MCP server that connects AI agents to local Windows, Ubuntu, and Arch Linux ARM desktop VMs on Apple Silicon Macs. Its main tools create and manage VMs, run PowerShell or bash commands, take screenshots, transfer files, forward ports, and control guest desktops through graphical tools.

Run the repository's shell installer to install agentpc, QEMU, and client configuration. It places the binary in ~/.local/bin by default, adds it to PATH, registers the MCP server with supported clients it detects, and runs a diagnostic check.

Yes, agentpc documents Cursor as a supported client. The installer can register the server with Cursor, and the repository also includes a project-level Cursor MCP configuration for agents opened in a clone.

agentpc can run Windows 11 ARM, Ubuntu releases, and Arch Linux ARM desktops. Ubuntu and Arch use XFCE, while Windows images are built locally because the project does not redistribute Microsoft's Windows images.

Yes, the reset_vm tool discards changes and returns the VM to a fresh copy of its image. Checkpoints can also preserve a specific disk and memory state for later restoration.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgentpc AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agentpc?style=directory)](https://allmcps.com/mcp/agentpc)
HTML Embed
<a href="https://allmcps.com/mcp/agentpc"><img src="https://allmcps.com/api/badge/agentpc?style=directory" alt="Agentpc on AllMCPs" /></a>