k3s-mcp-server
Verified Safeby ry-ops
Overview
Manages and monitors Kubernetes (K3s) clusters through a Model Context Protocol (MCP) server, enabling AI-powered cluster management via Claude.
Installation
uv run k3s-mcp-serverEnvironment Variables
- KUBECONFIG
Security Notes
The server leverages standard Kubernetes `kubeconfig` for authentication and authorization. Security critically depends on keeping the `kubeconfig` file secure, setting appropriate file permissions (e.g., 600), and configuring Kubernetes RBAC (Role-Based Access Control) to grant only necessary permissions. The code itself does not introduce hardcoded secrets or obvious vulnerabilities, and documentation explicitly highlights security best practices for `kubeconfig` and RBAC.
Similar Servers
mcp-server-kubernetes
This MCP server enables AI agents to connect to and manage Kubernetes clusters by executing kubectl and Helm commands.
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
mcp-k8s
Facilitates natural language interaction and automation for Kubernetes cluster management and Helm operations via the Model Control Protocol (MCP).
mcp-ssh-manager
Manages remote SSH servers via the Model Context Protocol (MCP), enabling AI assistants like Claude Code and OpenAI Codex to execute commands, transfer files, monitor health, and automate DevOps tasks.