MCP Kubernetes Server

by guolisen

3 stars
134 downloads
Not rated
GitHub

About

[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/) ![](https://badge.mcpx.dev?status=on 'MCP Enabled') ![](https://badge.mcpx.dev?type=server 'MCP Server') ![](https://badge.mcpx.dev?type=dev 'MCP Dev')…

Details

Author
guolisen
GitHub stars
3
Downloads
134
Categories
Cloud Service

- Cluster Information: Get details about pods, deployments, services, etc.
- Cluster Operations: Create, update, delete, scale, and restart resources
- Monitoring: Check cluster and node status, resource metrics, and health
- Analysis: Analyze resources and provide recommendations
- Prompts: Includes prompts for common Kubernetes analysis tasks

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Kubernetes Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via pip install mcp-k8s-server or from source. Run directly with mcp-k8s-server, optionally specifying --transport (stdio or sse), --port, and --config. It can also be run via Docker or deployed as a Kubernetes deployment that uses in-cluster configuration.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp kubernetes server": {
            "mcp_k8s_server": {
                "command": "docker",
                "args": [
                    "build",
                    "-t",
                    "mcp-k8s-server",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "mcp_k8s_server": {
        "command": "docker",
        "args": [
            "build",
            "-t",
            "mcp-k8s-server",
            "."
        ]
    }
}

MCP Kubernetes Server

A Kubernetes management MCP (Model Context Protocol) server that provides interfaces for getting information about Kubernetes clusters, performing operations, monitoring status, and analyzing resources.

Features

- Cluster Information: Get detailed information about Kubernetes resources (pods, deployments, services, etc.)
- Cluster Operations: Perform operations on Kubernetes resources (create, update, delete, scale, etc.)
- Monitoring: Monitor the status of Kubernetes clusters and resources
- Analysis: Analyze Kubernetes resources and provide recommendations
- Prompts: Includes prompts for common Kubernetes analysis tasks

Examples

Ex.1

ex1

Ex.2

ex2

Ex.3

ex3

Installation

From Source

git clone https://github.com/yourusername/mcp-k8s-server.git
cd mcp-k8s-server
pip install -e .

Using pip

pip install mcp-k8s-server

Usage

Running Directly

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.