Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
npx kubernetes-mcp-server@latestConfig
{
"mcpServers": {
"kubernetes-mcp-server": {
"command": "npx",
"args": ["-y", "kubernetes-mcp-server@latest"]
}
}
}Exposed MCP Tools (7)
List PodsLists pods in a specified namespace or all namespaces.
Read-only operation, no modification of resources.
Get PodRetrieves details for a specific pod in a namespace.
Read-only operation, no modification of resources.
Delete PodDeletes a pod from a specified namespace.
Destructive operation, can cause service disruption.
Show LogsDisplays logs for a pod in a specified namespace.
Read-only operation, no modification of resources.
ExecExecutes a command inside a pod.
Can execute arbitrary commands, potentially leading to security breaches.
Install Helm ChartInstalls a Helm chart in a specified namespace.
Helm charts can contain malicious code or misconfigurations.
Uninstall Helm ReleaseUninstalls a Helm release from a specified namespace.
Can remove critical applications or services.
Safety Assessment
The Kubernetes MCP server offers flexibility but requires careful configuration. Running in read-only mode significantly reduces risk. Exercise caution when performing write operations or executing commands within pods.
- Supports read-only mode to prevent accidental modifications.
- Can be configured with specific RBAC permissions in Kubernetes.
- Provides logging and monitoring capabilities for auditing.
- Allows configuration via TOML files for controlled settings.
- Allows write operations, potentially leading to unintended changes.
- Improper configuration can expose sensitive resources.
- Executing commands inside pods can introduce security risks.
- Helm chart installations can introduce vulnerabilities if not properly vetted.
