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.

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

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

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

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

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

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

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

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

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

    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!