Does Mcp Kubernetes Ro require kubectl to be installed?
No. It uses your local kubectl configuration (kubeconfig) but does not depend on the kubectl binary.
@patrickdappollonio
Basic information
Category
Cloud & Infrastructure
Transports
stdio
Author
patrickdappollonio
Submitted by
Patrick D'appollonio
mcp-kubernetes-ro is a Model Context Protocol (MCP) server providing read-only access to Kubernetes clusters for AI assistants. It enables AI models to list resources, get resource details, retrieve pod logs, discover API resources, and perform base64 encoding/decoding operations
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"kubernetes-ro": {
"command": "mcp-kubernetes-ro",
"args": [
"--kubeconfig=/path/to/kubeconfig"
],
"env": {}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Mcp Kubernetes Ro is a read-only Model Context Protocol (MCP) server that provides AI assistants with safe, read-only access to Kubernetes clusters. It uses your local kubectl configuration to enable comprehensive cluster inspection and troubleshooting without requiring kubectl to be installed.
Install via pre-built binaries, Homebrew, or Docker. Configure it in your MCP client (e.g., editor settings) with the command mcp-kubernetes-ro and optional flags like --kubeconfig, --namespace, or --transport. It reads your default kubeconfig (~/.kube/config) and environment variable KUBECONFIG. Run in stdio mode by default, or use --transport=sse --port=8080 for HTTP SSE mode.
No. It uses your local kubectl configuration (kubeconfig) but does not depend on the kubectl binary.
No. The server provides read‑only access and prevents any destructive operations.
The server supports both stdio (default) and Server‑Sent Events (SSE) transport modes.
Use the `--kubeconfig` command‑line flag or set the `KUBECONFIG` environment variable.
Metrics tools (`get_node_metrics`, `get_pod_metrics`) require the metrics‑server to be installed in the cluster; otherwise, they return an error.
YesTechie builds enterprise UniFi networks, cameras, access control, cabling and Wi-Fi for businesses nationwide from its California HQ. Agents can read real project case studies and practical configuration guides, price

InfraNest watches your websites, servers, domains and SSL certificates. Connect it to Claude, ChatGPT or Cursor and ask what is down or about to expire.
Open source MCP Servers for AWS
Model Context Protocol (MCP) server for Kubernetes and OpenShift
Connect Supabase to your AI assistants
Comments