Cover image
Try Now
2025-04-06

An MCP server for debugging and managing Kubernetes using Natural Language

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Kubernetes MCP Server

An MCP server for debugging and managing Kubernetes config using Natural Language

This MCP Server lets you:

  1. Debug a kubernetes config yaml/yml file
  2. Debug an entire kubernetes config folder that contains yaml/yml files
  3. Connect and manage Kubernetes clusters

Features

  • Debug and analyze a kubernetes config yaml/yml file
  • Debug an entire kubernetes config folder that contains yaml/yml files
  • Pod management (list, get, logs, delete)
  • Deployment management (create, list, get, logs, delete)
  • Service management (Create, list, get, logs, delete)
  • Namespaces management (list, get, logs, delete)
  • Debug and Analyze Logs, Services, Seployment, Statefulset, Demonsets, Ingress, Node, Cluster
  • Portforward to a pod or service
  • Helm Chart installation and management

Quickstart

  1. Install Claude Desktop

  2. Install this MCP server

  • Using uv: uv

Run: uv pip install git+https://github.com/ehiaig/kubernetes-mcp-server

Or

  • Clone this repo: git clone https://github.com/ehiaig/kubernetes-mcp-server.git
  1. Open the Claude json file

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

And then add the following to your MCP servers file:

For Local testing with Claude Desktop

{
    "kubernetes-mcp-server": {
    "command": "/path/to/your/.local/bin/uv", // or "uv"
    "args": [
        "--directory",
        "/path/to/this/repo/kubernetes-mcp-server/src/k8s_manager",
        "run",
        "-m",
        "k8s_manager"
    ]
  }
}

Your claude_desktop_config.json file should look similar to this:

{
    "mcpServers": {
        "kubernetes-mcp-server": {
            "command": "/path/to/your/.local/bin/uv",
            "args": [
                "--directory",
                "/path/to/this/repo/kubernetes-mcp-server/src/k8s_manager",
                "run",
                "-m",
                "k8s_manager"
            ]
        }
    }
}

For Published Servers

"mcpServers": {
  "kubernetes-mcp-server": {
    "command": "uvx",
    "args": [
      "k8s_manager"
    ]
  }
}

🚧 Disclaimers

Sensitive Data

DO NOT CONFIGURE CLUSTERS WITH SENSITIVE DATA. This includes secrets, passwords, etc.

Any sensitive data exchanged with the LLM is inherently compromised, unless the LLM is running 100% on your local machine.

If you are interested in securely passing secrets to CLUSTERS, file an issue on this repository with your use-case.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

    Reviews

    3 (1)
    Avatar
    user_nc5Xaprf
    2025-04-16

    I've been using the kubernetes-mcp-server by ehiaig and it's a game-changer! It's remarkably efficient and greatly simplifies Kubernetes management. The setup was straightforward, and the documentation on GitHub is clear and concise. Highly recommended for anyone looking to streamline their Kubernetes environment!