Kubernetes MCP Server
by nearvitamin
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.
Last updated: N/A
What is Kubernetes MCP Server?
The Kubernetes MCP Server is an implementation of the Model Context Protocol (MCP) designed to facilitate interaction with Kubernetes resources. It provides a standardized way to manage and interact with Kubernetes clusters, enabling automation and integration with other tools.
How to use Kubernetes MCP Server?
The server can be used with tools like Claude Desktop and Goose CLI by configuring them to use the server's endpoint. The README provides examples of how to configure these tools to use the server via npx
. Alternatively, the server can be run directly using the downloaded binary, and configured via command-line arguments.
Key features of Kubernetes MCP Server
Automatic Kubernetes configuration detection
Generic Kubernetes resource operations (CRUD)
Pod-specific operations (list, get, delete, logs, run)
Kubernetes event viewing
Support for OpenShift
Use cases of Kubernetes MCP Server
Diagnosing and automatically fixing OpenShift Deployments
Automating Kubernetes resource management tasks
Integrating Kubernetes with AI agents
Providing a consistent interface for interacting with Kubernetes clusters
FAQ from Kubernetes MCP Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for interacting with resources in a standardized way.
How do I configure the server?
How do I configure the server?
The server can be configured using command-line arguments or by setting environment variables.
Can I use this with OpenShift?
Can I use this with OpenShift?
Yes, the server supports OpenShift.
How do I view Kubernetes events?
How do I view Kubernetes events?
The server provides an endpoint to view Kubernetes events in all or specific namespaces.
Does this server support custom resources?
Does this server support custom resources?
Yes, it supports operations on any Kubernetes resource, including custom resources.