Kubernetes MCP Server logo

Kubernetes MCP Server

by manusa

A powerful and flexible Kubernetes Model Context Protocol (MCP) server implementation with support for OpenShift. It allows for easy interaction with Kubernetes resources through the MCP protocol.

View on GitHub

Last updated: N/A

What is Kubernetes MCP Server?

Kubernetes MCP Server is an implementation of the Model Context Protocol (MCP) for Kubernetes. It enables applications to interact with Kubernetes resources in a standardized way, facilitating automation and integration.

How to use Kubernetes MCP Server?

The server can be used with Claude Desktop or Goose CLI by configuring them to use the server via npx kubernetes-mcp-server@latest. Alternatively, you can download the latest release binary and run it directly. Configuration options are available via command-line arguments, such as --sse-port for Server-Sent Events.

Key features of Kubernetes MCP Server

  • Automatically detects changes in Kubernetes configuration

  • Supports operations on generic Kubernetes resources (CRUD)

  • Provides Pod-specific operations (List, Get, Delete, Logs, Run)

  • Enables viewing Kubernetes events

  • Supports Server-Sent Events (SSE) mode

Use cases of Kubernetes MCP Server

  • Diagnosing and automatically fixing OpenShift Deployments

  • Integrating Kubernetes resources with AI agents (Goose CLI)

  • Automating Kubernetes resource management tasks

  • Providing a standardized interface for interacting with Kubernetes

  • Enabling Claude Desktop to interact with Kubernetes resources

FAQ from Kubernetes MCP Server

What is MCP?

Model Context Protocol (MCP) is a protocol for exchanging information between systems.

How do I configure the server?

The server can be configured using command line arguments.

Can I use this with OpenShift?

Yes, the server supports OpenShift.

How do I view logs?

You can view logs for a pod by name from the specified namespace.

What is Goose CLI?

Goose CLI is an AI agent CLI that can be used with the Kubernetes MCP Server.