
mcp-k8s-eye
MCP server for managing Kubernetes resources and diagnosing workload health from AI
mcp-k8s-eye is an open-source MCP server for developer tools. It is available on CLI and Self-hosted.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- What it can do
- Can delete data (1 tool)
- GitHub stars
- 29
- Last commit
Similar MCP servers
About mcp-k8s-eye
Gives AI assistants direct access to a Kubernetes cluster through the Model Context Protocol. Once connected via kubeconfig, a client can read, create, update and delete resources across namespaces, including custom resource definitions, and run commands inside pods or scale deployments.
Beyond raw CRUD operations, the server includes diagnostic routines that inspect pods, deployments, StatefulSets, services, CronJobs, ingresses, network policies, webhooks and nodes, reporting on conditions such as unavailable replicas, selector mismatches and missing endpoints. It also reports CPU and memory usage for workloads in a namespace.
It is aimed at platform and DevOps engineers who want an assistant to help with cluster troubleshooting and routine operations. It runs over stdio or SSE and is written in Go.
Tools this server provides (19)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 19 tools deletes data and 2 change data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- resource_getName suggests: reads
- Get detailed resource information about a specific resource in a namespace
- resource_listName suggests: reads
- List detailed resource information about all resources in a namespace
- resource_create_or_updateName suggests: changes
- Create or update a resource in a namespace
- resource_deleteName suggests: deletes
- Delete a resource in a namespace
- resource_describeName suggests: reads
- Describe a resource detailed information in a namespace
- deployment_scale
- Scale a deployment in a namespace
- pod_execName suggests: changes
- Execute a command in a pod in a namespace
- pod_logs
- Get logs from a pod in a namespace
- pod_analyzeName suggests: reads
- Diagnose all pods in a namespace
- deployment_analyzeName suggests: reads
- Diagnose all deployments in a namespace
- statefulset_analyzeName suggests: reads
- Diagnose all statefulsets in a namespace
- service_analyzeName suggests: reads
- Diagnose all services in a namespace
- cronjob_analyzeName suggests: reads
- Diagnose all cronjobs in a namespace
- ingress_analyzeName suggests: reads
- Diagnose all ingresses in a namespace
- networkpolicy_analyzeName suggests: reads
- Diagnose all networkpolicies in a namespace
- validatingwebhook_analyzeName suggests: reads
- Diagnose all validatingwebhooks
- mutatingwebhook_analyzeName suggests: reads
- Diagnose all mutatingwebhooks
- node_analyzeName suggests: reads
- Diagnose all nodes in cluster
- workload_resource_usage
- Get pod/deployment/replicaset/statefulset resource usage in a namespace (cpu, memory)
What it does
- Generic resource management
- List, get, create, update and delete native Kubernetes and custom resources in a namespace.
- Pod exec and logs
- Run a command inside a pod or retrieve its container logs through the assistant.
- Deployment scaling
- Change the replica count of a deployment without leaving the chat session.
- Workload diagnostics
- Analyze pods, deployments, StatefulSets, services, CronJobs and ingresses for common faults.
- Webhook and policy checks
- Inspect validating and mutating webhooks and network policies along with the pods they affect.
- Resource usage reporting
- Report CPU and memory usage for pods, deployments, ReplicaSets, StatefulSets and DaemonSets.
Good for
- Asking an assistant why a deployment has fewer available replicas than expected
- Scaling a deployment up or down during a traffic change
- Pulling logs or running a diagnostic command inside a failing pod
- Checking whether a service selector matches any ready endpoints
- Reviewing CPU and memory consumption of workloads in one namespace
Pricing
Open source
More servers for the same service
mcp-k8s-eye FAQ
How does the server connect to my cluster?
It reads the kubeconfig file from the HOME directory set in the client configuration, so it uses the same access as kubectl.
Which transport protocols are supported?
It supports stdio and SSE transports.
What do I need to build mcp-k8s-eye?
Go 1.23 or higher and a configured kubectl. The README builds it from source with go build.
Is mcp-k8s-eye free?
Yes. mcp-k8s-eye is open source, so you can use and self-host it for free.
What are the best alternatives to mcp-k8s-eye?
The closest alternatives to mcp-k8s-eye are k8s-mcp-server, mcp-k8s-go, K8s MCP Server (Go), mcp-k8s and Kubernetes MCP Server.
Where this comes from
- Description: written from the project's README.


