Skip to main content
Glama

VMware Fusion MCP Server

by yeahdongcn
MIT License
6
conftest.py688 B
"""Test configuration for pytest.""" import pytest @pytest.fixture def mock_vmware_client(): """Mock VMware client for testing.""" from unittest.mock import AsyncMock client = AsyncMock() # Mock list_vms client.list_vms.return_value = [ {"id": "vm1", "path": "/path/to/vm1.vmx"}, {"id": "vm2", "path": "/path/to/vm2.vmx"}, ] # Mock get_vm_info client.get_vm_info.return_value = { "id": "vm1", "path": "/path/to/vm1.vmx", "cpu": {"cores": 2, "threads": 4}, "memory": {"size": "4GB"}, } # Mock power_vm client.power_vm.return_value = {"status": "success", "action": "on"} return client

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/yeahdongcn/vmware-fusion-mcp-server'

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