VMware VIX MCP Server for VM Management

VMware VIX MCP Server for VM Management

vixmcp.ai.bridge•bybivex

A .NET 9.0 MCP server that exposes VMware VIX virtual machine operations, such as guest command execution and process listing, as tools for AI assistants and automation workflows.

License: Not specified•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Establishes a persistent session with a VM and guest OS through the ConnectAndLogin tool.
  • •Executes commands in the guest OS using an active session and retrieves output.
  • •Lists all running processes in the guest VM and supports process monitoring.
  • •Tests VM connectivity and guest authentication without maintaining a session.

BEST FOR

  • •Using natural language in Cursor IDE to connect to a VMware VM and list running processes.
  • •Running guest OS commands such as disk usage checks through an AI assistant.
  • •Validating VM connectivity and credentials before performing automation tasks.

ABOUT VIXMCP.AI.BRIDGE

VMware VIX MCP Server for VM Management is cataloged as an MCP server attributed to bivex. A .NET 9.0 MCP server that exposes VMware VIX virtual machine operations, such as guest command execution and process listing, as tools for AI assistants and automation workflows. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for VMware VIX MCP Server for VM Management are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Where does the MCP server get the VMware VIX library?

The VMware VIX DLL is not included in the repository and must be obtained from VMware's official SDK distribution and placed in the application directory.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 9499944bcd1a · 采集于 2026-11-13 13:38:04 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

🖥️ .NET Bindings for VMware VIX API and MCP Integration

.NET VMware MCP License Platform Automated by 🤖

🚀 Powerful VMware virtual machine automation through AI-driven Model Context Protocol integration

Keywords: VMware VIX • Model Context Protocol • .NET 9.0 • AI Automation • Virtual Machine Management • Cursor IDE • C# Bindings

This repository contains .NET bindings for the VMware VIX (Virtual Infrastructure eXtension) API and a Model Context Protocol (MCP) server implementation for VM management operations.

📦 Projects

🔧 VixBindings

VMware VIX API .NET Library
A comprehensive .NET 9.0 library providing C# bindings for the VMware VIX API, enabling programmatic control of VMware virtual machines.

🤖 McpProcessToolSample

Model Context Protocol Server
A .NET 9.0 console application implementing an MCP server that exposes VMware VIX operations as tools for AI assistants and automation workflows.

✨ Features

🔧 VixBindings Library

  • Complete VIX API Coverage: Full P/Invoke declarations for VMware VIX API
  • VM Lifecycle Management: Power on/off, suspend, reset operations
  • Guest OS Operations: File transfer, command execution, process management
  • Snapshot Management: Create, revert, and manage VM snapshots
  • Shared Folders: Configure and manage host-guest shared directories
  • Error Handling: Comprehensive error checking and reporting
  • Helper Utilities: Simplified command execution and file operations

🤖 MCP Server Implementation

  • Session Management: Persistent VM connections for multiple operations
  • Guest Command Execution: Run commands in guest OS and retrieve output
  • Process Monitoring: List and manage processes in guest VMs
  • Connection Testing: Validate VM connectivity and guest access
  • MCP Protocol: Standard Model Context Protocol for AI integration

Prerequisites

System Requirements

  • Windows 10/11 (x64)
  • .NET 9.0 Runtime
  • VMware Workstation Pro/Player or VMware vSphere
  • VMware VIX API (Vix64AllProductsDyn.dll)

VMware Setup

  1. Download and install VMware VIX API SDK from VMware's official website
  2. Accept the VMware SDK Agreement during SDK installation
  3. Install VMware Workstation Pro/Player or connect to vSphere
  4. Ensure target VMs have VMware Tools installed
  5. Configure guest OS with appropriate user accounts
  6. Copy Vix64AllProductsDyn.dll from the VIX SDK to the application directory

Note: The VIX DLL is not included in this repository and must be obtained from VMware's official SDK distribution.

Quick Start

Building the Projects

# Clone the repository
git clone <repository-url>
cd dotnet-bindings

# Build VixBindings library
cd VixBindings
dotnet build

# Build MCP server
cd ../McpProcessToolSample
dotnet build

Running the MCP Server

cd McpProcessToolSample
dotnet run

The MCP server will start with stdio transport, ready to receive MCP protocol messages.

Configuring in Cursor IDE

To integrate the MCP server with Cursor IDE, add the following configuration to your MCP settings file (~/.cursor/mcp.json or C:\Users\{Username}\.cursor\mcp.json):

{
  "mcpServers": {
    "mcpWinAuditServer": {
      "command": "cmd",
      "args": [
        "/c",
        "C:\\path\\to\\your\\McpProcessToolSample.exe"
      ]
    }
  }
}

Configuration Steps:

  1. Build the McpProcessToolSample project: dotnet build -c Release
  2. Note the output path of McpProcessToolSample.exe
  3. Update the path in the MCP configuration file
  4. Restart Cursor IDE to load the MCP server
  5. The VMware VIX tools will be available in Cursor's AI assistant

Note: Ensure the VIX DLL (Vix64AllProductsDyn.dll) is in the same directory as the executable or in your system PATH.

Using VixBindings Library

using VixBindings;

// Basic VM connection example
var hostHandle = VixApi.VixHost_Connect(/* connection parameters */);
var vmHandle = VixApi.VixHost_OpenVM(hostHandle, "path/to/vm.vmx", /*...*/);

// Wait for VMware Tools and login
VixApi.VixVM_WaitForToolsInGuest(vmHandle, 600, /*...*/);
VixApi.VixVM_LoginInGuest(vmHandle, "username", "password", /*...*/);

// Execute command in guest
var result = VixApiHelper.RunGuestCommandAndGetOutput(
    vmHandle, 
    "ps aux", 
    "/tmp/output.txt", 
    "C:\\temp\\output.txt"
);

MCP Tools Available

ConnectAndLogin

Establishes a persistent session with a VM and guest OS.

Parameters:

  • hostName: VMware host address
  • hostPort: Connection port
  • hostUserName: Host authentication username
  • hostPassword: Host authentication password
  • vmxFilePath: Path to VM configuration file
  • guestUserName: Guest OS username
  • guestPassword: Guest OS password

ExecCommandInGuestSession

Executes commands in the guest OS using an active session.

Parameters:

  • command: Command to execute
  • guestTempPath: Temporary directory in guest (default: /tmp)
  • hostTempPath: Temporary directory on host (default: C:\\temp)

ListAllProcessesInGuest

Lists all running processes in the guest VM.

Parameters:

  • guestTempPath: Temporary directory in guest
  • hostTempPath: Temporary directory on host

CheckGuestConnection

Tests connectivity and authentication without maintaining a session.

Cursor IDE Integration

Once configured in Cursor IDE, you can use natural language to interact with VMware VMs:

Example prompts:

  • "Connect to my Ubuntu VM and list all running processes"
  • "Execute 'df -h' command in the guest OS to check disk usage"
  • "Check if I can connect to the VM with these credentials"
  • "Run a system update command in the guest VM"

The AI assistant will automatically use the appropriate MCP tools based on your requests, handling VM connections, command execution, and result parsing.

📸 Usage Examples

See real-world examples of the MCP server in action: View Examples →

The examples showcase:

  • 🔗 VM connection through natural language
  • ⏱️ System monitoring commands
  • 👤 User privilege checking
  • 💾 Disk usage analysis
  • 🤖 AI-driven automation workflow

Configuration

Project Dependencies

VixBindings.csproj:

<PackageReference Include="System.Text.Encoding.CodePages" Version="9.0.6" />

McpProcessToolSample.csproj:

<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.6" />
<PackageReference Include="ModelContextProtocol" Version="0.3.0-preview.1" />
<ProjectReference Include="..\VixBindings\VixBindings.csproj" />

Runtime Requirements

  • Obtain Vix64AllProductsDyn.dll from the official VMware VIX SDK and place it in the application directory
  • Configure appropriate temporary directories for file operations
  • Set up guest OS user accounts with necessary permissions
  • Ensure compliance with VMware SDK Agreement terms

Error Handling

The library provides comprehensive error handling through:

  • VIX error code translation to human-readable messages
  • Structured error responses in MCP tools
  • Timeout handling for long-running operations
  • Resource cleanup and handle management

Security Considerations

  • Store VM credentials securely (avoid hardcoding)
  • Use least-privilege accounts for guest operations
  • Validate and sanitize command inputs
  • Monitor temporary file cleanup
  • Consider network security for remote VM connections

Troubleshooting

Common Issues

"VIX_E_TOOLS_NOT_RUNNING"

  • Ensure VMware Tools are installed and running in guest
  • Check guest OS power state

"VIX_E_AUTHENTICATION_FAIL"

  • Verify guest credentials are correct
  • Check guest OS user account permissions
  • Ensure interactive login is allowed

"File not found" errors

  • Verify VIX DLL is in the correct location
  • Check temporary directory permissions
  • Validate VM file paths

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

Project Code

The .NET bindings and MCP server implementation in this repository are provided as-is for educational and development purposes.

VMware VIX API License

IMPORTANT: This project uses the VMware VIX API, which is subject to the VMware Software Developer Kit (SDK) Agreement. Key points:

  • The VIX API SDK is provided "AS IS" without warranties
  • You may use it to create software that communicates with VMware products
  • Redistributable Code must be distributed in object code form only
  • You cannot reverse engineer or create derivative works of the Redistributable Code
  • VMware retains all intellectual property rights to the SDK
  • No VMware support is provided for SDK usage
  • You cannot represent your software as certified by VMware
  • VMware trademarks cannot be used without permission

Compliance Requirements

Before using this code:

  1. Download the official VIX API SDK from VMware's website
  2. Review and accept the complete VMware SDK Agreement
  3. Ensure you have the proper Vix64AllProductsDyn.dll from the official SDK
  4. Comply with all redistribution and usage restrictions
  5. Do not redistribute the VMware SDK components separately

Disclaimer

This repository does not include VMware's proprietary VIX API components. Users must obtain these directly from VMware and comply with VMware's licensing terms. The authors of this repository are not responsible for any licensing violations or improper use of VMware's intellectual property.

Usage Through AI Assistants (Cursor IDE, etc.)

Using this MCP server through AI assistants like Cursor IDE is compliant with VMware's SDK Agreement as long as:

  • The underlying purpose remains "creating software that communicates with VMware Software"
  • Users have properly licensed VMware products (Workstation Pro/Player, vSphere, etc.)
  • The VIX SDK components are obtained through official VMware channels
  • No reverse engineering or unauthorized modifications are performed
  • The AI assistant is simply automating legitimate VM management tasks

This integration does not change the licensing requirements - users must still comply with all VMware SDK Agreement terms.


🏷️ Tags

#VMware #VIX #DotNet #CSharp #ModelContextProtocol #MCP #AI #Automation #VirtualMachine #VMAutomation #AIAssistant #CursorIDE #DevTools #Virtualization #WindowsDevelopment #SDK #API #CloudComputing #Infrastructure #DevOps

Support

For issues and questions:

  1. Check the troubleshooting section above
  2. Review VMware VIX API documentation
  3. Create an issue in this repository

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for VMware VIX MCP Server for VM Management from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/vixmcp.ai.bridge)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps