MCP.so
Sign In
Servers

Kubernetes MCP Server

@infinitetwi

An MCP Server for Kubernetes kubernetes, mcp, mcp-server

Overview

What is Kubernetes MCP Server?

Kubernetes MCP Server is a Model Context Protocol server that bridges large language models (LLMs) with Kubernetes clusters, allowing users to manage Kubernetes resources through natural language.

How to use Kubernetes MCP Server?

Install using go install github.com/infinitetwi/kai/cmd/kai, then add the server binary to your Claude for Desktop configuration by editing claude_desktop_config.json and specifying the command path under mcpServers.kubernetes.

Key features of Kubernetes MCP Server

  • Cluster Management: connect to multiple clusters and switch contexts
  • Resource Operations: create, read, update, and delete resources
  • Pod Management: list pods, get details, stream logs, and delete pods
  • Deployment Management: create and manage deployments across namespaces
  • Service Operations: interact with Kubernetes services
  • YAML Support: apply manifests directly from YAML
  • Custom Resource Support: work with custom resource definitions (CRDs)

Use cases of Kubernetes MCP Server

  • Managing Kubernetes clusters, namespaces, pods, deployments, and services via natural language
  • Streaming pod logs and inspecting pod details through an LLM
  • Applying Kubernetes manifests from YAML
  • Working with custom resources defined by CRDs
  • Switching between different Kubernetes cluster contexts

FAQ from Kubernetes MCP Server

What is the Kubernetes MCP Server?

It is an MCP server that provides a bridge between LLMs and Kubernetes clusters, enabling users to interact with their Kubernetes resources through natural language.

How do I install the Kubernetes MCP Server?

Run go install github.com/infinitetwi/kai/cmd/kai to install the binary.

How do I integrate the Kubernetes MCP Server with Claude for Desktop?

Edit claude_desktop_config.json to add a "kubernetes" entry under "mcpServers" with the "command" set to the path of the installed binary.

What operations can Kubernetes MCP Server perform?

It supports cluster management, resource CRUD, pod management (list, details, logs, delete), deployment management, service operations, YAML manifest application, and custom resource definitions.

Tags

More from Cloud & Infrastructure