What is Multi Cluster Kubernetes MCP Server?
An MCP (Model Context Protocol) server for managing multiple Kubernetes clusters simultaneously. It provides 60+ tools covering cluster operations, resource management, monitoring, RBAC, storage, networking, and more, accessible through AI assistants like Claude Desktop. Designed for DevOps engineers and platform teams managing multiple Kubernetes clusters.
How to use Multi Cluster Kubernetes MCP Server?
Install via Smithery with npx -y @smithery/cli install @razvanmacovei/k8s-multicluster-mcp --client claude, or clone the repository and run python3 app.py. Configure the KUBECONFIG_DIR environment variable to point to a directory with kubeconfig files; the server automatically discovers all contexts. Required: Python 3.11+, valid kubeconfig files, and metrics-server for monitoring tools.
Key features of Multi Cluster Kubernetes MCP Server
- Automatic discovery of all Kubernetes contexts across kubeconfig files.
- Partial name matching for cluster selection (e.g.,
prod).
- 60+ tools for cluster health, resource CRUD, scaling, rollouts, RBAC, storage, networking.
- Cross-cluster operations: compare resources, health, and configurations.
- Context caching with 30-second TTL for performance.
Use cases of Multi Cluster Kubernetes MCP Server
- Get a health overview of a production cluster via an AI assistant.
- Compare pod counts in the
backend namespace between prod and staging.
- Diagnose application issues in a deployment with automated recommendations.
- Scale a deployment to a specific number of replicas.
- Manage secrets, ConfigMaps, and RBAC across multiple clusters.
コメント