MCP Hub
Back to servers

Virtualbox-mcp-server

A Model Context Protocol server for managing VirtualBox virtual machines via Vagrant, supporting full lifecycle management, remote command execution, and synchronized development environments.

Tools
19
Updated
Jan 22, 2026

Virtualbox MCP Server

A Model Context Protocol (MCP) server for managing VirtualBox VMs via Vagrant.

✨ Features

19 MCP Tools (100% Feature Parity with legacy Go server):

VM Lifecycle

ToolDescription
create_vmCreate a basic Vagrant VM
create_dev_vmCreate VM with full config (CPU, memory, ports, sync)
ensure_dev_vmStart or create VM if not exists
get_vm_statusGet VM state
list_vmsList all VMs
destroy_vmDestroy VM

Execution

ToolDescription
exec_commandExecute command in VM
exec_with_syncExecute with rsync before/after
run_background_taskRun nohup background task

Environment Setup

ToolDescription
setup_dev_environmentInstall runtimes (node, python, go, etc.)
install_dev_toolsInstall tools (git, docker, nginx, etc.)
configure_shellConfigure aliases and env vars

File Operations

ToolDescription
upload_fileUpload file to VM
search_filesGrep search in VM
configure_syncConfigure file watcher
sync_to_vmRsync host→VM
sync_from_vmRsync VM→host
sync_statusGet sync state
resolve_conflictResolve sync conflicts

🚀 Quick Start

# Clone and build
git clone https://github.com/usemanusai/Virtualbox-mcp-server.git
cd Virtualbox-mcp-server
npm install
npm run build

⚙️ Configuration

Add to your mcp_config.json:

{
  "mcpServers": {
    "vagrant-mcp": {
      "command": "node",
      "args": ["C:\\path\\to\\Virtualbox-mcp-server\\apps\\mcp-server\\dist\\index.js"],
      "env": {
        "LOG_LEVEL": "info",
        "PATH": "C:\\Program Files (x86)\\Vagrant\\bin;..."
      }
    }
  }
}

📦 Architecture

Virtualbox-mcp-server/
├── apps/mcp-server/        # Main MCP server (19 tools)
├── packages/
│   ├── vagrant-client/     # Vagrant CLI wrapper
│   ├── sync-engine/        # Chokidar + rsync
│   └── shared-utils/       # Logger

License

MIT

Reviews

No reviews yet

Sign in to write a review