Feedback

Basic information

Runtime
TypeScript
Category
License
MIT
Transports
stdio
Author
chryaner
Submitted by
Community
Quality
20
Stars
5

About Mcp Virtualbox Server

Let AI see, click, type, and fully operate virtual machines

Mcp Virtualbox is a MCP server in the Other category listed in the AddMCP.net directory, published by chryaner. It exposes 30 tools, including vm_list, vm_info, vm_create, vm_start and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 5 GitHub stars. Source code is hosted on github.com. Related topics: virtualbox, vm.

Setup

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

Mcp Virtualbox config

Add this server to your MCP-compatible client using the configuration below.

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

Mcp Virtualbox tools

  • vm_list — List all VirtualBox VMs with their state
    (no parameters)
  • vm_info — Get detailed VM info
    vm:string*
  • vm_create — Create a new VM with OS type, RAM, disk, CPU, controllers, and USB tablet mouse. Auto-detects legacy OS types (WindowsXP, Windows2000, DOS, etc.) and uses IDE instead of SATA since they lack AHCI drivers. Defaults for RAM/CPU/disk are chosen based on OS type if not specified.
    name:string*, osTypeId:string*, memoryMB:number, cpus:number, diskSizeMB:number, basedir:string
  • vm_start — Start a VM
    vm:string*, headless:boolean
  • vm_stop — Stop a VM
    vm:string*, method:string
  • vm_delete — Delete a VM and optionally all its files (disks, snapshots, etc.)
    vm:string*, deleteFiles:boolean
  • vm_pause — Pause a running VM
    vm:string*
  • vm_resume — Resume a paused VM
    vm:string*
  • vm_reset — Hard reset a running VM (like pressing the reset button)
    vm:string*
  • vm_shared_folder_add — Add a shared folder between host and guest. Requires Guest Additions in the guest. The folder appears as a network drive in Windows guests or can be mounted in Linux guests.
    vm:string*, name:string*, hostPath:string*, writable:boolean, automount:boolean, transient:boolean
  • vm_shared_folder_remove — Remove a shared folder from a VM
    vm:string*, name:string*, transient:boolean
  • vm_attach_media — Attach ISO/disk to VM, eject media, or attach Guest Additions ISO. For legacy OS VMs (XP, 2000, etc.) ISO goes on IDE port 1 device 0. For modern OS VMs, ISO goes on IDE port 0 device 0.
    vm:string*, storagectl:string, port:number, device:number, type:string, medium:string*
  • vm_snapshot — Manage VM snapshots
    vm:string*, action:string*, snapshotName:string
  • vm_modify — Modify arbitrary VM settings via VBoxManage modifyvm
    vm:string*, args:array*
  • vm_list_ostypes — List available OS type IDs for VM creation
    (no parameters)
  • vm_screenshot — Take a screenshot of the VM display, returns as image. Use this in a vision loop during OS installation: screenshot → analyze → send input → repeat.
    vm:string*
  • vm_screen_info — Get VM display resolution and settings
    vm:string*
  • vm_keyboard_scancode — Send named key combinations as PS/2 scancodes (e.g. 'enter', 'ctrl+alt+delete', 'f8', 'tab'). Use this for special keys, shortcuts, and navigation. Numeric-keypad keys are available as kp_0..kp_9, kp_enter, kp_dot, kp_plus, kp_minus, kp_star, kp_slash. For keys not in the named map, pass raw make/break bytes via 'raw'.
    vm:string*, keys:string, raw:string, count:number, delayMs:number
  • vm_keyboard_type — Type printable text string into the VM (uses keyboardputstring). For special keys use vm_keyboard_scancode instead. Long strings are chunked with an inter-chunk delay to avoid overrunning the guest keyboard buffer (which silently drops characters).
    vm:string*, text:string*, chunkSize:number, delayMs:number
  • vm_mouse_click — Click at absolute screen coordinates (requires USB tablet mouse mode, enabled by vm_create). Coordinates match screenshot pixel positions. Uses Python VirtualBox API helper.
    vm:string*, x:number*, y:number*, button:string, doubleClick:boolean
  • vm_guest_exec — Execute a command inside the guest via Guest Additions (no network required). Guest Additions must be installed and running.
    vm:string*, executable:string*, args:array, username:string*, password:string, timeoutMs:number
  • vm_guest_copy_to — Copy a file from host to guest via Guest Additions
    vm:string*, hostPath:string*, guestPath:string*, username:string*, password:string
  • vm_guest_copy_from — Copy a file from guest to host via Guest Additions
    vm:string*, guestPath:string*, hostPath:string*, username:string*, password:string
  • vm_exec_ssh — Execute a command on a Linux guest via SSH
    host:string, port:number, username:string*, password:string, privateKey:string, command:string*, timeoutMs:number
  • vm_exec_winrm — Execute a command on a Windows guest via WinRM (SOAP/HTTP, Basic auth)
    host:string, port:number, username:string*, password:string*, command:string*, usePowershell:boolean, timeoutMs:number
  • vm_get_guest_ip — Get the guest IP address via VirtualBox guest properties
    vm:string*
  • vm_wait_for_guest_additions — Wait until Guest Additions are running (polls GuestAdditionsRunLevel)
    vm:string*, timeoutMs:number, pollIntervalMs:number
  • vm_wait_for_network — Wait until the guest has a valid IP address
    vm:string*, timeoutMs:number, pollIntervalMs:number
  • vm_add_nat_port_forward — Add a NAT port forwarding rule to the VM
    vm:string*, name:string*, protocol:string, hostPort:number*, guestPort:number*, adapter:number
  • vm_install_guide — Get OS-specific installation guide with step-by-step instructions, gotchas, and recommended settings. Call this BEFORE starting an OS installation to avoid common pitfalls. Available guides: windowsxp, windows7, windows10, windows11, ubuntu, linux
    os:string*

Overview

What is Mcp Virtualbox?

Mcp Virtualbox is an MCP server that gives AI full control over VirtualBox virtual machines through 30 tools and two operating modes. It lets an AI see, click, type, and operate VMs from bare‑metal OS installation to daily use, without human intervention.

How to use Mcp Virtualbox?

Install via Claude Code using /plugin marketplace add chryaner/mcp-virtualbox and /plugin install mcp-virtualbox@mcp-virtualbox, or configure manually by adding the server to your MCP settings with npx -y mcp-virtualbox. The server requires VirtualBox 7.x and Node.js 18+, and you must provide your own OS installer ISO.

Key features of Mcp Virtualbox

  • Two modes: Vision loop and Text mode
  • Vision loop takes screenshots and sends keyboard/mouse input
  • Text mode uses SSH, WinRM, or Guest Additions for commands
  • 30 tools for full VirtualBox control
  • Installs any OS from an ISO without scripting
  • Works with legacy operating systems (CentOS 6, Windows XP, 2000)
  • Creates disposable VMs for untrusted files

Use cases of Mcp Virtualbox

  • Install any OS from an ISO – AI clicks through the entire installer
  • Test an app’s installer on a clean Windows machine
  • Compile code on legacy Linux (e.g., CentOS 6)
  • Run legacy software that needs old Windows (XP, 2000)
  • Create disposable VMs for untrusted files

Frequently asked questions

1 What does Mcp Virtualbox do that alternatives don’t?

It combines vision‑based interaction (screenshots + keyboard/mouse) with text‑mode automation (SSH, WinRM, Guest Additions) to give AI full control over VirtualBox VMs – from OS installation to daily operation.

2 What are the system requirements?

VirtualBox 7.x and Node.js 18+ are required. You must provide your own OS installer ISO.

3 How do I install Mcp Virtualbox?

You can install it via Claude Code using the plugin marketplace commands or manually by adding the server configuration to your MCP settings.

4 What are the two operating modes?

Vision loop takes screenshots of the VM screen and sends keyboard/mouse input. Text mode switches to SSH, WinRM, or Guest Additions for fast command execution once the OS is running.

5 Can I install an OS from an ISO automatically?

Yes – the AI can click through the entire operating system installer, no scripting needed.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬