mcp-kubernetes
A community MCP server for Kubernetes that enables AI agents to perform multi-cluster operations with configurable security modes. It supports read-only, read-write, and admin access levels, featuring safety guards like dry-run modes, audit logging, and interactive confirmations for destructive actions. It integrates with various MCP clients to manage pods, deployments, and namespaces safely.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List Kubernetes contexts, namespaces, pods, and deployments
- Scale or restart deployments and apply manifests
- Execute commands inside pods with admin privileges
- Monitor cluster events and pod logs
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@dockndevai/mcp-kubernetes 0.3.3
{
"version": "0.3.3",
"transport": "stdio",
"identifier": "@dockndevai/mcp-kubernetes",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "KUBECONFIG_PATH",
"description": "Path to a kube-config file (empty = default resolution)."
},
{
"name": "K8S_MODE",
"description": "Access mode: read-only | read-write | admin."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-kubernetes": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-kubernetes@0.3.3"
],
"env": {
"KUBECONFIG_PATH": "<YOUR_KUBECONFIG_PATH>",
"K8S_MODE": "<YOUR_K8S_MODE>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-kubernetes": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-kubernetes@0.3.3"
],
"env": {
"KUBECONFIG_PATH": "<YOUR_KUBECONFIG_PATH>",
"K8S_MODE": "<YOUR_K8S_MODE>"
}
}
}
}VS Code
{
"servers": {
"mcp-kubernetes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-kubernetes@0.3.3"
],
"env": {
"KUBECONFIG_PATH": "<YOUR_KUBECONFIG_PATH>",
"K8S_MODE": "<YOUR_K8S_MODE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-kubernetes": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-kubernetes@0.3.3"
],
"env": {
"KUBECONFIG_PATH": "<YOUR_KUBECONFIG_PATH>",
"K8S_MODE": "<YOUR_K8S_MODE>"
}
}
}
}Let your agent find its tools
Find servers like mcp-kubernetes from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.