Back to Home
StacklokLabs icon

mkp

Verified Safe

by StacklokLabs

Overview

MKP is a Model Context Protocol (MCP) server for Kubernetes that enables LLM-powered applications to interact with Kubernetes clusters.

Installation

Run Command
task run

Environment 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

Stats

Interest Score47
Security Score8
Cost ClassMedium
Avg Tokens750
Stars55
Forks5
Last Update2025-12-05

Tags

KubernetesLLMAPIServerGo