MCP server for Rancher Manager v2.x API integration
The server provides 11 tools with mostly complete JSON schemas and clear verb-based naming. However, descriptions are minimal (averaging ~60 chars vs. production baseline of 194 chars), lack context about when to use each tool, and contain no error recovery guidance. Parameter descriptions are present but perfunctory. Output schemas are not documented. The single WRITE tool (scale_deployment) lacks confirmation or dry-run patterns. Error handling returns raw exception messages instead of actionable guidance. Overall falls into 'fair' (C) category, functional but below production quality.
Generate a kubeconfig document for the given cluster.
Get detailed information about a specific Rancher cluster.
Fetch logs from a pod via the Rancher Kubernetes proxy.
List catalog applications installed in a Rancher cluster.
List all clusters managed by this Rancher server.
List Deployments in a cluster, optionally scoped to a namespace.
Minimal parameter descriptions. All parameters are self-documenting via names (cluster_id, namespace, pod_name), but lack guidance on expected format, constraints, or examples. Parameter descriptions in source code docstrings are 1-2 line inline docs matching the schema, providing minimal context for LLMs.
Tool descriptions are too brief (avg ~60 chars vs. production baseline of 194 chars). Lack context about when to use each tool, dependencies, or prerequisites. E.g., list_clusters says 'List all clusters managed by this Rancher server' but does not explain what a cluster is, whether to call this first, or what you can do with a cluster_id afterward.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 56 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | - | v1 |
List namespaces in the Kubernetes cluster via the Rancher proxy.
List nodes belonging to a Rancher-managed cluster.
List pods in a cluster, optionally scoped to a namespace.
List Rancher projects, optionally filtered by cluster.
Scale a Kubernetes Deployment to the given replica count.
No output schema documentation. Tools return JSON-serialized responses (_format() helper) but the shape of returned data is not documented. LLMs cannot plan downstream calls or extract specific fields without seeing example output.
Destructive tool (scale_deployment) lacks confirmation or dry-run pattern. No dry_run parameter or explicit confirmation step before scaling a deployment. Agents may accidentally scale production workloads to 0 replicas.
Error handling returns raw exception strings ('Error: {exc}') with no actionable guidance. Exceptions are logged to stderr but returned to agent as plain text. No categorization of retryable vs. fatal errors, no suggestions for recovery (e.g., 'Cluster not found. Call list_clusters() to see available clusters.').
No validation guidance in parameter descriptions. E.g., cluster_id is described as 'Rancher-assigned cluster identifier (e.g. c-abcde)' but does not state format rules (length, allowed characters, regex pattern). LLMs may pass invalid IDs without constraint feedback.
No pagination support visible in list tools. list_clusters, list_projects, list_nodes, list_namespaces, list_pods, list_deployments, list_catalog_apps have no limit, offset, page, or cursor parameters. Large Kubernetes clusters could return hundreds of pods/deployments, blowing context windows.
get_pod_logs returns logs as plain string without metadata. No timestamp, line count, truncation indicator, or next_token for pagination. Large logs could exceed response limits without feedback.
Tool composition: create_kubeconfig returns a kubeconfig document, but the downstream use case is unclear. No explicit documentation of what an LLM should do with the kubeconfig (save to file, validate, use for kubectl calls, etc.). Breaks the chat-data-model expectation.