mcp-kubernetes-server

mcp-kubernetes-server

3

The mcp-kubernetes-server enables AI assistants to interact with Kubernetes clusters through natural language, translating requests into Kubernetes operations. It supports querying resources, managing clusters, and diagnosing states of Kubernetes resources.

mcp-kubernetes-server

The mcp-kubernetes-server is a server implementing the Model Context Protocol (MCP) to enable AI assistants to interact with Kubernetes clusters. It translates natural language requests into Kubernetes operations. Features include querying resources, executing commands, managing clusters, and diagnosing resources.

How It Works

The server acts as an intermediary, translating requests into commands for Kubernetes APIs and returning structured responses.

How To Install

Prerequisites include a Kubernetes cluster, kubeconfig file, kubectl, helm, and Python >= 3.11. Installation can be done using Docker or UVX.

Usage

Once installed, interact with the cluster through natural language using supported AI clients. Verify server status and check connectivity issues.

Available Tools

The server provides tools categorized as Command, Read, Write, and Delete tools for various Kubernetes operations.

Troubleshooting

Includes common issues such as connection problems, missing commands, configuration errors, and solutions.

Contribution

The project is open source and licensed under the Apache License 2.0. Contributions are welcome via GitHub.

LICENSE

Apache License 2.0.