Back to Home
StacklokLabs icon

mkp

Verified Safe

by StacklokLabs

Overview

MKP is a Model Context Protocol (MCP) server for Kubernetes, enabling LLM-powered applications to interact with Kubernetes clusters by providing tools for resource listing, getting, applying, deleting, and executing commands.

Installation

Run Command
./build/mkp-server

Environment Variables

  • MCP_PORT
  • MCP_TRANSPORT
  • MKP_RATE_LIMIT_DEFAULT
  • MKP_RATE_LIMIT_READ
  • MKP_RATE_LIMIT_WRITE
  • KUBECONFIG

Security Notes

The server includes an `ExecInPod` functionality, which allows arbitrary command execution within pods. While this is a core feature, it's a high-risk operation and relies heavily on appropriate Kubernetes RBAC configurations for the server's service account to prevent abuse. The server defaults to read-only mode, and write operations must be explicitly enabled via a flag, which is a good security practice. Rate limiting is built-in and enabled by default to protect against excessive API calls. The project maintains a security policy and responsible disclosure process.

Similar Servers

Stats

Interest Score46
Security Score7
Cost ClassMedium
Avg Tokens3000
Stars55
Forks6
Last Update2026-01-13

Tags

KubernetesLLMAPIServerGo