Kubernetes MCP Server icon

Kubernetes MCP Server

by containers

communitystdionpm
1.9kstars|409forks
Works withClaude DesktopCursorVS CodeWindsurf

About

Native MCP server for Kubernetes and OpenShift cluster operations.

Features

  • Native Go implementation that talks directly to the Kubernetes API server
  • Works with Kubernetes and OpenShift resources, namespaces, and events
  • Supports kubeconfig and in-cluster configuration
  • Includes Helm and Tekton operations alongside generic resource management
  • Can interact with multiple clusters from kubeconfig files

Use Cases

Platform engineer

Let an MCP-compatible AI client inspect Kubernetes resources, namespaces, events, and Helm releases.

OpenShift operator

Use AI-assisted workflows for OpenShift and Kubernetes operations without relying on kubectl wrapper calls.

What This Server Can Do

MCP servers expose three types of capabilities to AI clients. Here's what Kubernetes MCP Server supports.

Tools

Supported14 tools

Functions your AI client can call to perform actions — like querying a database, creating a file, or calling an API.

How to use: Tools run automatically when your AI client decides they're needed. Ask your AI assistant to perform a task, and it will invoke the right tool.

Resources

Supported

Read-only data sources this server exposes — like files, database schemas, or API responses your AI client can read for context.

How to use: Resources are loaded as context when your AI client needs background information. Ask about the data this server manages, and resources get pulled in automatically.

Prompts

Not available

This server does not provide pre-built prompt templates.

For the full list of available tools, resources, and prompts, check the README on GitHub.

Available Tools (4)

resource_operations

Perform operations on generic Kubernetes or OpenShift resources.

list_namespaces

List Kubernetes namespaces.

events

View Kubernetes events across namespaces or a specific namespace.

helm_operations

Install and uninstall Helm releases.

Alternative Implementations

Other MCP servers for the same service.

View all on service page

Frequently Asked Questions