kubernetes-mcp-server-python
by techmaharaj
Overview
Allows an AI model (Claude) to remotely control a Kubernetes cluster by exposing kubectl commands as Model Context Protocol (MCP) tools.
Installation
python main.pyEnvironment Variables
- KUBECONFIG
Security Notes
CRITICAL: The server exposes direct `kubectl` command execution via MCP tools without any authentication mechanism, as explicitly stated in the README. Anyone with access to the server's endpoint (e.g., via ngrok) can execute arbitrary `kubectl` commands (create, delete pods, get cluster info) on the connected Kubernetes cluster. This poses a severe security risk, allowing for potential unauthorized access, resource manipulation, or denial of service.
Similar Servers
claude-code-subagents-collection
The repository serves as a comprehensive marketplace and registry for Claude Code, offering a wide array of specialized AI agents, commands, hooks, and a catalog of external Model Context Protocol (MCP) servers to enhance development workflows.
mcp-server-kubernetes
This MCP server enables AI agents to connect to and manage Kubernetes clusters by executing kubectl and Helm commands.
kubernetes-mcp-server
Facilitates AI agent interaction with Kubernetes and OpenShift clusters by exposing management and observability tools via the Model Context Protocol.
mcp-k8s
Facilitates natural language interaction and automation for Kubernetes cluster management and Helm operations via the Model Control Protocol (MCP).