Kubernetes MCP Server

Kubernetes MCP Server

mcp-kubernetes-wasilak•bywasilak

An experimental Model Context Protocol server that exposes Kubernetes functionality to AI chat interfaces by running kubectl commands.

License: MIT License•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Provides a single kubectl tool that can execute any kubectl command so AI assistants can access the cluster's capabilities.
  • •Uses the default kubeconfig and kubectl installation, relying on existing cluster permissions.
  • •Supports resource discovery, troubleshooting, resource management, documentation, and security analysis through AI-driven kubectl usage.

BEST FOR

  • •Listing and describing Kubernetes resources via an AI assistant.
  • •Analyzing logs and resource states to troubleshoot cluster issues.
  • •Assisting with creating or modifying Kubernetes resources.

ABOUT MCP-KUBERNETES-WASILAK

Kubernetes MCP Server is cataloged as an MCP server attributed to wasilak. An experimental Model Context Protocol server that exposes Kubernetes functionality to AI chat interfaces by running kubectl commands. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Kubernetes MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tool does the server expose?

It exposes a single kubectl tool that can execute any kubectl command.

What permissions does the server need?

It runs with your kubeconfig and should be given appropriate RBAC permissions, since it allows arbitrary kubectl commands.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 1a2190620785 · 采集于 2026-11-13 13:47:20 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Kubernetes MCP Server

An experimental Model Context Protocol (MCP) server that exposes Kubernetes functionality to AI chat interfaces through kubectl. This project demonstrates how to integrate Kubernetes with AI assistants, allowing them to help analyze and manage your cluster resources using familiar kubectl commands.

Overview

This project is built on top of the amazing mcpr project by @conikeec, which provides a protocol for AI assistants to interact with external tools and services.

The server provides a single kubectl tool that can execute any kubectl command, giving AI assistants full access to your Kubernetes cluster's capabilities.

Use Cases

  • Resource Discovery: Ask your AI assistant to list and describe resources using kubectl commands
  • Troubleshooting: Have the AI help analyze logs and resource states using kubectl
  • Resource Management: Get AI assistance in creating or modifying resources
  • Documentation: Ask the AI to explain what a particular resource does in your cluster
  • Security Analysis: Have the AI help identify potential security issues in your cluster configuration

Example Interaction

User: Can you show me all pods in the default namespace?
AI: I'll check that for you...
[Uses the kubectl tool with command "get pods -n default"]
Here are the pods in the default namespace:
NAME                     READY   STATUS    RESTARTS   AGE
nginx-7c658794b9-2j4k5   1/1     Running   0          2d

Future Possibilities

The current implementation provides a foundation for many powerful interactions:

  • Complex troubleshooting scenarios using multiple kubectl commands
  • Automated resource analysis and recommendations
  • Interactive debugging sessions
  • Security scanning and recommendations
  • Performance optimization suggestions

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/mcp-kubernetes.git
cd mcp-kubernetes
  1. Build the project:
cargo build --release
  1. Configure your AI assistant to use the server (instructions depend on your AI platform)

Requirements

  • Rust 1.70 or later
  • kubectl installed and configured
  • Kubernetes cluster with appropriate permissions
  • kubeconfig configured for your cluster

Configuration

The server uses your default kubeconfig and kubectl installation. Make sure you have the necessary permissions to execute the commands you want to run.

Security Considerations

Since this server allows execution of arbitrary kubectl commands, it's important to:

  1. Run it with appropriate RBAC permissions
  2. Consider implementing command validation or whitelisting
  3. Monitor and audit command execution
  4. Use it in a controlled environment

Acknowledgments

This project is built on top of the mcpr project by @conikeec. Many thanks to the author for creating this excellent protocol and implementation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Kubernetes MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-kubernetes-wasilak)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps