Skip to main content
Glama
Exploo0Osion

hyperv-mcp

by Exploo0Osion

πŸ”§ hyperv-mcp

δΈ­ζ–‡

Local MCP server for controlled Hyper-V VM operations. It uses PowerShell Direct, so guest networking and WinRM are not required.

πŸ“‹ Requirements

  • Windows 10/11 Pro, Enterprise, or Education

  • Hyper-V enabled

  • Python 3.11 or later available as python.exe

  • A Windows guest VM and an administrator account for PowerShell Direct

βš™οΈ Installation

Run PowerShell as Administrator:

git clone https://github.com/Exploo0Osion/hyperv-mcp.git
cd hyperv-mcp
Copy-Item .\config.json.template .\config.json

Edit config.json:

{
  "vm_name": "WINPWN",
  "guest_username": "Administrator",
  "guest_password": "your_guest_password",
  "baseline_snapshot": "BASELINE"
}

Install and start the Windows service:

.\install.ps1

The script installs the Python dependencies, registers the service, and starts it automatically. It uses the current terminal's python.exe and does not create a virtual environment.

During installation, it creates the dedicated local service account HyperVLabSvc, adds it to Hyper-V Administrators, grants it the service logon right, and runs the Windows service under this account.

To uninstall:

.\install.ps1 -Uninstall

πŸ”Œ MCP Configuration

Add this Streamable HTTP configuration to your MCP client:

{
  "mcpServers": {
    "hyperv-mcp": {
      "url": "http://127.0.0.1:18745/mcp"
    }
  }
}

The server listens at http://127.0.0.1:18745/mcp. No command, Python path, or manually started MCP process is required.

πŸ› οΈ Tools

Tool

Description

stat

Query VM status

save

Create a checkpoint

load

Restore a checkpoint

drop

Delete a checkpoint

run

Run ps, cmd, or native in the guest

put

Transfer a file from host to guest

get

Transfer a file from guest to host

Guest and host file paths must be absolute. All operations target the VM configured in config.json.

πŸ›‘οΈ Safety Limits

  • The service only listens on 127.0.0.1.

  • Operations for the single VM are serialized.

  • The configured baseline_snapshot cannot be overwritten or deleted.

  • Host transfers reject C:\Windows, C:\Program Files, C:\Program Files (x86), and C:\ProgramData.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
–Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for controlling a Windows guest VM over WinRM, enabling PowerShell/CMD execution, file transfer, reboot, and KDNET debug configuration, typically paired with kd-mcp.
    12
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables managing VMware Workstation Pro VMs via MCP tools, including power operations, snapshots, guest processes, and network configuration through the vmrest, vmrun, and vmcli interfaces.

View all related MCP servers

Related MCP Connectors

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

  • Remote MCP for Copilot CLI switch gate MCP, structured receipts, audit logs, and reviewer-ready evid

  • Remote MCP for A2A caller identity, scope policy, verdict receipts, and audit history.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Exploo0Osion/hyperv-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server