
futuretea/rancher-mcp-server
Deployment & DevOps이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) server for Rancher
개요
A Model Context Protocol (MCP) server for Rancher multi-cluster management. - : Access Kubernetes clusters through the Rancher API or configured kubeconfig paths - : CRUD operations on any resource type - Get/List any resource (Pod, Deployment, Service, ConfigMap, Secret, CRD, etc.) - Create resources from JSON manifests - Patch resources using JSON Patch (RFC 6902) - Delete resources - Describe resources with related events (similar to kubectl describe) - List and filter Kubernetes events by namespace, object name, and object kind - Query container logs with filtering (tail lines, time range, timestamps, keyword search) - Multi-pod log aggregation via label selector with time-based sorting - View rollout history for Deployments - Inspect node state and resource usage - Inspect pods with parent workload, metrics, and logs - Show dependency/dependent trees for any resource (inspired by kube-lineage) - (inspired by ketall): List all Kubernetes resources including ConfigMaps, Secrets,...
README
원문 README의 일부입니다. 원문 보기.
Rancher MCP Server
Features | Getting Started | Configuration | Tools | Development
Features
A Model Context Protocol (MCP) server for Rancher multi-cluster management.
- Multi-cluster Management: Access Kubernetes clusters through the Rancher API or configured kubeconfig paths
- Kubernetes Resources via Steve API: CRUD operations on any resource type
- Get/List any resource (Pod, Deployment, Service, ConfigMap, Secret, CRD, etc.)
- Create resources from JSON manifests
- Patch resources using JSON Patch (RFC 6902)
- Delete resources
- Describe resources with related events (similar to
kubectl describe) - List and filter Kubernetes events by namespace, object name, and object kind
- Query container logs with filtering (tail lines, time range, timestamps, keyword search)
- Multi-pod log aggregation via label selector with time-based sorting
- View rollout history for Deployments
- Inspect node state and resource usage
- Inspect pods with parent workload, metrics, and logs
- Show dependency/dependent trees for any resource (inspired by kube-lineage)
- Get all resources (inspired by ketall): List all Kubernetes resources including ConfigMaps, Secrets, RBAC, CRDs
- Compare resource versions (kubernetes_diff): Show git-style diffs between two resource versions
- Watch resource changes (kubernetes_watch): Monitor resources and return git-style diffs at regular intervals
- Resource capacity overview (inspired by kube-capacity): Show cluster resource capacity, requests, limits, and utilization
- Resource top ranking (
kubernetes_top): Rank pods or nodes by CPU/memory usage, requests, limits, or restart count - Workload health summary (
kubernetes_workload_health): Health overview for Deployments, StatefulSets, and DaemonSets with ready/desired ratios and status derivation - Resource summary by group (
kubernetes_resource_summary): Aggregate pod resources by namespace or label key with totals for requests/limits - Event pattern analysis (
kubernetes_event_summary): Group and rank events by reason, kind, and frequency to identify recurring issues
- Rancher Resources via Norman API: List clusters and projects
설치
npx -y @futuretea/rancher-mcp-server@latest --rancher-server-url https://your-rancher-server.com --rancher-token your-token