Basic information
About 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 simultaneously using multiple kubeconfig files.
Multi Cluster Kubernetes MCP Server is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by razvanmacovei. Supported transport: stdio. Runtime: python. License: Apache-2.0. The repository has 15 GitHub stars. Source code is hosted on github.com. Related topics: k8s, kubernetes, multicluster.
Setup
{
"mcpServers": {
"kubernetes": {
"command": "uv",
"args": [
"--directory",
"/servers/k8s-multicluster-mcp",
"run",
"app.py"
],
"env": {
"KUBECONFIG_DIR": "/kubeconfigs"
}
}
}
}
{
"mcpServers": {
"kubernetes": {
"command": "uv",
"args": [
"--directory",
"/servers/k8s-multicluster-mcp",
"run",
"app.py"
],
"env": {
"KUBECONFIG_DIR": "/kubeconfigs"
}
}
}
}
{
"servers": {
"kubernetes": {
"command": "uv",
"args": [
"--directory",
"/servers/k8s-multicluster-mcp",
"run",
"app.py"
],
"env": {
"KUBECONFIG_DIR": "/kubeconfigs"
}
}
}
}
Multi Cluster Kubernetes MCP Server (razvanmacovei/k8s-multicluster-mcp) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"kubernetes": {
"command": "uv",
"args": [
"--directory",
"/servers/k8s-multicluster-mcp",
"run",
"app.py"
],
"env": {
"KUBECONFIG_DIR": "/kubeconfigs"
}
}
}
}
Multi Cluster Kubernetes MCP Server (razvanmacovei/k8s-multicluster-mcp) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
backendnamespace betweenprodandstaging. - 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.
Frequently asked questions
1 What is the difference between this server and using kubectl directly?
This server provides an MCP interface for AI assistants to manage multiple clusters simultaneously, with automatic context discovery and cross-cluster comparison capabilities, unlike direct kubectl usage.
2 What are the runtime requirements?
Python 3.11 or higher, one or more kubeconfig files with valid cluster credentials, and metrics-server installed in clusters for k8s_top_* and k8s_cluster_info tools.
3 Where are kubeconfig files located?
By default, the server reads from ~/.kube. You can set the KUBECONFIG_DIR environment variable to any directory containing kubeconfig files.
4 Are there any known limitations?
Namespace deletion protects system namespaces. The server requires metrics-server for monitoring tools. Pod exec supports quoted arguments fixed in v2.0.0.
5 What transport or authentication does it use?
The server uses the MCP protocol over stdio (local execution). Authentication relies on the Kubernetes credentials provided in the kubeconfig files.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In