MCP Catalogs
Homekubectl-mcp-server screenshot

kubectl-mcp-server

by rohitg00·888·Score 54

A comprehensive MCP server for Kubernetes infrastructure management through natural language.

ops-infradeveloper-toolssecurity
168
Forks
3
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

kubectl-mcp-server provides 253 powerful tools for Kubernetes cluster management through natural language interaction with AI assistants. It enables users to debug pods, deploy applications, optimize costs, audit security, manage Helm charts, and visualize dashboards without memorizing kubectl commands. The server supports multiple AI assistants including Claude, Cursor, Windsurf, and Copilot with both npx and Python installation options.

Try asking AI

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

you:Troubleshooting pod crashes and network issues using natural language
you:Deploying and scaling applications with simple commands
you:Auditing security configurations across namespaces
you:What AI assistants are supported?
you:Can I use it in a production environment?

When to choose this

Choose this when you need to manage Kubernetes through natural language and already use an AI assistant like Claude or Cursor for development work.

When NOT to choose this

Avoid if you need fine-grained control over kubectl commands or require features beyond what MCP protocol can expose.

Tools this server exposes

12 tools extracted from the README
  • get_pods

    Retrieves information about pods in the Kubernetes cluster

  • get_logs

    Retrieves logs from specified pods

  • create_deployment

    Creates a new deployment in the Kubernetes cluster

  • scale_deployment

    Scales an existing deployment to a specified replica count

  • get_services

    Retrieves information about services in the cluster

  • diagnose_network_connectivity

    Diagnoses network connectivity issues between services

  • audit_rbac_permissions

    Audits RBAC permissions across the cluster

  • check_secrets_security

    Checks for insecure secrets and configurations

  • get_cluster_info

    Retrieves general information about the Kubernetes cluster

  • get_deployments

    Retrieves information about deployments in the cluster

  • get_ingress

    Retrieves information about Ingress resources in the cluster

  • exec_in_pod

    Executes commands inside a running pod

Comparable tools

kube-gptkubetailkubectl-shellk9s

Installation

Quick Start with npx (Recommended)

npx -y kubectl-mcp-server

Install with Python

pip install kubectl-mcp-server[ui]

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": ["-y", "kubectl-mcp-server"]
    }
  }
}

FAQ

What AI assistants are supported?
The server works with Claude Desktop/Claude Code, Cursor, Windsurf, GitHub Copilot, and 15+ other MCP-compatible AI assistants.
Can I use it in a production environment?
Yes, the server includes OAuth 2.1 authentication, RBAC validation, non-destructive mode, secret masking, and can be deployed in-cluster with kMCP.

On Hacker News

Recent discussion from the developer community.

Compare kubectl-mcp-server with

GitHub →

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