</>MCP Agents Market
MCP Server

kubernetes-mcp-server

by containers2.1kGoUpdated 2026-09-04

Model Context Protocol (MCP) server for Kubernetes and OpenShift

Claude DesktopClaude CodeCursorVS Code

kubernetes-mcp-server is a native Go-based MCP server that enables AI assistants to interact directly with Kubernetes and OpenShift clusters through the Model Context Protocol. Unlike wrapper-based solutions, it communicates directly with the Kubernetes API server without requiring kubectl or helm CLI tools, providing high-performance cluster operations including pod management, resource CRUD, Helm deployments, Tekton pipelines, and KubeVirt virtual machines. The server supports multiple clusters simultaneously, runs as a lightweight single binary across platforms, and includes specialized toolsets for Istio/Kiali service mesh observability, NetObserv network flow analysis, and comprehensive troubleshooting capabilities.

Key Features

Native Go implementation with direct Kubernetes API access—no kubectl or external dependencies required
Multi-cluster support with automatic kubeconfig detection and context switching
Modular toolsets for core Kubernetes, Helm, Tekton, KubeVirt, Kiali service mesh, and NetObserv network observability
Pod operations including logs, exec, top metrics, and automated run/expose workflows
Generic resource management supporting any Kubernetes/OpenShift resource via CRUD operations
Tekton pipeline automation with PipelineRun/TaskRun lifecycle management and log retrieval
KubeVirt virtual machine management including creation, cloning, lifecycle control, and troubleshooting
OpenTelemetry observability with distributed tracing, metrics, and MCP logging capability

Use Cases

  • 01Diagnose and fix failing Kubernetes deployments by analyzing pod status, logs, and events through AI assistants
  • 02Deploy applications to clusters using Helm charts or container images with natural language commands
  • 03Troubleshoot Istio service mesh traffic issues using Kiali topology graphs, traces, and metrics
  • 04Manage KubeVirt virtual machines including creation from templates, guest agent inspection, and automated root-cause analysis
  • 05Investigate network flow patterns and packet drops with NetObserv flow records and topology metrics
  • 06Automate Tekton CI/CD pipelines by starting runs, retrieving logs, and troubleshooting failures

Related MCP Servers

View more

kubernetes-mcp-server — FAQ

What is kubernetes-mcp-server?+

It's a Model Context Protocol server that gives AI assistants like Claude direct access to Kubernetes and OpenShift clusters without requiring kubectl or other CLI tools. Built in Go, it communicates natively with the Kubernetes API for high-performance operations.

How do I install kubernetes-mcp-server in Claude Desktop?+

Add the server to your claude_desktop_config.json using npx: {"mcpServers": {"kubernetes": {"command": "npx", "args": ["-y", "kubernetes-mcp-server@latest"]}}}. Restart Claude Desktop after saving the configuration.

Which AI clients support this MCP server?+

The server works with Claude Desktop, Claude Code (VS Code/Insiders), Cursor, Goose CLI, and any MCP-compatible client. It can also run in HTTP mode for browser-based or custom integrations.

Do I need API keys or special credentials?+

No API keys are required. You only need access to a Kubernetes cluster with a valid kubeconfig file (typically ~/.kube/config) or in-cluster service account credentials when running inside a pod.

Is kubernetes-mcp-server free and open source?+

Yes, it's fully open source and available under the Apache 2.0 license. Native binaries, npm packages, Python packages, and container images are all freely available.

Can I restrict the server to read-only operations?+

Yes, use the --read-only flag to disable all write operations, or --disable-destructive to prevent only delete/update actions. You can also configure denied resources via TOML to block access to sensitive resource types like Secrets.

How do I install kubernetes-mcp-server?+

Open the source repository on GitHub and follow its README. kubernetes-mcp-server is a mcp server — MCP Agents Market links you directly to the official repo.

Is kubernetes-mcp-server free?+

kubernetes-mcp-server is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches