
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server for managing multiple Kubernetes clusters simultaneously, providing 60+ tools for cluster operations, resource management, monitoring, RBAC, storage, and networking accessible through AI assistants.
Multi Cluster Kubernetes MCP Server is cataloged as an MCP server attributed to razvanmacovei. An MCP server for managing multiple Kubernetes clusters simultaneously, providing 60+ tools for cluster operations, resource management, monitoring, RBAC, storage, and networking accessible through AI assistants. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Apache 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Multi Cluster Kubernetes MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. The server supports partial name matching, so shorter names can be used instead of full context identifiers.
No. Secret values are hidden by default when listing secrets.
Metrics-server is required for the metrics and cluster info tools.
README.md · 2f742dde977e · Fetched 2026-11-13 10:04:45 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
An MCP (Model Context Protocol) server for managing multiple Kubernetes clusters simultaneously. Provides 60+ tools covering cluster operations, resource management, monitoring, RBAC, storage, networking, and more -- all accessible through AI assistants like Claude Desktop.
npx -y @smithery/cli install @razvanmacovei/k8s-multicluster-mcp --client claude
git clone https://github.com/razvanmacovei/k8s-multicluster-mcp.git
cd k8s-multicluster-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python3 app.py
docker build -t k8s-mcp .
docker run -v ~/.kube:/root/.kube k8s-mcp
Add to your MCP client configuration:
{
"mcpServers": {
"kubernetes": {
"command": "python3",
"args": ["/path/to/k8s-multicluster-mcp/app.py"],
"env": {
"KUBECONFIG_DIR": "/path/to/your/kubeconfigs"
}
}
}
}
| Variable | Default | Description |
|---|---|---|
KUBECONFIG_DIR | ~/.kube | Directory containing kubeconfig files. Each file can contain one or more contexts. |
Place your kubeconfig files in the configured directory. The server discovers all contexts across all files automatically.
metrics-server installed in clusters for k8s_top_* and k8s_cluster_info toolsThis server is purpose-built for managing multiple Kubernetes clusters:
KUBECONFIG_DIR and aggregates contextsprod instead of arn:aws:eks:us-east-1:123456:cluster/prod-cluster| Tool | Description |
|---|---|
k8s_get_contexts | List all available contexts across all kubeconfig files |
k8s_get_namespaces | List all namespaces in a cluster |
k8s_create_ns | Create a new namespace with optional labels/annotations |
k8s_delete_ns | Delete a namespace (protects system namespaces) |
k8s_get_nodes | List all nodes with status, roles, capacity, and version |
k8s_cluster_info | Comprehensive cluster health summary (nodes, pods, deployments, warnings) |
| Tool | Description |
|---|---|
k8s_get_resources | List resources of any kind (pods, deployments, services, ingress, etc.) |
k8s_get_resource | Get the complete definition of a single resource |
k8s_get_pod_logs | Get pod logs with duration filtering and container selection |
k8s_get_events | List cluster events in a namespace, sorted by most recent |
k8s_describe | Detailed resource description similar to kubectl describe |
k8s_apis | List all available API groups and resources in the cluster |
k8s_crds | List all Custom Resource Definitions with versions and scope |
| Tool | Description |
|---|---|
k8s_top_nodes | Display node CPU/memory usage alongside capacity |
k8s_top_pods | Display pod/container CPU/memory usage |
k8s_diagnose_application | Comprehensive app diagnostics with issue detection and recommendations |
| Tool | Description |
|---|---|
k8s_rollout_status | Get rollout status for deployment/statefulset/daemonset |
k8s_rollout_history | Get revision history |
k8s_rollout_undo | Roll back to a previous revision |
k8s_rollout_restart | Trigger a rolling restart |
k8s_rollout_pause | Pause an in-progress rollout |
k8s_rollout_resume | Resume a paused rollout |
| Tool | Description |
|---|---|
k8s_scale_resource | Scale deployment/statefulset/replicaset to N replicas |
k8s_autoscale_resource | Configure Horizontal Pod Autoscaler (HPA) |
k8s_update_resources | Update CPU/memory requests and limits for a container |
| Tool | Description |
|---|---|
k8s_create_resource | Create a resource from YAML/JSON content |
k8s_apply_resource | Apply configuration (create or update, like kubectl apply) |
k8s_delete_resource | Delete any resource type with optional force/grace period |
k8s_patch_resource | Update specific fields with strategic merge patch |
k8s_label_resource | Add or update labels on a resource |
k8s_annotate_resource | Add or update annotations on a resource |
| Tool | Description |
|---|---|
k8s_expose_resource | Expose a deployment/pod as a new Service |
k8s_run_pod | Create and run a pod with a specified image |
k8s_set_resources_for_container | Set resource limits/requests for containers |
| Tool | Description |
|---|---|
k8s_cordon_node | Mark a node as unschedulable |
k8s_uncordon_node | Mark a node as schedulable |
k8s_drain_node | Drain a node by evicting pods (for maintenance) |
k8s_taint_node | Add taints to a node |
k8s_untaint_node | Remove taints from a node |
| Tool | Description |
|---|---|
k8s_pod_exec | Execute a command in a container (supports quoted arguments) |
| Tool | Description |
|---|---|
k8s_list_secret | List secrets with metadata (values hidden for security) |
k8s_get_secret_detail | Get a secret; optionally decode values |
k8s_create_secret_resource | Create a new secret (auto base64-encodes values) |
k8s_list_configmap | List ConfigMaps with their key names |
k8s_get_configmap_detail | Get a ConfigMap with full data contents |
k8s_create_configmap_resource | Create a new ConfigMap |
| Tool | Description |
|---|---|
k8s_get_roles | List RBAC Roles with permission rules |
k8s_get_clusterroles | List RBAC ClusterRoles |
k8s_get_rolebindings | List RoleBindings (who has what role) |
k8s_get_clusterrolebindings | List ClusterRoleBindings |
k8s_get_service_accounts | List ServiceAccounts |
| Tool | Description |
|---|---|
k8s_get_pvcs | List PersistentVolumeClaims with status, capacity, and storage class |
k8s_get_pvs | List PersistentVolumes with capacity and bound claims |
k8s_get_storage_classes | List StorageClasses with provisioner and default status |
| Tool | Description |
|---|---|
k8s_get_network_policies | List NetworkPolicies with pod selectors and rule counts |
| Tool | Description |
|---|---|
k8s_get_jobs | List Jobs with completion status and timing |
k8s_get_cronjobs | List CronJobs with schedule, suspend status, and last run |
Give me a health overview of my production cluster.
Compare the number of pods running in the 'backend' namespace between my 'prod' and 'staging' contexts.
My deployment 'my-app' in the 'production' namespace is having issues. Can you diagnose what's wrong?
Scale the 'backend' deployment in the 'default' namespace to 5 replicas.
Delete the failed job 'data-migration-v1' in the 'batch' namespace.
Create a new namespace called 'staging' with the label environment=staging.
List all secrets in the 'production' namespace and show me the keys in the 'api-credentials' secret.
Show me all role bindings in the 'default' namespace -- who has access to what?
List all PVCs in the cluster and show which ones are Pending.
Cordon node 'worker-3', drain it ignoring DaemonSets, then uncordon when maintenance is complete.
Roll back the 'api-gateway' deployment in the 'services' namespace to the previous version.
Run 'ls -la /app/config' inside the 'app' container of pod 'web-app-xyz' in the 'default' namespace.
Create a new deployment with this YAML:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
namespace: default
spec:
replicas: 2
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.27
ports:
- containerPort: 80
k8s-multicluster-mcp/
├── app.py # MCP server entry point & tool registration
├── src/
│ ├── utils/
│ │ ├── k8s_client.py # Multi-cluster client with context caching
│ │ └── pluralize.py # Kubernetes resource kind pluralization
│ └── tools/
│ ├── contexts.py # Context listing
│ ├── namespaces.py # Namespace listing
│ ├── namespace_management.py # Namespace create/delete
│ ├── nodes.py # Node listing
│ ├── pods.py # Resource listing & pod logs
│ ├── resources.py # Single resource retrieval
│ ├── events.py # Event listing
│ ├── describe.py # kubectl describe equivalent
│ ├── api_discovery.py # API & CRD discovery
│ ├── metrics.py # Node/pod metrics (top)
│ ├── diagnosis.py # Application diagnostics
│ ├── cluster_health.py # Cluster health summary
│ ├── rollouts.py # Rollout management
│ ├── scaling.py # Scale & autoscale & resource updates
│ ├── resource_management.py # Create, apply, patch, label, annotate
│ ├── delete_resource.py # Resource deletion
│ ├── workload_management.py # Expose, run pod, set resources
│ ├── node_management.py # Cordon, drain, taint
│ ├── pod_operations.py # Exec into pods
│ ├── secret_configmap.py # Secret & ConfigMap management
│ ├── rbac.py # Roles, bindings, service accounts
│ ├── storage_network.py # PVC, PV, StorageClass, NetworkPolicy
│ └── job_management.py # Jobs & CronJobs
├── requirements.txt
├── pyproject.toml
├── Dockerfile
└── smithery.yaml
Ingress -> ingresses not ingresss), fixed pod exec command splitting to handle quoted arguments, fixed timeout parameter handlingfastapi and uvicorn dependenciesContributions are welcome! Please feel free to submit a Pull Request.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Multi Cluster Kubernetes MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/k8s-multicluster-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.