Kubernetes MCP Server logo

Kubernetes MCP Server

by manusa

Kubernetes MCP Server is a powerful and flexible implementation of the Model Context Protocol (MCP) for Kubernetes and OpenShift. It allows you to perform various operations on Kubernetes resources without relying on external tools like kubectl or helm.

View on GitHub

Last updated: N/A

What is Kubernetes MCP Server?

A Kubernetes Model Context Protocol (MCP) server implementation with support for Kubernetes and OpenShift. It provides a way to interact with Kubernetes resources through the MCP protocol.

How to use Kubernetes MCP Server?

The server can be used with Claude Desktop, VS Code, or Goose CLI. Configuration is done via command-line arguments or configuration files. It exposes various tools for managing Kubernetes resources, such as listing pods, viewing logs, executing commands, and managing namespaces and events.

Key features of Kubernetes MCP Server

  • Automatically detect changes in the Kubernetes configuration

  • Perform operations on any Kubernetes or OpenShift resource

  • Pod-specific operations (list, get, delete, logs, exec, run)

  • List Kubernetes Namespaces and OpenShift Projects

  • View Kubernetes events

  • No external dependencies like kubectl or helm required

Use cases of Kubernetes MCP Server

  • Diagnosing and automatically fixing OpenShift Deployments

  • Integrating with AI agents like Claude and Goose CLI

  • Building custom Kubernetes management tools

  • Automating Kubernetes tasks through the MCP protocol

FAQ from Kubernetes MCP Server

What is MCP?

Model Context Protocol is a protocol for exchanging information between different systems.

Does this server require kubectl?

No, this server does not require kubectl or any other external tools.

How do I configure the server?

The server can be configured using command-line arguments.

What resources can I manage with this server?

You can manage any Kubernetes or OpenShift resource with this server.

How do I get started?

Follow the Getting Started instructions in the README for your preferred environment (Claude Desktop, VS Code, Goose CLI).