1---2name: rancher-mcp-server3description: Use when managing Rancher, Kubernetes, Harvester, Helm, or Fleet resources through this MCP server and you need safe, tool-oriented operational workflows.4---56# Rancher MCP Operator Skill78## What this server is for9- Operate Rancher ecosystems from AI tools using MCP.10- Manage clusters, projects, VMs, workloads, Helm releases, and Fleet GitOps resources.11- Use one Rancher API token for Steve (`/k8s/...`) and Norman (`/v3/...`) APIs.1213## When to use each toolset14- `rancher_*`: Rancher management data (clusters, projects, users, tokens, settings, feature flags).15- `kubernetes_*`: downstream cluster resources by `apiVersion` and `kind`.16- `harvester_*`: VM, image, volume, network, subnet, host, addon, and VPC operations.17- `helm_*`: release lifecycle (`list`, `get`, `history`, `install`, `upgrade`, `rollback`, `uninstall`).18- `fleet_*`: GitRepo and bundle operations for GitOps/fleet state.1920## Safety defaults and write gates21- Default mode is read-only.22- Write operations require server startup with `read-only=false`.23- Delete/destructive operations require both:24 - `read-only=false`25 - `disable-destructive=false`26- Sensitive Norman data is redacted unless `show-sensitive-data=true`.2728## Cluster scoping rules29- `rancher_*` tools target management scope and typically do not need a `cluster` argument.30- `kubernetes_*`, `harvester_*`, and `helm_*` require `cluster` (Rancher cluster ID).31- `fleet_*` works from management scope (`local`) with optional `namespace`.3233## API behavior that prevents confusion34- Steve endpoints can return 404 for some resources depending on Rancher setup.35- Native Kubernetes API proxy paths are generally reliable for downstream resources.36- Some Norman collections are missing on certain Rancher versions; tools may return `_source: "unavailable"` instead of hard failure.37- If one catalog/cluster repo path is unavailable, use Kubernetes/Helm/Fleet alternatives.3839## Practical workflow (token-efficient)401. Start with read/list tools to discover names, namespaces, and IDs.412. Narrow with get/describe tools before any write action.423. For paginated data, use `limit` and `continue`.434. Switch to write tools only when server gates allow it.445. Prefer smallest safe action first (patch/update before delete).4546## Minimal troubleshooting checklist47- `401` or auth errors: verify Rancher token validity.48- Empty results / not found: verify correct cluster ID and namespace.49- TLS issues: enable `tls-insecure` only for trusted self-signed setups.50- Logs/stream proxy errors (e.g., intermittent `503`): reduce log scope and retry.