VixMCP.Ai.Bridge
.NET bindings for VMware VIX API with Model Context Protocol server for AI-driven virtual machine automation
claude mcp add --transport stdio bivex-vixmcp.ai.bridge docker run -i bivex/vixmcp.ai.bridge \ --env VIX_DLL_PATH="Path to Vix64AllProductsDyn.dll (or directory containing it)" \ --env VMWARE_SDK_LICENSE_ACCEPTED="true (or appropriate acceptance flag)"
How to use
This MCP server exposes VMware VIX operations as MCP tools for AI-driven automation. The server wraps VIX API bindings and exposes guest command execution, process monitoring, session management, and connectivity checks through MCP-compatible messages, enabling AI assistants to control and inspect VMware VMs from workflows and Cursor IDE prompts. Once the server is running, you can send MCP protocol messages to start a persistent session with a VM, execute commands inside the guest OS, list processes, and verify connectivity. The tools are designed to be integrated into AI copilots or automation pipelines, allowing natural-language prompts to translate into concrete VIX actions.
To use the server with Cursor IDE or your MCP client, connect to the running MCP service according to your environment (in this setup, via the configured transport). Typical flows include establishing a persistent session with a target VM, running a command inside the guest, polling for results, and cleaning up the session when finished. The MCP tools provided map to common VIX operations such as ConnectAndLogin, ExecCommandInGuestSession, ListAllProcessesInGuest, and CheckGuestConnection, enabling seamless automation of VM management tasks through AI-assisted workflows.
How to install
Prerequisites
- Windows 10/11 (x64) with .NET 9.0 Runtime
- VMware Workstation Pro/Player or VMware vSphere
- VMware VIX API SDK (Vix64AllProductsDyn.dll) copied to the application directory or accessible via PATH
Installation steps
-
Clone the repository and set up the project sources (or pull the prebuilt container if using Docker): git clone <repository-url> cd <repository-root>
-
Build the .NET MCP server (if you are running natively): dotnet build
-
If using Docker (recommended for MCP deployment in this repo):
- Ensure Docker is installed and running.
- Build or pull the image for bivex/vixmcp.ai.bridge (reference in Dockerfile or image registry).
- Run the container with the required environment variables (VIX_DLL_PATH, etc.).
-
Prepare the VMware VIX DLL:
- Obtain Vix64AllProductsDyn.dll from the VMware VIX SDK.
- Copy it into the application directory or ensure it is accessible via PATH.
-
Run the MCP server:
- Native .NET (if built): dotnet run --project McpProcessToolSample
- Docker (recommended): docker run -i bivex/vixmcp.ai.bridge
-
Verify operation:
- Check logs for startup confirmation indicating MCP server is listening for protocol messages.
- Use your MCP client (e.g., Cursor IDE) to connect using the mcp.json configuration (see mcp_config in this document).
Prerequisites recap
- .NET 9.0 runtime (for native runs) or Docker for containerized runs
- VMware virtualization environment and VIX SDK
- Correct VIX DLL placement and environment setup
Notes
- The VIX DLL is not included in the repository and must be obtained from VMware.
- Ensure matching bitness (x64) for the VIX DLL and the host environment.
Additional notes
Tips and common issues:
- Ensure VIX DLL (Vix64AllProductsDyn.dll) is in the executable directory or in your system PATH; otherwise VIX operations will fail to load.
- The MCP server relies on a Windows host with VMware tools installed on guest VMs to execute guest commands successfully.
- If you encounter connectivity or authentication failures, verify guest OS credentials and network access between the host and the VM.
- When running via Docker, ensure the container has access to the VIX DLL or that the DLL is embedded in the image build context.
- Use the provided MCP tools (ConnectAndLogin, ExecCommandInGuestSession, ListAllProcessesInGuest, CheckGuestConnection) to structure reliable automation sequences and handle timeouts gracefully.
- For Cursor IDE integration, ensure your mcp.json points to the correct executable path and that the VIX-related DLLs are accessible to the running process.
Related MCP Servers
mcp-n8n-workflow-builder
AI-powered n8n workflow automation through natural language. MCP server enabling Claude AI & Cursor IDE to create, manage, and monitor workflows via Model Context Protocol. Multi-instance support, 17 tools, comprehensive docs. Build workflows conversationally without manual JSON editing.
opnsense
Modular MCP server for OPNsense firewall management - 88 tools providing access to 2000+ methods through AI assistants
jenkins -enterprise
The most advanced Jenkins MCP server available - Enterprise debugging, multi-instance management, AI-powered failure analysis, vector search, and configurable diagnostics for complex CI/CD pipelines.
mcpapp-colorpicker
A Model Context Protocol (MCP) App built with .NET that provides an interactive color picker with a rich UI
dnSpy
Headless CLI reflection debugger for .NET assemblies with MCP server support
RoslynMcpServer
Model Context Protocol server for Roslyn-powered C# refactoring operations