Multi Cluster Kubernetes MCP Server

Created By
Razvan Macoveia year ago
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.
Overview

What is Multi Cluster Kubernetes MCP Server?

The Multi Cluster Kubernetes MCP Server is an application designed to facilitate Kubernetes operations by providing a standardized API for interacting with multiple Kubernetes clusters simultaneously using various kubeconfig files.

How to use Multi Cluster Kubernetes MCP Server?

To use the MCP Server, set up your environment by installing the necessary prerequisites, clone the repository, create a virtual environment, install dependencies, configure your kubeconfig files, and run the application using the command: python3 app.py.

Key features of Multi Cluster Kubernetes MCP Server?

  • Manage multiple Kubernetes clusters from a single interface.
  • Perform cross-cluster operations and context selection.
  • Access detailed information about Kubernetes resources and APIs.
  • Monitor resource usage and diagnose application issues.
  • Rollout management capabilities including scaling and updating resources.

Use cases of Multi Cluster Kubernetes MCP Server?

  1. Managing development, staging, and production Kubernetes environments.
  2. Comparing resource usage across different clusters.
  3. Diagnosing application issues in a multi-cluster setup.
  4. Performing maintenance and updates on Kubernetes resources.

FAQ from Multi Cluster Kubernetes MCP Server?

  • Can I manage multiple clusters with different configurations?

Yes! The MCP Server allows you to manage multiple clusters using different kubeconfig files.

  • Is there a specific version of Python required?

Yes, Python 3.8 or higher is required to run the application.

  • How do I install the necessary dependencies?

You can install dependencies using pip or the uv package manager as described in the installation instructions.

Server Config

{
  "mcpServers": {
    "kubernetes": {
      "command": "uv",
      "args": [
        "--directory",
        "/servers/k8s-multicluster-mcp",
        "run",
        "app.py"
      ],
      "env": {
        "KUBECONFIG_DIR": "/kubeconfigs"
      }
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
Razvan Macovei
Star
-
Language
-
License
-

Recommend Servers

View All
Payai X402 Tools

9 hours ago