mcp-kubernetes
Enables MCP clients to inspect and operate Kubernetes clusters across multiple contexts, with read-only/read-write/admin access modes and security flags controlling namespaces, contexts, deletes, applies, and exec.
Install
npx -y @dockndevai/mcp-kubernetes
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"mcp-kubernetes": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-kubernetes"
],
"env": {
"K8S_MODE": "<K8S_MODE>",
"K8S_DRY_RUN": "<K8S_DRY_RUN>",
"K8S_AUDIT_LOG": "<K8S_AUDIT_LOG>",
"K8S_ALLOW_EXEC": "<K8S_ALLOW_EXEC>",
"K8S_ALLOW_APPLY": "<K8S_ALLOW_APPLY>",
"KUBECONFIG_PATH": "<KUBECONFIG_PATH>",
"K8S_ALLOW_DELETE": "<K8S_ALLOW_DELETE>",
"K8S_CONTEXT_ALLOWLIST": "<K8S_CONTEXT_ALLOWLIST>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.