Multi Cluster Kubernetes MCP Server

An MCP (Model Context Protocol) server application for Kubernetes operations, providing a standardized API to interact with multiple Kubernetes

Local serverstdioPython

What is the Multi Cluster Kubernetes MCP Server?

An MCP (Model Context Protocol) server application for Kubernetes operations, providing a standardized API to interact with multiple Kubernetes clusters

What the server does

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.

Credentials and setup notes

  • Python 3.11 or higher - One or more kubeconfig files with valid cluster credentials - metrics-server installed in clusters for k8s_top_* and k8s_cluster_info tools

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
k8s_get_contextsList all available contexts across all kubeconfig files
k8s_get_namespacesList all namespaces in a cluster
k8s_create_nsCreate a new namespace with optional labels/annotations
k8s_delete_nsDelete a namespace (protects system namespaces)
k8s_get_nodesList all nodes with status, roles, capacity, and version
k8s_cluster_infoComprehensive cluster health summary (nodes, pods, deployments, warnings)
k8s_get_resourcesList resources of any kind (pods, deployments, services, ingress, etc.)
k8s_get_resourceGet the complete definition of a single resource
k8s_get_pod_logsGet pod logs with duration filtering and container selection
k8s_get_eventsList cluster events in a namespace, sorted by most recent
k8s_describeDetailed resource description similar to kubectl describe
k8s_apisList all available API groups and resources in the cluster
k8s_crdsList all Custom Resource Definitions with versions and scope
k8s_top_nodesDisplay node CPU/memory usage alongside capacity

Configuration

  • Python 3.11 or higher - One or more kubeconfig files with valid cluster credentials - metrics-server installed in clusters for k8s_top_* and k8s_cluster_info tools
VariableDescriptionRequired
KUBECONFIG_DIRFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Multi Cluster Kubernetes to k8s get contexts.”
  • “Use Multi Cluster Kubernetes to k8s get namespaces.”
  • “Use Multi Cluster Kubernetes to k8s create ns.”

Frequently asked questions

An MCP (Model Context Protocol) server application for Kubernetes operations, providing a standardized API to interact with multiple Kubernetes clusters Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.