Feedback

Kubernetes MCP Server — by feiskyer

@feiskyer Claim

Basic information

Runtime
Python
Version
1.0.0
License
Apache-2.0
Transports
stdio
Author
feiskyer
Submitted by
Community
Quality
40
Stars
19

About Kubernetes MCP Server

Manage Kubernetes clusters in real-time using kubectl commands for seamless resource administration directly within conversations.

Kubernetes is a MCP server in the Cloud Infrastructure category listed in the AddMCP.net directory, published by feiskyer. Supported transport: stdio. Runtime: Python. License: Apache-2.0. The repository has 19 GitHub stars. Source code is hosted on github.com. Related topics: claude, cloud-infrastructure, community, developer-tools, kubernetes.

Setup

{
    "mcpServers": {
        "kubernetes": {
            "command": "uvx",
            "args": [
                "mcp-kubernetes-server"
            ],
            "env": {
                "KUBECONFIG": "<your-kubeconfig-path>"
            }
        }
    }
}

Kubernetes MCP Server — by feiskyer config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "kubernetes": {
            "command": "uvx",
            "args": [
                "mcp-kubernetes-server"
            ],
            "env": {
                "KUBECONFIG": "<your-kubeconfig-path>"
            }
        }
    }
}

Kubernetes MCP Server — by feiskyer 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 Kubernetes?

mcp-kubernetes-server is a Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It translates natural language requests from AI assistants into kubectl commands or direct Kubernetes API calls, executing them against the target cluster and returning structured responses.

How to use Kubernetes?

Install via Docker or uvx. Configure in the mcpServers section of your AI client (Claude Desktop, Cursor, ChatGPT Copilot, GitHub Copilot). Provide a valid kubeconfig either via the KUBECONFIG environment variable (uvx) or by mounting the file into the container (Docker). Ensure kubectl, helm, and Python ≥3.11 (for uvx) are installed. Run with optional command-line flags to disable specific operations or change transport (stdio, sse, streamable-http).

Key features of Kubernetes

  • Executes arbitrary kubectl and helm commands.
  • Provides read tools for resources, logs, events, APIs, and CRDs.
  • Offers write tools for create, apply, expose, scale, and rollout operations.
  • Supports disabling kubectl, helm, write, or delete operations.
  • Provides RBAC check tools (k8s_auth_can_i, k8s_auth_whoami).
  • Supports multiple transports: stdio, SSE, and streamable HTTP.

Use cases of Kubernetes

  • Query cluster status and resource states via natural language.
  • Diagnose pod issues by inspecting logs, events, and resource descriptions.
  • Manage deployments (scale, rollout, set images, environment variables).
  • Perform administrative tasks like cordoning nodes or checking RBAC permissions.
  • Automate cluster operations through AI assistants in CI/CD pipelines.

Frequently asked questions

1 What prerequisites are needed to run mcp-kubernetes-server?

A working Kubernetes cluster, a valid kubeconfig file, kubectl and helm installed in the system PATH, and Python ≥3.11 if using uvx (not required for Docker).

2 How do I configure the kubeconfig?

Set the KUBECONFIG environment variable to the path of your kubeconfig file, or when using Docker mount the kubeconfig file to /home/mcp/.kube/config.

3 Can I disable write or delete operations?

Yes, use the --disable-write flag to block all write operations or --disable-delete to block deletions. Similarly, --disable-kubectl and --disable-helm disable those command executers.

4 What transport mechanisms are supported?

mcp-kubernetes-server supports three transports: stdio (default for uvx), sse, and streamable-http. Use the --transport flag to choose, and specify --host/--port for the server transports.

5 Which AI assistants are compatible?

The server works with any AI client that supports the Model Context Protocol, including Claude Desktop, Cursor, ChatGPT Copilot, and GitHub Copilot.

Videos

Tutorials, guides, and showcases related to Kubernetes MCP Server — by feiskyer. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬