Inspect Kubernetes resources, logs, events, and metrics through a read-only MCP interface with secrets automatically masked. Built for developers who need safe, auditable cluster visibility without write permissions.
io.github.your-ko/mcp-k8s-ro
Local install
STDIO
No auth required
How models use it and what it is built for.
Inspect Kubernetes resources, logs, events, and metrics through a read-only MCP interface with secrets automatically masked. Built for developers who need safe, auditable cluster visibility without write permissions.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Path to the kubeconfig file. Defaults to ~/.kube/config.
Where to find authoritative docs and source for Your Ko MCP K8s Ro.
Paste any of these into Agent Studio after connecting Your Ko MCP K8s Ro.
Common questions about connecting and running Your Ko MCP K8s Ro.
What Kubernetes resources can I inspect with this server?
You can read pods, deployments, services, events, logs, and metrics across your cluster. All operations are read-only, and sensitive data like secrets are automatically masked for security.
How do I connect this server to my Kubernetes cluster?
Set the KUBECONFIG environment variable to the path of your kubeconfig file (defaults to ~/.kube/config). The server uses your existing kubectl authentication, so ensure your kubeconfig is properly configured before running the Docker container.
Is this server safe to use in production?
Yes—it is read-only by design, meaning it cannot modify, delete, or create resources. Secrets are masked in output, making it safe for auditing and debugging without exposing sensitive credentials.
Can I use this server to troubleshoot application issues?
Yes. You can query pod logs, inspect events, check resource metrics, and examine deployment status—all the core tools needed for debugging and monitoring Kubernetes applications.
What happens if my kubeconfig points to multiple clusters?
The server uses the current context in your kubeconfig file. Switch contexts using kubectl config use-context before running the MCP server, or update KUBECONFIG to point to a specific cluster's config file.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent Studio