Developer Tools · Cloud Platform

Kubectl MCP Server logo

Kubectl MCP Server

rohitg00/kubectl-mcp-server

Control your entire Kubernetes infrastructure through natural language conversations with AI. Talk to your clusters like you talk to a DevOps expert. Debug crashed pods, optimize costs, deploy applications, audit security, manage Helm charts, and visualize dashboards, all through natural language.

Install

npx -y kubectl-mcp-server

Client configuration

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

Environment variables

KUBECONFIGMCP_BROWSER_ENABLEDMCP_AUTH_ENABLEDMCP_AUTH_ISSUERMCP_AUTH_AUDIENCE
GitHub stars
389
Author
@rohitg00
Category
Developer Tools, Cloud Platform
License
MIT
Updated
Oct 6, 2026

Features

  • 253 Powerful Tools - Complete Kubernetes management from pods to security

  • 8 AI Workflow Prompts - Pre-built workflows for common operations

  • 8 MCP Resources - Browsable Kubernetes data exposure

  • 6 Interactive Dashboards - HTML UI tools for visual cluster management

  • 26 Browser Tools - Web automation with cloud provider support

  • 107 Ecosystem Tools - GitOps, Cert-Manager, Policy, Backup, KEDA, Cilium, Rollouts, CAPI, KubeVirt, Istio, vCluster

  • Multi-Transport - stdio, SSE, HTTP, streamable-http

  • Security First - Non-destructive mode, secret masking, RBAC validation

  • Multi-Cluster - Target any cluster via context parameter in every tool

Tools (20)

  • Pods

    get_pods, get_logs, get_pod_events, check_pod_health, exec_in_pod, cleanup_pods, get_pod_conditions, get_previous_logs

  • Deployments

    get_deployments, create_deployment, scale_deployment, kubectl_rollout, restart_deployment

  • Workloads

    get_statefulsets, get_daemonsets, get_jobs, get_replicasets

  • Storage

    get_persistent_volumes, get_pvcs, get_storage_classes

  • Cluster

    get_nodes, get_namespaces, get_cluster_info, get_cluster_version, health_check, get_node_metrics, get_pod_metrics

  • CRDs

    get_crds, get_priority_classes

  • Context

    get_current_context, switch_context, list_contexts, list_kubeconfig_contexts

  • Diagnostics

    diagnose_pod_crash, detect_pending_pods, get_evicted_pods, compare_namespaces

  • Operations

    kubectl_apply, kubectl_create, kubectl_describe, kubectl_patch, delete_resource, kubectl_cp, backup_resource, label_resource, annotate_resource, taint_node,…

  • Autoscaling

    get_hpa, get_pdb

  • Advanced

    kubectl_generic, kubectl_explain, get_api_resources, port_forward, get_resource_usage, node_management

  • Cert-Manager

    certs_list, certs_get, certs_issuers_list, certs_issuer_get, certs_renew, certs_status_explain, certs_challenges_list, certs_requests_list, certs_detect

  • Cilium/Hubble

    cilium_policies_list, cilium_policy_get, cilium_endpoints_list, cilium_identities_list, cilium_nodes_list, cilium_status, hubble_flows_query, cilium_detect

  • Istio/Kiali

    istio_virtualservices_list, istio_virtualservice_get, istio_destinationrules_list, istio_gateways_list, istio_peerauthentications_list,…

  • show_pods_dashboard_ui

    Real-time pod status table

  • show_pod_logs_ui

    Interactive log viewer with search

  • show_cluster_overview_ui

    Complete cluster dashboard

  • show_events_timeline_ui

    Events timeline with filtering

  • show_resource_yaml_ui

    YAML viewer with syntax highlighting

  • render_k8s_dashboard_screenshot

    Export dashboards as PNG

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
Trae logo

Trae

Desktop · Freemium · Proprietary

An intelligent integrated development environment (IDE) designed to enable human-AI collaboration through natural conversation, helping users maximize efficiency and performance. Its powerful AI agent system and real-time code autocomplete significantly boost developer productivity.

WindowsMacOSLinux
Windsurf logo

Windsurf

Desktop · Freemium · Proprietary

The first agentic IDE. The Windsurf editor truly merges how developers and AI work together.

WindowsMacOSLinux

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Developer Tools
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix is a tool that packs a codebase into an AI-friendly format, supporting local and remote repository processing and providing code compression, security checks and multiple output formats.

Developer Tools
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Developer Tools
blender logo

blender

ahujasid/blender-mcp

10.6k

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more.

Developer Tools
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Developer Tools
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Developer Tools