MCP Catalogs
Homek8s-mcp-server screenshot

k8s-mcp-server

by alexei-led·209·Score 51

K8s MCP Server enables Claude to securely execute Kubernetes commands via MCP protocol.

ops-infradeveloper-toolsai-llm
39
Forks
0
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

K8s MCP Server is a Docker-based server implementing Anthropic's Model Context Protocol that enables Claude to run Kubernetes CLI tools (kubectl, istioctl, helm, argocd) in a secure, containerized environment. It provides a bridge between language models and essential Kubernetes management tools, allowing AI systems to assist with cluster management, troubleshooting, and deployments through natural language commands. The server supports multiple transport protocols including stdio and HTTP, and is designed with security in mind, running as a non-root user with command validation.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Deploying and managing applications using Helm charts
you:Troubleshooting Kubernetes cluster issues through natural language
you:Optimizing Kubernetes resources and configurations
you:What Kubernetes tools are included in the MCP server?
you:Does the MCP server support cloud providers?

When to choose this

Choose this server if you need Claude to interact with Kubernetes clusters securely, especially when you want to leverage AI assistance for cluster management without exposing credentials directly to AI.

When NOT to choose this

Avoid if you need support for other container orchestration platforms like Docker Swarm or Nomad, or if you require fine-grained access control beyond what kubectl provides.

Tools this server exposes

4 tools extracted from the README
  • kubectl

    Execute Kubernetes commands to manage clusters, deployments, and resources.

  • helm

    Deploy and manage applications using Helm charts.

  • istioctl

    Manage and troubleshoot Istio service mesh configurations.

  • argocd

    Manage GitOps applications with ArgoCD.

Comparable tools

kubernetes-mcp-serverkubectl-mcp-serverhelm-mcp-server

Installation

Quick Start with Claude Desktop

  1. Create or update your Claude Desktop configuration file:

- **macOS**: Edit $HOME/Library/Application Support/Claude/claude_desktop_config.json - **Windows**: Edit %APPDATA%\Claude\claude_desktop_config.json - **Linux**: Edit $HOME/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "kubernetes": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/Users/YOUR_USER_NAME/.kube:/home/appuser/.kube:ro",
        "ghcr.io/alexei-led/k8s-mcp-server:latest"
      ]
    }
  }
}
  1. Restart Claude Desktop to activate the MCP server connection.

FAQ

What Kubernetes tools are included in the MCP server?
The server includes kubectl, helm, istioctl, and argocd, along with common Unix tools like jq, grep, and sed for command piping.
Does the MCP server support cloud providers?
Yes, it has native support for AWS EKS, Google GKE, and Azure AKS with specific configuration options for each cloud provider.

Compare k8s-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.