Back to Home
techmaharaj icon

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

Run Command
python main.py

Environment 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

Stats

Interest Score30
Security Score2
Cost ClassLow
Avg Tokens200
Stars1
Forks0
Last Update2025-12-03

Tags

KubernetesMCPClaudeAI AgentAutomation