MCP Catalogs
Homekubernetes-mcp-server screenshot

kubernetes-mcp-server

by containers·1,593·Score 55

Go-based native MCP server for Kubernetes and OpenShift with direct API integration, supporting CRUD operations, pods, namespaces, Helm, and Tekton.

ops-infradeveloper-toolsmonitoring
341
Forks
73
Open issues
this month
Last commit
2d ago
Indexed

Overview

This is a production-ready MCP server that provides comprehensive interaction with Kubernetes and OpenShift clusters. Unlike other implementations that wrap kubectl commands, this server directly interfaces with the Kubernetes API using a native Go implementation, offering high performance and low latency. The server supports operations on all Kubernetes resources, pod management, namespace viewing, Helm chart management, and Tekton pipeline execution. It's designed to be lightweight with minimal external dependencies and can handle multi-cluster configurations seamlessly.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI assistants managing Kubernetes resources without leaving their interface
you:Automated deployment troubleshooting and fixing in OpenShift environments
you:Developers deploying applications directly from their IDE via MCP integration
you:What makes this server different from other Kubernetes MCP implementations?
you:Which Kubernetes resources can I manage with this server?

When to choose this

Choose this for direct Kubernetes API access with high performance and multi-cluster support, especially when you need lightweight, native binaries without external dependencies.

When NOT to choose this

Avoid if you need extensive third-party integrations beyond Kubernetes core resources, or if you're already invested in a different MCP server ecosystem with established tooling.

Tools this server exposes

12 tools extracted from the README
  • list_pods

    List pods in all namespaces or in a specific namespace

  • get_pod

    Get a pod by name from the specified namespace

  • delete_pod

    Delete a pod by name from the specified namespace

  • pod_logs

    Show logs for a pod by name from the specified namespace

  • pod_top

    Get resource usage metrics for all pods or a specific pod

  • pod_exec

    Execute a command inside a pod

  • run_pod

    Run a container image in a pod and optionally expose it

  • list_namespaces

    List all Kubernetes namespaces

  • list_events

    View Kubernetes events in all namespaces or a specific namespace

  • helm_install

    Install a Helm chart in the current or provided namespace

  • list_helm_releases

    List Helm releases in all namespaces or a specific namespace

  • helm_uninstall

    Uninstall a Helm release in the current or provided namespace

Comparable tools

kubectl-mcpopenshift-mcpkube-api-shell

Installation

Installation

  1. **Via npm (for Claude Desktop)**:

Add to your claude_desktop_config.json: ``json { "mcpServers": { "kubernetes": { "command": "npx", "args": ["-y", "kubernetes-mcp-server@latest"] } } } ``

  1. **Via CLI**:

``bash npx kubernetes-mcp-server@latest # or using uvx uvx kubernetes-mcp-server@latest ``

  1. **Download binary** from [GitHub releases](https://github.com/containers/kubernetes-mcp-server/releases/latest)

FAQ

What makes this server different from other Kubernetes MCP implementations?
Unlike others that wrap kubectl commands, this is a native Go implementation that directly interfaces with the Kubernetes API, offering better performance and without requiring external dependencies to be installed.
Which Kubernetes resources can I manage with this server?
The server supports any Kubernetes or OpenShift resource through generic CRUD operations, plus specialized operations for pods, namespaces, Helm charts, and Tekton pipelines.

Compare kubernetes-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.