mkp
Verified Safeby StacklokLabs
Overview
MKP is a Model Context Protocol (MCP) server for Kubernetes that enables LLM-powered applications to interact with Kubernetes clusters.
Installation
task runEnvironment Variables
- KUBECONFIG
- MCP_PORT
- MCP_TRANSPORT
Security Notes
The server can execute arbitrary commands inside pods via the `post_resource` tool's `exec` subresource. While this is a core feature for LLM interaction with Kubernetes, it is a powerful operation that requires robust Kubernetes RBAC to prevent unauthorized or malicious commands. However, the server defaults to read-only mode, meaning write operations (including exec) must be explicitly enabled via the `--read-write=true` flag. Input validation for all tool parameters is implemented, and a token-bucket rate limiter protects against excessive API calls.
Similar Servers
mcp-server-kubernetes
Manages Kubernetes clusters by executing kubectl and Helm commands, facilitating automation and interaction through the Model Context Protocol.
kubernetes-mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to interact with Kubernetes and OpenShift clusters, enabling AI-driven cluster management and diagnosis.
mcp-k8s-go
An MCP server enabling AI assistants and users to interact with and manage Kubernetes clusters by listing, getting, applying, and executing commands on Kubernetes resources.
mcp-k8s
A Kubernetes MCP (Model Control Protocol) server that enables natural language interaction with Kubernetes clusters and Helm for resource and release management.