Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable detailed logs, true or false.false
MCP_PORTNoPort used by the MCP server in HTTP mode.10702
WEB_PORTNoPort used by the web interface/API.10700
LOG_LEVELNoLog level: DEBUG, INFO, WARNING, or ERROR.INFO
VM_AUTH_USERNoUsername for the web interface authentication.admin
VM_MCP_TOKENNoBearer token for the MCP HTTP endpoint.
MCP_TRANSPORTNoTransport mode for the MCP server, either stdio or http.stdio
DEFAULT_DISK_GBNoDefault disk size in GB for newly created VMs.20
DEFAULT_NETWORKNoDefault network mode for new VMs.NAT
VBOXMANAGE_PATHNoPath to the VBoxManage executable. On Windows this may be C:\Program Files\Oracle\VirtualBox\VBoxManage.exe.VBoxManage
VM_VNC_PASSWORDNoPassword used for VNC/noVNC console access.
VBOX_MANAGE_PATHNoAlias for the path to the VBoxManage executable. On Windows this may be C:\Program Files\Oracle\VirtualBox\VBoxManage.exe.VBoxManage
VM_AUTH_PASSWORDNoPassword for the web interface authentication.changeme
DEFAULT_MEMORY_MBNoDefault RAM in MB for newly created VMs.2048
REQUIRE_DELETE_CONFIRMATIONNoRequire confirmation before deleting a VM.true

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Oracle VirtualBox VM management, Docker sandbox execution, snapshots, networking, and storage. Use vm_management for VM lifecycle, sandbox_management for isolated code execution, snapshot_management for save/restore points, network_management for host-only and NAT networks, storage_management for disks and controllers, discovery_management to find VMs, system_management for VirtualBox host info and OS types.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
vm_managementA

Virtual machine lifecycle management.

Actions: list, create, start, stop, delete, clone, reset, pause, resume, info. For LLM config suggestions or sandbox workflow planning use vm_agentic_workflow.

Return Format

Dict with success (bool), human-readable message, the action performed, and operation data (vms, vm_info, result). Failures carry a human-readable error.

Examples

await vm_management(action="list")
await vm_management(action="info", vm_name="Ubuntu-Dev")
await vm_management(action="create", vm_name="NewVM", os_type="Ubuntu_64", memory_mb=4096, disk_size_gb=40)
await vm_management(action="start", vm_name="NewVM")
network_managementA

Comprehensive network management portmanteau tool.

Consolidates all network operations into a single interface. Use the action parameter to specify which operation to perform.

Return Format

Dict with success (bool), human-readable message, the action performed, and operation data (networks, adapters, result). Failures carry a human-readable error.

Examples

await network_management(action="list_networks")
await network_management(action="create_network", network_name="MyNetwork", ip_address="192.168.56.1", netmask="255.255.255.0")
await network_management(action="list_adapters", vm_name="MyVM")
await network_management(action="configure_adapter", vm_name="MyVM", adapter_slot=0, network_type="hostonly", network_name="MyNetwork")
await network_management(action="remove_network", network_name="MyNetwork")
snapshot_managementA

Comprehensive snapshot management portmanteau tool.

Consolidates all VM snapshot operations into a single interface. All actions require vm_name; create/restore/delete also require snapshot_name.

Return Format

Dict with success (bool), human-readable message, the action performed, vm_name, snapshot_name, and operation data. Failures carry a human-readable error.

Examples

await snapshot_management(action="list", vm_name="MyVM")
await snapshot_management(action="create", vm_name="MyVM", snapshot_name="BeforeUpdate", description="Before system update")
await snapshot_management(action="restore", vm_name="MyVM", snapshot_name="BeforeUpdate")
await snapshot_management(action="delete", vm_name="MyVM", snapshot_name="BeforeUpdate")
storage_managementB

Comprehensive storage management portmanteau tool.

Consolidates all storage operations into a single interface. Use the action parameter to specify which operation to perform.

Return Format

Dict with success (bool), human-readable message, the action performed, and operation data (controllers, disks, result). Failures carry a human-readable error.

Examples

await storage_management(action="list_controllers", vm_name="MyVM")
await storage_management(action="create_controller", vm_name="MyVM", controller_name="SATA Controller", controller_type="sata")
await storage_management(action="create_disk", disk_name="MyDisk.vdi", disk_size_gb=50)
await storage_management(action="attach_disk", vm_name="MyVM", disk_path="/path/to/MyDisk.vdi")
await storage_management(action="remove_controller", vm_name="MyVM", controller_name="SATA Controller")
system_managementC

Comprehensive system management portmanteau tool.

Consolidates system information and diagnostics operations into a single interface. Most actions need no vm_name.

Return Format

Dict with success (bool), human-readable message, the action performed, and operation data (system info, version, OS types, metrics, screenshot path). Failures carry a human-readable error.

Examples

await system_management(action="host_info")
await system_management(action="vbox_version")
await system_management(action="ostypes")
await system_management(action="metrics", vm_name="MyVM")
await system_management(action="screenshot", vm_name="MyVM")
sandbox_managementB

Docker and Windows Sandbox code execution and bringup tool.

Ephemeral containers, stateful sessions, Windows Sandbox launch/status, and automated naked-install testing for fleet repos.

Return Format

Dict with success (bool), human-readable message, the action performed, and operation data (result, sessions, job). Failures carry a human-readable error.

Examples

await sandbox_management(action="execute_code", code="print('hi')", language="python")
await sandbox_management(action="session_create", sandbox_name="dev")
await sandbox_management(action="win_sandbox_status")
await sandbox_management(action="win_sandbox_naked_test", repo="plex-mcp")
vm_agentic_workflowB

Sampling-backed agentic operations for virtualization.

  • suggest_config: VirtualBox VM settings for a use case via LLM sampling.

  • sandbox_workflow: spin-up → work → snapshot → tear-down safety plan.

  • workflow: autonomous multi-step VM orchestration goal. All actions use ctx.sample() when available, else sensible defaults.

Return Format

Dict with success (bool), human-readable message or error, the action performed, and operation data (suggestion, plan, steps).

Examples

await vm_agentic_workflow(action="suggest_config", use_case="CI runner")
await vm_agentic_workflow(action="sandbox_workflow", goal="test unsigned installer")
await vm_agentic_workflow(action="workflow", goal="clone base, snapshot, update, verify")
info_toolsA

Comprehensive tool discovery and help portmanteau tool.

App-specific help and introspection (separate from MCP protocol's native tools/list — clients get schemas automatically; this is for users).

Return Format

Dict with success (bool), human-readable message, the action performed, and per-action data (tools+count, info, help). Failures carry a human-readable error.

Examples

await info_tools(action="list_tools")
await info_tools(action="list_tools", category="vm")
await info_tools(action="tool_info", tool_name="vm_management")
await info_tools(action="tool_schema", tool_name="snapshot_management")
await info_tools(action="help")
show_vm_cardB

Display an interactive Prefab UI card for a single Virtual Machine.

Return Format

Structured Prefab UI card payload with status badge, hardware specs, and quick lifecycle actions. Error states carry status: "error" plus error.

Examples

await show_vm_card("Ubuntu-Dev")
show_hypervisor_health_cardA

Display an interactive Prefab UI dashboard card for hypervisor host health and VM inventory.

Return Format

Structured Prefab UI dashboard payload with host CPU/RAM utilization and VM counts. Error states carry status: "error" plus error.

Examples

await show_hypervisor_health_card()
show_sandbox_status_cardA

Display an interactive Prefab UI card for Docker and Windows Sandbox status.

Return Format

Structured Prefab UI sandbox status card payload.

Examples

await show_sandbox_status_card()
virtualization_shutdownA

Shut down the virtualization-mcp server gracefully.

Lets an agent stop the server (e.g. before upgrades or restarts) without killing the process from the outside.

Return Format

Dict with success, human-readable message, and the shutdown reason. The process exits after responding.

Examples

await virtualization_shutdown(reason="upgrading to 1.7.0")

Prompts

Interactive templates invoked by user choice

NameDescription
virtualization_expertLoad instructions for acting as a virtualization expert using this MCP server's tools (VMs, snapshots, storage, networking).

Resources

Contextual data attached and managed by the client

NameDescription
virtualization-expert/SKILL.mdAct as a virtualization expert using the Virtualization MCP tools (VMs, snapshots, storage, networking, sandboxes)
virtualization-expert/_manifestFile listing for virtualization-expert

TDQS

A3.6/5.0

Scored across 12 tools

Disambiguation4/5

The six `*_management` portmanteaus cleanly partition the domain by resource (VM, network, snapshot, storage, system, sandbox), so an agent can pick the right one from the resource alone. Minor overlap exists: health/status information is reachable both via `system_management` actions (`host_info`, `metrics`) and via `show_hypervisor_health_card`/`show_sandbox_status_card`, and sandbox planning lives in both `sandbox_management` and `vm_agentic_workflow(action="sandbox_workflow")`, so a few intents have two valid entry points.

Naming Consistency4/5

The dominant pattern is `<domain>_management` with an action parameter, applied consistently across vm/network/snapshot/storage/system/sandbox. The `show_*_card` family is a coherent secondary group, but `info_tools`, `vm_agentic_workflow`, and `virtualization_shutdown` break the noun_management convention and mix verb-less and verb-first styles.

Tool Count5/5

Twelve tools is well within the sweet spot, and the portmanteau design keeps the surface small by folding dozens of operations (clone, reset, pause, controller/disk wiring, sandbox sessions) into action parameters. Each tool maps to a real subsystem, and the three UI card tools plus shutdown/help are justified supporting utilities.

Completeness4/5

Coverage is strong: full VM lifecycle, snapshot create/restore/delete, network and adapter configuration, storage controllers/disks, host diagnostics and screenshots, plus sandbox execution and LLM-assisted planning. Gaps are minor and workaroundable — no obvious export/import or appliance operations, and disk detach/media/guest-additions actions are not evidenced in the described action sets.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues