MCP Server Kubernetes
MCP Server Kubernetes is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP Server for kubernetes management commands. It has 1,608 GitHub stars, is released under the MIT license and runs locally with npx -y mcp-server-kubernetes.
github.com/Flux159/mcp-server-kubernetes (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
Install MCP Server Kubernetes
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"mcp-server-kubernetes": {
"command": "npx",
"args": [
"-y",
"mcp-server-kubernetes"
],
"env": {
"ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS=your-value --transport stdio mcp-server-kubernetes -- npx -y mcp-server-kubernetesCursor
{
"mcpServers": {
"mcp-server-kubernetes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-kubernetes"
],
"env": {
"ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"mcp-server-kubernetes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-kubernetes"
],
"env": {
"ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "your-value"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS | No | Shown in the README's example configuration. |
About MCP Server Kubernetes
MCP Server that can connect to a Kubernetes cluster and manage it. Supports loading kubeconfig from multiple sources in priority order.
- infrastructure
- kubernetes
- mcp
- server
Similar MCP servers
More cloud & devops MCP servers
TerraVision
patrickchugh/terravision
Draw cloud architecture diagrams with official AWS, Azure and GCP icons from a prompt or Terraform.
Active · last commit Oct 23, 2026
Cloud & DevOpsPythonTerraform
hashicorp/terraform-mcp-server
Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise.
Active · last commit Oct 23, 2026
OfficialCloud & DevOpsGoAzure DevOps MCP
microsoft/azure-devops-mcp
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Active · last commit Oct 22, 2026
OfficialCloud & DevOpsTypeScriptSuperlog
superloglabs/superlog
Open-source agent that observes and fixes your application.
Maintained · last commit Oct 15, 2026
OfficialCloud & DevOpsTypeScriptKubernetes MCP Server
containers/kubernetes-mcp-server
A Model Context Protocol (MCP) server for Kubernetes and OpenShift.
Active · last commit Oct 26, 2026
Cloud & DevOpsGoPrismerCloud
Prismer-AI/PrismerCloud
The Intelligence Runtime for AI Agents Where agents evolve, collaborate, and remember.
Active · last commit Oct 22, 2026
Cloud & DevOpsTypeScript
How do I install the MCP Server Kubernetes MCP server?
Add the command npx -y mcp-server-kubernetes to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is MCP Server Kubernetes free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is MCP Server Kubernetes actively maintained?
The most recent commit was on Oct 14, 2026. The latest release is v4.1.9, published Oct 2, 2026. appsgit only lists MCP servers with a commit in the last six months.