mcp-server-kubernetes

This repository provides an MCP server designed to connect to and manage Kubernetes clusters, leveraging tools like Bun, Docker, and kubectl for seamless integration and operation within your existing Kubernetes environment.

758
28

MCP Server Kubernetes

This project provides an MCP (Model Context Protocol) server that connects to and manages Kubernetes clusters. It's designed for use with tools like Claude Desktop and mcp-chat, enabling natural language interaction with your Kubernetes environment.

Key features include listing and managing Kubernetes resources (pods, services, deployments, namespaces, nodes, cronjobs), retrieving pod logs, and supporting Helm v3 for chart management (install, uninstall, upgrade, custom values, repositories, version specification). It also supports kubectl explain and kubectl api-resources.

The server automatically connects to your current kubectl context, requiring kubectl, a valid kubeconfig, and access to a Kubernetes cluster.

Local development instructions are provided, including running the server in development mode, unit tests, and building the project. The architecture section outlines the request flow, detailing how requests are routed and processed through the system. Publishing a new release is automated via GitHub Actions.

Repository

FL
Flux159

Flux159/mcp-server-kubernetes

Created

December 8, 2024

Updated

March 29, 2025

Language

TypeScript

Category

System Tools