utm-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Install
You need macOS 14 or later and UTM 5.0.9 or later. With Homebrew:
brew tap RossNicholson/tap
brew trust --formula rossnicholson/tap/utm-mcp
brew install rossnicholson/tap/utm-mcp
claude mcp add --scope user utm -- "$(brew --prefix)/bin/utm-mcp"New Claude Code sessions pick it up. The first time, macOS asks whether your terminal may control UTM: say yes (or turn it on later in System Settings → Privacy & Security → Automation). Any other MCP app (Claude Desktop, Cursor, VS Code) can point at the same binary. Changes are in CHANGELOG.md.
Claude Desktop: download utm-mcp-<version>.mcpb from the latest release and open it. Claude Desktop installs it, and its settings page has the main options below. It's also listed in the MCP registry as io.github.RossNicholson/utm-mcp.
To build it yourself instead (Swift 6.1 or later): git clone https://github.com/RossNicholson/utm-mcp.git && cd utm-mcp && make release, then use .build/release/utm-mcp.
Options go after the binary (utm-mcp --help lists them). The first four can also be set as environment variables: UTM_MCP_READ_ONLY=true, UTM_MCP_PROTECT="VM 1, VM 2", UTM_MCP_HOST_DIR, UTM_MCP_MAX_WAIT.
Option | What it does |
| That VM (name or UUID) can be looked at, started, snapshotted and cloned, but gets no input, commands or changes. Repeatable. |
| Only the tools that look, for every VM. |
| Mac files are only read from and written to inside these folders. Repeatable. |
| Calls return within about 50 s, for apps that give up on a tool after a minute (Claude Desktop, Cursor). Long jobs then say how to carry on; ones that can't be split (big copies, full clones, diagnostics, sandboxes that restart the VM) can take longer. |
| Only that VM (name or UUID) can be seen or used, plus VMs this server makes. Repeatable. |
| Offer only these tools, or never these, e.g. |
| Where the activity log goes: one JSON line per tool call, without passwords, file contents or typed text. Default |
Related MCP server: Mac Sandbox Control MCP Server
What you can ask
"Make a Windows 11 VM called Test Box on my external drive from ~/Downloads/Win11_arm64.iso and tell me when it's ready."
create_vm builds a setup disk with an answer file and UTM's guest tools, starts the VM and presses the boot key. Windows then installs by itself in 15–30 minutes: account dev with no password (unless you ask for one), your Mac's language, keyboard and time zone, every setup screen skipped. The ISO is free from Microsoft (Windows 11 multi-edition ISO for Arm64).
"Make me an Ubuntu VM called Build Box with git and build-essential."
Ubuntu, Debian and Fedora VMs come from the official Arm64 cloud images, checked against their published checksums and cached. They're set up and running in under a minute, with your Mac's SSH keys and the guest agent.
"In a sandbox on my Windows VM, install this build of my app, check it starts, bring me its log, then roll back."
"My game crashed in the VM. Find out why."
Tools
38 tools, each marked read-only or destructive so your AI app knows which to ask you about. VMs and snapshots can be given by name or UUID.
Area | Tools |
VMs |
|
Power |
|
Snapshots |
|
Screen |
|
Controls |
|
Inside the guest |
|
Files |
|
Testing |
|
Commands and file tools need the guest agent: UTM's guest tools in Windows (create_vm installs them), qemu-guest-agent in Linux (cloud images have it).
Safety
Private Mac files are never touched:
~/.ssh, keychains, credentials,~/.config, browser data, mail, messages and AI apps' settings are never read or written.Nothing that runs code is written: no hidden files in your home folder (
.zshrc,.gitconfig…), nothing in~/Library, apps, Homebrew or system folders, and no.git/hooks,.git/config,.claude,.vscode,.mcp.json,.envrcor CI workflows anywhere.Files from a guest are checked where they finally land, so a guest's file names can't steer them, links in them are dropped, and they're quarantined like downloads.
Untrusted software can run in a
lockdownsandbox: no internet, no way to reach your Mac, no clipboard or folder sharing, all put back afterwards.Everything done is logged in
~/Library/Logs/utm-mcp/activity.jsonl, readable only by you.Claude can't change the options: they're set where the server starts, and a mistyped one stops it starting instead of running unprotected.
These are guard rails, not a security boundary. Text on a VM's screen or in its files can try to talk an AI into things, so keep untrusted software in VMs you'd be happy to delete.
Limits
Tested on Apple silicon with Windows 11 ARM, Ubuntu 24.04 and 22.04, Debian 13 and Fedora 45, on UTM's QEMU backend.
Apple Virtualization VMs (macOS guests) have no guest agent, so the tools that work inside a guest don't work there.
Windows only:
mouse,find_elements,click_element,install_app,share_folder,launch_app,as_user, pasting text, and the hands-off install.type_textpresses keys for US and UK layouts; in Windows, other layouts and characters are pasted through the guest's clipboard.UTM can't snapshot a running VM with 3D graphics or an NVMe disk, so sandboxes on those VMs restart them (under a minute).
Why, and much more about how UTM behaves, is in docs/NOTES.md.
Privacy
utm-mcp has no analytics or account and makes no network requests, except for downloading Ubuntu, Debian or Fedora cloud images and their checksums when you ask for those VMs. Screen text is read on your Mac. The activity log stays on your Mac and leaves out passwords, file contents and typed text, but keeps commands and paths. Whatever a tool returns (screenshots, command output, file contents) goes to your AI app and its model provider, so don't ask for anything you wouldn't paste into the chat. Passwords you give create_vm sit in plain text on its setup disk until setup finishes; the default is no password.
Build and test
make build # debug build
make test # unit tests with a fake UTM; never touches your VMs
make release # .build/release/utm-mcpHow it works, how to try a change on real VMs (scripts/mcp-call.py) and UTM's undocumented behaviour are in docs/NOTES.md. MIT licence (LICENSE).
Support
utm-mcp is made by Ross Nicholson. For help, see the support page or email support@rossnicholson.dev.
If utm-mcp saves you time, you can buy me a coffee ☕
Credits
Built on the official MCP Swift SDK. Made by the developer of BrewDock, ClawdBar, Mop Up, KeyBar, Repo Radar and MacPing.
utm-mcp isn't affiliated with or endorsed by UTM or Anthropic. Claude and Claude Code are Anthropic's trademarks.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
MCP server for Superserve sandboxes: create, exec, and manage Firecracker microVMs
Remote MCP for Firecracker microVM sandboxes, with your sign-in, Vault, and an audit log.
Secure Linux sandboxes for AI agents, as MCP tools.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables MCP clients such as Claude Desktop and Cursor to launch and control Capsulate virtual machines, providing exec, file, screenshot, accessibility-tree, checkpoint, and replay capabilities.MIT- AlicenseNot gradedqualityCmaintenanceEnables agents to manage and operate macOS VM workspaces through authenticated MCP tools, including lifecycle control, command execution, job monitoring, and access to desktop connection and guest login details.2MIT
- AlicenseNot gradedqualityFmaintenanceEnables agents to manage headless virtual machines and hypervisors, including listing VMs, inspecting VM details, managing snapshots, listing networks, reporting host information, and running sandboxed code through MCP tools.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables managing UTM virtual machines through the utmctl CLI, including VM lifecycle operations, guest command and file operations, and USB device connections.5MIT