The mcp-kubernetes-server is a server implementing the Model Context Protocol (MCP) to enable AI assistants (such as Claude, Cursor, and GitHub Copilot) to interact with Kubernetes clusters. It acts…
mcp-kubernetes-server is an MCP project maintained in the feiskyer/mcp-kubernetes-server repository. The maintainer describes its purpose as “The mcp-kubernetes-server is a server implementing the Model Context Protocol (MCP) to enable AI assistants (such as Claude, Cursor, and GitHub Copilot) to interact with…”. Read the project documentation for the complete scope.
The project provides a local client configuration using docker. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| kubectl | Run any kubectl command and return the output |
| helm | Run any helm command and return the output |
| k8s_get | Fetch any Kubernetes object (or list) as JSON string |
| k8s_describe | Show detailed information about a specific resource or group of resources |
| k8s_logs | Print the logs for a container in a pod |
| k8s_events | List events in the cluster |
| k8s_apis | List all available APIs in the Kubernetes cluster |
| k8s_crds | List all Custom Resource Definitions (CRDs) in the Kubernetes cluster |
| k8s_top_nodes | Display resource usage (CPU/memory) of nodes |
| k8s_top_pods | Display resource usage (CPU/memory) of pods |
| k8s_rollout_status | Get the status of a rollout for a deployment, daemonset, or statefulset |
| k8s_rollout_history | Get the rollout history for a deployment, daemonset, or statefulset |
| k8s_auth_can_i | Check whether an action is allowed |
| k8s_auth_whoami | Show the subject that you are currently authenticated as |
| k8s_create | Create a Kubernetes resource from YAML/JSON content |
| k8s_apply | Apply a configuration to a resource by filename or stdin |
| k8s_expose | Expose a resource as a new Kubernetes service |
| k8s_run | Create and run a particular image in a pod |
| k8s_set_resources | Set resource limits and requests for containers |
| k8s_set_image | Set the image for a container |
| k8s_set_env | Set environment variables for a container |
| k8s_rollout_undo | Undo a rollout for a deployment, daemonset, or statefulset |
| k8s_rollout_restart | Restart a rollout for a deployment, daemonset, or statefulset |
| k8s_rollout_pause | Pause a rollout for a deployment, daemonset, or statefulset |
| k8s_rollout_resume | Resume a rollout for a deployment, daemonset, or statefulset |
| k8s_scale | Scale a resource |
| k8s_autoscale | Autoscale a deployment, replica set, stateful set, or replication controller |
| k8s_cordon | Mark a node as unschedulable |
| k8s_uncordon | Mark a node as schedulable |
| k8s_drain | Drain a node in preparation for maintenance |
| k8s_taint | Update the taints on one or more nodes |
| k8s_untaint | Remove the taints from a node |
| k8s_exec_command | Execute a command in a container |
| k8s_port_forward | Forward one or more local ports to a pod |
| k8s_cp | Copy files and directories to and from containers |
| k8s_patch | Update fields of a resource |
| k8s_label | Update the labels on a resource |
| k8s_annotate | Update the annotations on a resource |
| k8s_delete | Delete resources by name, label selector, or all resources in a namespace |
{
"mcpServers": {
"kubernetes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount",
"type=bind,src=/home/username/.kube/config,dst=/home/mcp/.kube/config",
"ghcr.io/feiskyer/mcp-kubernetes-server"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
kubectl with a conversational interface — inspect pods, read logs, diagnose clusters and manage workloads.