containers/kubernetes-mcp-server

Model Context Protocol (MCP) server for Kubernetes and OpenShift

What it solves

It provides a way for AI agents and LLMs to interact directly with Kubernetes and OpenShift clusters. Instead of relying on a human to run kubectl or helm commands, an AI can use this server to diagnose issues, manage resources, and deploy applications automatically.

How it works

It is a Go-based native implementation of the Model Context Protocol (MCP). Unlike wrappers that simply call command-line tools, it interacts directly with the Kubernetes API server. It can be deployed as a native binary, an npm package, or a Python package, and integrates with AI clients like Claude Desktop, Cursor, and VS Code.

Who it’s for

  • DevOps Engineers: To automate cluster troubleshooting and resource management via AI.
  • AI Developers: Who want to give their agents the ability to manage containerized infrastructure.
  • Platform Engineers: Looking to integrate Kubernetes management into AI-driven workflows.

Highlights

  • Native API Interaction: High-performance, low-latency communication with the Kubernetes API without external tool dependencies.
  • Comprehensive Toolsets: Includes core Kubernetes operations, Helm chart management, Tekton pipeline control, and support for KubeVirt and Kiali.
  • Multi-Cluster Support: Ability to interact with multiple clusters simultaneously using kubeconfig files.
  • Granular Control: Toolsets can be enabled or disabled to reduce LLM context size and improve accuracy.
  • Observability: Built-in support for OpenTelemetry distributed tracing and metrics.

Related

  • Project
  • Project
  • Project
  • Project
  • Project