hyperv-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hyperv-mcpWhat's the current status of the VM?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π§ 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.exeA 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.jsonEdit config.json:
{
"vm_name": "WINPWN",
"guest_username": "Administrator",
"guest_password": "your_guest_password",
"baseline_snapshot": "BASELINE"
}Install and start the Windows service:
.\install.ps1The 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 |
| Query VM status |
| Create a checkpoint |
| Restore a checkpoint |
| Delete a checkpoint |
| Run |
| Transfer a file from host to guest |
| 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_snapshotcannot be overwritten or deleted.Host transfers reject
C:\Windows,C:\Program Files,C:\Program Files (x86), andC:\ProgramData.
This server cannot be installed
Maintenance
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
- AlicenseAqualityDmaintenanceMCP 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.12MIT
- AlicenseNot gradedqualityCmaintenanceEnables remote execution of commands, file operations, screenshots, and clipboard access on Windows machines through MCP tools.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables managing VMware Workstation Pro VMs via MCP tools, including power operations, snapshots, guest processes, and network configuration through the vmrest, vmrun, and vmcli interfaces.
- AlicenseNot gradedqualityAmaintenanceEnables cloud agents to securely operate local machine resources (files, commands, screenshots) via standard MCP protocol.MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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