Model Context Protocol (MCP) server for the **Rancher ecosystem**: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps.
Model Context Protocol (MCP) server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps. Exposed over MCP by the rancher mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
Everything the assistant can do here goes through one of these:
harvester_vm_list — List VMs with status, namespace, spec/statusharvester_vm_get — Get one VM (full spec and status)harvester_vm_action — start, stop, restart, pause, unpause, migrateharvester_vm_create — Create VM (when not read-only). Supports network, interface_type (managedtap/bridge/masquerade), subnet for KubeOVN VPCharvester_vm_snapshot — Create/list/restore/delete VM snapshotsharvester_vm_backup — Create/list/restore VM backups (Backup Target)harvester_image_list — List VM images (VirtualMachineImage)harvester_image_create — Create VM image from URL (when not read-only)harvester_volume_list — List PVCs (Longhorn-backed volumes)harvester_volume_create — Create volume/PVC (optionally from image)harvester_network_list — List VM networks (NetworkAttachmentDefinition)harvester_network_create — Create VM network - KubeOVN overlay or VLAN (when not read-only)rancher-mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
You will need 5 environment variables: RANCHER_MCP_RANCHER_SERVER_URL, RANCHER_MCP_RANCHER_TOKEN, RANCHER_MCP_TOOLSETS, YOUR_TOKEN, YOUR_RANCHER_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of cloud and infrastructure servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Rancher's toolset — harvester_vm_list, harvester_vm_get, harvester_vm_action and 11 more — is a fair guide to whether it matches your workflow. It is maintained by mrostamii; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| harvester_vm_list | List VMs with status, namespace, spec/status |
| harvester_vm_get | Get one VM (full spec and status) |
| harvester_vm_action | start, stop, restart, pause, unpause, migrate |
| harvester_vm_create | Create VM (when not read-only). Supports network, interface_type (managedtap/bridge/masquerade), subnet for KubeOVN VPC. |
| harvester_vm_snapshot | Create/list/restore/delete VM snapshots |
| harvester_vm_backup | Create/list/restore VM backups (Backup Target) |
| harvester_image_list | List VM images (VirtualMachineImage) |
| harvester_image_create | Create VM image from URL (when not read-only) |
| harvester_volume_list | List PVCs (Longhorn-backed volumes) |
| harvester_volume_create | Create volume/PVC (optionally from image) |
| harvester_network_list | List VM networks (NetworkAttachmentDefinition) |
| harvester_network_create | Create VM network - KubeOVN overlay or VLAN (when not read-only) |
| harvester_network_update | Update VM network config (when not read-only) |
| harvester_network_delete | Delete VM network (when destructive allowed) |
{
"mcpServers": {
"rancher": {
"command": "npx",
"args": ["-y", "rancher-mcp-server"],
"env": {
"RANCHER_MCP_RANCHER_SERVER_URL": "your-value",
"RANCHER_MCP_RANCHER_TOKEN": "your-value",
"RANCHER_MCP_TOOLSETS": "your-value",
"YOUR_TOKEN": "your-value",
"YOUR_RANCHER_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| RANCHER_MCP_RANCHER_SERVER_URL | Endpoint or connection string the server talks to. | Yes |
| RANCHER_MCP_RANCHER_TOKEN | Credential the server authenticates with. | Yes |
| RANCHER_MCP_TOOLSETS | Configuration value read at startup. | Optional |
| YOUR_TOKEN | Credential the server authenticates with. | Yes |
| YOUR_RANCHER_URL | Endpoint or connection string the server talks to. | Yes |
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.