mcp-server-kubernetes

669

The MCP Server Kubernetes is designed to manage Kubernetes clusters seamlessly by integrating with your kubectl setup and providing advanced capabilities like Helm operations and a non-destructive mode for safe access. It is ideal for developers looking to scale deployments and manage resources programmatically.

MCP Server Kubernetes

MCP Server that can connect to a Kubernetes cluster and manage it efficiently, offering a comprehensive suite of Kubernetes management tools.

Features

  • Connect to a Kubernetes cluster
  • Unified kubectl API
  • Advanced operations such as deployment scaling and Helm operations
  • Non-destructive mode for safe read and create/update-only access

Usage

  • Ensure you have kubectl and Helm v3 installed
  • Verify connection via kubectl or use mcp-chat for interaction

Local Development

  • Clone the repository and use Bun for development lifecycle actions

Architecture

The server uses a sequence of request flow through the transport layer, server, tool filter, and various handlers interacting with Kubernetes API.

Publishing new release

Use GitHub releases page to trigger the release build.

Non-Destructive Mode

Provides a safe operational environment by limiting destructive operations.