About
A Model Context Protocol server that lets AI assistants like Claude, Cursor, and others issue kubectl commands in plain English. It supports full cluster operations, Helm, monitoring, security checks, and diagnostics with memory‑aware context.
Capabilities

Kubectl MCP Server bridges the gap between conversational AI assistants and Kubernetes by exposing a rich, natural‑language interface to cluster operations. Instead of typing complex commands or navigating a dashboard, developers can ask an AI—Claude, Cursor, Windsurf, or any MCP‑compatible assistant—to list pods, deploy a Helm chart, or troubleshoot a failing service. The server translates these intent‑driven queries into precise calls, returning results in a human‑friendly format that the assistant can present directly to the user. This eliminates context switching and reduces cognitive load, enabling rapid iteration on infrastructure tasks.
At its core, the server implements all common Kubernetes primitives: pods, services, deployments, statefulsets, config maps, secrets, and network policies. It also supports advanced Helm v3 workflows, port forwarding, scaling, rolling back deployments, and executing commands inside containers. A standout feature is namespace awareness—the server remembers the last chosen namespace and applies it to subsequent commands, mirroring how developers manually set . This memory persistence makes multi‑cluster or multi‑environment management feel seamless. The tool can also switch contexts on demand, allowing a single AI session to interact with multiple clusters without manual reconfiguration.
The natural‑language layer is built on intent recognition and context propagation. When a user asks, “Show me all pods in the staging namespace,” the server resolves staging to a real namespace, queries , and returns a concise table. If the assistant later receives “What’s causing the error?” it can automatically fetch pod logs or events, leveraging previously gathered context. The server also offers fallback to raw when a specialized operation is unavailable, ensuring no loss of functionality. For offline or testing scenarios, mock data support lets developers prototype conversations without a live cluster.
Security and diagnostics are baked into the architecture. The server validates RBAC permissions, audits security contexts, and checks network policies before executing actions, preventing accidental privilege escalation. It continuously monitors cluster health—resource utilization, pod liveness, event streams—and surfaces actionable alerts or recovery suggestions. Error analysis is proactive: common patterns trigger explanations and remediation steps, helping users resolve issues faster than consulting documentation.
Finally, the server’s extensibility makes it a versatile addition to any AI‑driven DevOps workflow. It supports multiple transport protocols (stdio, SSE), integrates with any MCP‑compatible assistant, and can be extended to new custom resources. Batch operations across namespaces, intelligent resource relationship mapping, and volume management further streamline complex tasks. For developers looking to embed Kubernetes control into conversational agents or automate routine operations, Kubectl MCP Server offers a powerful, developer‑friendly bridge between human intent and cluster reality.
Related Servers
MarkItDown MCP Server
Convert documents to Markdown for LLMs quickly and accurately
Context7 MCP
Real‑time, version‑specific code docs for LLMs
Playwright MCP
Browser automation via structured accessibility trees
BlenderMCP
Claude AI meets Blender for instant 3D creation
Pydantic AI
Build GenAI agents with Pydantic validation and observability
Chrome DevTools MCP
AI-powered Chrome automation and debugging
Weekly Views
Server Health
Information
Explore More Servers
MCP Live Events Server
Real‑time Ticketmaster event data for AI agents
Upbit MCP Server
Real-time crypto market data and trading via SSE for LLM agents
MCP Local Server for Creatio
Local middleware for LLM tools in the Creatio environment
Mcp Sentiment
Sentiment analysis made simple with Gradio MCP
Certificate Expiry Checker MCP Server
Monitor website SSL/TLS certificate validity effortlessly
Gemini MCP Server
Fast, self-contained Go server for Gemini API integration with caching