Back to Home
strowk icon

mcp-k8s-go

by strowk

Overview

This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.

Installation

Run Command
npx @strowk/mcp-k8s

Environment Variables

  • KUBECONFIG

Security Notes

The 'k8s-pod-exec' tool directly executes user-provided commands using 'sh -c' within a Kubernetes pod. While this is the intended functionality for remote execution, it poses a critical security risk if input is not strictly sanitized or if the tool is exposed to untrusted users or unconstrained AI agents, potentially leading to arbitrary code execution or privilege escalation within the cluster. Although a '--readonly' flag exists to disable this tool, it is not enabled by default. The server does include a '--mask-secrets' flag which is true by default, mitigating some data exposure risks for Kubernetes secrets.

Similar Servers

Stats

Interest Score51
Security Score3
Cost ClassMedium
Avg Tokens500
Stars368
Forks54
Last Update2025-12-22

Tags

KubernetesCloudInfrastructureCLIGo