The rancher-mcp-server Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Model Context Protocol (MCP) server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the File System domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"rancher-mcp-server": {
"command": "go",
"args": [
"run",
"github.com/mrostamii/rancher-mcp-server@latest"
]
}
}
}
Model Context Protocol (MCP) server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps. A walkthrough of how this MCP server works (example in Cursor). https://github.com/user-attachments/assets/7d8fb814-e504-47b4-956d-28f43aeea3b8 - Harvester toolset: List/get VMs, images, volumes, networks, hosts; VM actions; addon list/switch (enable/disable)