kubectl-mcp-server

kubectl-mcp-server

4.2

If you are the rightful owner of kubectl-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcpreview.com.

Kubectl MCP Server is a Model Context Protocol server for Kubernetes, enabling AI assistants to interact with Kubernetes clusters using natural language.

Kubectl MCP Server is a powerful tool that allows AI assistants like Claude, Cursor, and others to manage Kubernetes clusters through natural language commands. It integrates with the Model Context Protocol (MCP) to provide a standardized interface for interacting with Kubernetes. The server supports a wide range of Kubernetes operations, including managing pods, services, deployments, and nodes, as well as advanced features like Helm operations, security auditing, and diagnostics. It is designed to work in both CLI and server modes, making it versatile for different use cases. The tool is built on Python and requires kubectl and access to a Kubernetes cluster to function. It is available for installation via PyPI and can be configured to work with various AI platforms.

Features

  • Core Kubernetes Operations: Connect to clusters, manage resources, and perform Helm operations.
  • Natural Language Processing: Process queries, construct commands, and provide explanations.
  • Monitoring: Track cluster health, resource utilization, and events.
  • Security: Validate RBAC, manage credentials, and enforce best practices.
  • Diagnostics: Troubleshoot clusters, analyze logs, and validate configurations.

Tools

  • get_pods: Get all pods in the specified namespace
  • install_helm_chart: Install a Helm chart
  • get_rbac_roles: Get all RBAC roles in the specified namespace
  • get_events: Get all events in the specified namespace
  • switch_context: Switch current kubeconfig context