VirtualBox MCP server for AI-driven VM operation

VirtualBox MCP server for AI-driven VM operation

mcp-virtualbox•bychryaner

An MCP server that wraps VirtualBox to let AI assistants create, install, and control virtual machines via screenshots, input, and guest command execution.

License: MIT•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Provides 30 tools across six categories: lifecycle, display, input, guest control, network, and knowledge.
  • •Uses a vision loop of screenshots and keyboard/mouse input to operate any OS installer or GUI.
  • •Supports text-mode control via SSH, WinRM, or Guest Additions for fast command execution.
  • •Includes guest control tools to execute commands and copy files to and from the guest.

BEST FOR

  • •Automating bare-metal OS installation inside a VirtualBox VM with no human interaction.
  • •Operating existing VMs through screenshots, keystrokes, and mouse clicks.
  • •Running commands inside a guest through SSH, WinRM, or Guest Additions.

ABOUT MCP-VIRTUALBOX

VirtualBox MCP server for AI-driven VM operation is cataloged as an MCP server attributed to chryaner. An MCP server that wraps VirtualBox to let AI assistants create, install, and control virtual machines via screenshots, input, and guest command execution. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for VirtualBox MCP server for AI-driven VM operation are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which VirtualBox and Node.js versions are required?

VirtualBox 7.x and Node.js 18+.

Do I need to provide an OS installer?

Yes; you provide your own OS installer ISO and tell the AI where it is and which OS to install.

Is there a successor project?

Yes, terrarium is the successor, while mcp-virtualbox remains maintained as the simpler cross-platform VirtualBox MCP server.

Upstream README

View this exact version on GitHub

README.md · b51349126d34 · Fetched 2026-11-13 13:24:44 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

mcp-virtualbox

does it install

Let AI see, click, type, and fully operate virtual machines - from bare metal OS installation to daily use, no human needed.

Heads up: the successor to this project is terrarium.

This repo started the "let an AI operate real VMs" idea. The next version grew different enough - immutable golden images, sub-second forks, revert-to-clean in seconds, and a full CLI alongside the MCP server - that it became its own project rather than a new release here.

Want the more advanced take? On a Windows host it is one command in Claude Code: claude mcp add -s user terrarium -- npx -y terrarium-mcp mcp. Everything else is at terrarium. mcp-virtualbox stays maintained and available for anyone who wants the simpler, cross-platform VirtualBox MCP server it already is.

TL;DR

Claude Code (easy install)

/plugin marketplace add chryaner/mcp-virtualbox
/plugin install mcp-virtualbox@mcp-virtualbox

Claude Code / Claude Desktop (manual)

Add to .mcp.json or claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-virtualbox": {
      "command": "npx",
      "args": ["-y", "mcp-virtualbox"]
    }
  }
}

Requires VirtualBox 7.x and Node.js 18+.

Provide your own OS installer ISO - just tell the AI where it is and what OS to install.


What is this

An MCP server that wraps VirtualBox, giving AI assistants 30 tools to create, install, and operate VMs through two modes:

  1. Vision loop - screenshot, read screen, send keyboard/mouse. Works with any OS, any installer, any GUI.
  2. Text mode - SSH, WinRM, or Guest Additions for fast command execution.

How it works

vm_create("WindowsXP")          -> VM with correct settings (IDE, 512MB RAM)
vm_attach_media(iso)             -> Mount installer ISO
vm_install_guide("xp")           -> Step-by-step guide with gotchas
vm_screenshot()                  -> AI sees "Welcome to Setup"
vm_keyboard_scancode("enter")    -> AI presses Enter
  ... repeat until installed ...
vm_guest_exec("cmd.exe", ["/c", "dir"])  -> Text-based control

Tools

30 tools across 6 categories:

CategoryTools
Lifecycle (15)vm_list vm_info vm_create vm_start vm_stop vm_delete vm_pause vm_resume vm_reset vm_attach_media vm_snapshot vm_modify vm_list_ostypes vm_shared_folder_add vm_shared_folder_remove
Display (2)vm_screenshot vm_screen_info
Input (3)vm_keyboard_scancode vm_keyboard_type vm_mouse_click
Guest Control (3)vm_guest_exec vm_guest_copy_to vm_guest_copy_from
Network (6)vm_exec_ssh vm_exec_winrm vm_get_guest_ip vm_wait_for_guest_additions vm_wait_for_network vm_add_nat_port_forward
Knowledge (1)vm_install_guide

Testing status

Windows XPWindows 7/10/11Ubuntu/Linux
OS install (vision loop)x--
Guest Additionsx--
Guest execx--
SSH---
WinRM---
Screenshot + keyboardx--
Mouse clickx--

Host platforms: Windows x64 (tested), Linux/macOS (should work).

x = tested, - = should work, not yet verified

Environment variables

VariableDefault
VBOXMANAGE_PATHAuto-detected
VBOXMANAGE_DRY_RUNfalse
VBOXMANAGE_DEBUGfalse

From source

git clone https://github.com/chryaner/mcp-virtualbox.git
cd mcp-virtualbox
npm install && npm run build

Python 3 with vboxapi module is optional (only needed for vm_mouse_click).

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for VirtualBox MCP server for AI-driven VM operation from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-virtualbox)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps