Kubernetes MCP Server

Kubernetes and OpenShift cluster management for AI models via MCP protocols.

Data last scanned today · Reviewed today

Overview

The Kubernetes MCP Server provides a comprehensive interface for managing Kubernetes and OpenShift resources directly through AI assistants. It supports generic CRUD operations for any resource type, as well as specialized commands for managing pods, namespaces, and cluster events. Beyond basic resource management, the server includes dedicated support for Helm chart lifecycle management and Tekton pipeline orchestration. It is designed to work with local .kube/config files or in-cluster configurations, enabling automated detection of configuration updates.

Our verdict

With a security score of 50/100, this server is currently classified as high risk. The rating reflects that it is community-maintained rather than vendor-backed, and several critical areas such as authentication methods and read-only mode status remain unreviewed. Users should exercise caution, particularly when granting the server permissions to execute commands in pods or perform delete operations in production clusters.

  • Zero direct dependencies minimize the software supply-chain surface area.
  • Active development with commits occurring within the last 24 hours.
  • Supports both Kubernetes and OpenShift environments.
  • Authentication mechanism is currently unreviewed.
  • Read-only capabilities have not been formally verified.
  • Not maintained by an official Kubernetes or OpenShift vendor.

Tools

ToolDescriptionRisk
configuration_contexts_listList all available context names and associated server urls from the kubeconfig filelow
targets_listList all available targetslow
configuration_viewGet the current Kubernetes configuration content as a kubeconfig YAMLlow
events_listList Kubernetes events (warnings, errors, state changes) for debugging and troubleshooting in the current cluster from all namespaceslow
namespaces_listList all the Kubernetes namespaces in the current clusterlow
projects_listList all the OpenShift projects in the current clusterlow
nodes_logGet logs from a Kubernetes node (kubelet, kube-proxy, or other system logs). This accesses node logs through the Kubernetes API proxy to the kubeletlow
nodes_stats_summaryGet detailed resource usage statistics from a Kubernetes node via the kubelet's Summary API.low
nodes_topList the resource consumption (CPU and memory) as recorded by the Kubernetes Metrics Server for the specified Kubernetes Nodes or all nodes in the clusterlow
pods_listList all the Kubernetes pods in the current cluster from all namespaceslow

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

Do I need to install kubectl or Helm on my system to use this server?

No, the server is a Go-based native implementation that interacts directly with the Kubernetes API server, so no external command-line dependencies are required.

What platforms are supported?

The server is available as a native binary for Linux, macOS, and Windows, as well as an npm package, a Python package, and a container image.

Can I connect to multiple Kubernetes clusters at once?

Yes, the server supports multi-cluster interactions as defined in your kubeconfig files.

How can I configure the server?

The server supports configuration through command-line arguments, TOML configuration files, and environment variables.

Does this server support OpenShift?

Yes, it supports both Kubernetes and OpenShift, including project-specific operations for OpenShift.

Alternatives

Changelog

Badge

Kubernetes MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.