rancher-mcp-server

mrostamii/rancher-mcp-server
★ 10 stars Go File System Updated 6mo ago ✗ Risk
Model Context Protocol (MCP) server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps.
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

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.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Find all files in this project that have been modified in the last 24 hours."
"Read the contents of config.json and check if the database host is configured."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

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"
      ]
    }
  }
}
⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,400+ MCP Ecosystem Dataset ($29) or the FastMCP + TypeScript Starter Kit ($39) with turnkey Docker & Cloudflare deployment.

README Documentation

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)

View Full Documentation & Updates on GitHub ↗

Tools (20)

RANCHER_MCP_DISABLE_DESTRUCTIVERANCHER_MCP_PORTRANCHER_MCP_RANCHER_SERVER_URLRANCHER_MCP_RANCHER_TOKENRANCHER_MCP_READ_ONLYRANCHER_MCP_SHOW_SENSITIVE_DATARANCHER_MCP_TLS_INSECURERANCHER_MCP_TOOLSETSRANCHER_MCP_TRANSPORTfleet_bundle_listfleet_cluster_listfleet_drift_detectfleet_gitrepo_actionfleet_gitrepo_clonefleet_gitrepo_createfleet_gitrepo_deletefleet_gitrepo_getfleet_gitrepo_listharvester_addon_listharvester_addon_switch