Kubectl MCP Tool
@rohitg00
Published in CNCF Landscape: A MCP server for Kubernetes.
概要
What is Kubectl MCP Tool?
Kubectl MCP Tool lets you control Kubernetes infrastructure through natural language conversations with AI. It integrates with any MCP-compatible AI assistant and kubectl to manage clusters, debug issues, deploy apps, and audit security.
How to use Kubectl MCP Tool?
Install via npx (npx -y kubectl-mcp-server) or pip (pip install kubectl-mcp-server), then add the server configuration to your AI assistant’s MCP settings file (e.g., claude_desktop_config.json or .cursor/mcp.json). Once connected, use natural language commands to interact with your cluster.
Key features of Kubectl MCP Tool?
- 253 powerful tools and 8 workflow prompts
- AI-powered crash and network diagnostics
- Built-in cost optimization analysis
- Enterprise OAuth 2.1 authentication and RBAC validation
- Interactive HTML dashboards with live metrics
- Works with all major MCP-compatible AI assistants
Use cases of Kubectl MCP Tool?
- Debugging a crashing pod with logs, events, and resource analysis
- Deploying a Redis cluster with best practices via natural language
- Auditing RBAC permissions and security across all namespaces
- Identifying idle resources and cost optimization opportunities
- Visualizing cluster dashboards with live metrics and event timelines
FAQ from Kubectl MCP Tool
What are the dependencies to run Kubectl MCP Tool?
You need Python 3.9+ (for pip) or Node.js 14+ (for npx), kubectl installed and configured, and access to a Kubernetes cluster.
Which AI assistants are supported?
Kubectl MCP Tool works natively with Claude Desktop, Cursor, Windsurf, GitHub Copilot, Gemini CLI, Goose, Roo Code, and 15+ other MCP-compatible clients.
Can I manage multiple Kubernetes clusters?
Yes, the