MCPpedia last refreshed this data
Go Kubernetes MCP Server is an MCP server that provides cloud tools to AI agents. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 39/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"kubernetes": {
"args": [
"--kubeconfig",
"/Users/you/.kube/config"
],
"command": "/path/to/k8s-mcp-server"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A production-ready Model Context Protocol server that gives AI agents and LLM applications full visibility into — and (opt-in) control over — a Kubernetes cluster: manage resources, troubleshoot problems, and debug applications. 37 read-only tools by default; 13 mutating with --allow-writes, 4 destructive with --allow-destructive, and 4 debug tools with --allow-debug (58 total when every flag is set).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in cloud
MCP Server for GCP environment for interacting with various Observability APIs.
Evidence-grounded agent memory with mandatory provenance, on local SQLite or Cloudflare D1
MCP Server for kubernetes management commands
Upload, organize, search, and transform images, videos, and files with AI-powered tools.
MCP Security Weekly
Get CVE alerts and security updates for Go Kubernetes Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A production-ready Model Context Protocol server
that gives AI agents and LLM applications full visibility into — and (opt-in)
control over — a Kubernetes cluster: manage resources, troubleshoot
problems, and debug applications. 37 read-only tools by default; 13
mutating with --allow-writes, 4 destructive with --allow-destructive,
and 4 debug tools with --allow-debug (58 total when every flag is set).
All phases complete and verified against a live cluster (including a full create→verify→delete lifecycle). 11/11 packages have automated unit tests; the security regression suite asserts tools are unreachable per mode; CI (lint/vet/test), kind e2e (multi-version), and goreleaser release pipelines are wired.
Written in Go using the official
MCP Go SDK and
client-go.
Point an MCP-aware client (Claude Desktop, Cursor, opencode, Claude Code, …) at this server and the agent can: read logs, diagnose a crashing pod, inspect events, describe any resource, list workloads/services/secrets, and — when you explicitly unlock it — apply manifests, scale deployments, drain nodes, exec into containers, and port-forward.
Safe by default. The server boots read-only. Mutating, destructive, and debug tools are not even registered unless you pass the corresponding flag.
list_pods, get_logs, describe (any GVK incl. CRDs), list_events,
top_pods/top_nodes, rollout_status/rollout_history, and an automated
diagnose_pod/diagnose_node engine (CrashLoopBackOff, ImagePullBackOff,
OOMKilled, probe failures, scheduling/PVC issues, node pressure).describe over the dynamic client — works for any built-in or CRD.stdio (local agents) and streamable http (shared).Homebrew (macOS & Linux):
brew install --cask langazov/tap/k8s-mcp-server
Pre-built binaries, the Docker image, go install, building from source, and
in-cluster deployment are covered in the Installation guide.
Prefer a guided setup? Run the interactive wizard — it picks your AI client and configures the start options for you:
./scripts/install-wizard.sh
./k8s-mcp-server --kubeconfig ~/.kube/config
Logs go to stderr; MCP traffic flows over stdin/stdout. Read-only by default.
# Read + mutating tools (scale, apply, restart, configmaps, ...)
./k8s-mcp-server --allow-writes
# + destructive tools (delete, drain, cordon)
./k8s-mcp-server --allow-destructive
# + debug tools (exec, ephemeral containers, port-forward, debug pods)
./k8s-mcp-server --allow-debug
# Restrict to specific namespaces
./k8s-mcp-server --namespace team-a --namespace team-b
claude_desktop_config.json){
"mcpServers": {
"kubernetes": {
"command": "/path/to/k8s-mcp-server",
"args": ["--kubeconfig", "/Users/you/.kube/config"]
}
}
}
{
"mcp": {
"kubernetes": {
"type": "local",
"command": ["k8s-mcp-server", "--kubeconfig", "~/.kube/config"]
}
}
}
Add a "local" MCP server pointin