mcp-k8s-go (strowk) Stale
Go MCP server for Kubernetes with context allow-listing and secret masking.
Labels are provisional (from the project README/docs, checked Nov 3, 2026). Not yet tested in our sandbox.
Read-only switch
--readonly disables tools that write to the cluster. --allowed-contexts limits which kube contexts are reachable; --mask-secrets defaults to true.
Preset
- Added
--readonly
Claude Code
{
"mcpServers": {
"k8s-go": {
"command": "npx",
Removed: "args": ["@strowk/mcp-k8s"]
"args": ["@strowk/mcp-k8s", "--readonly"]
}
}
}Optional third layer: add "deny": ["mcp__k8s-go__<write tool>"] under permissions in .claude/settings.json.
Codex
# Generated by redpresets.dev on 2026-11-03. Unverified preset. Also use a read-only credential. Not a security guarantee.
[mcp_servers.k8s-go]
command = "npx"
Removed: args = ["@strowk/mcp-k8s"]
args = ["@strowk/mcp-k8s", "--readonly"]
default_tools_approval_mode = "writes"default_tools_approval_mode = "writes" asks before any tool the server does not mark read-only.
Cursor
{
"mcpServers": {
"k8s-go": {
"type": "stdio",
"command": "npx",
Removed: "args": ["@strowk/mcp-k8s"]
"args": ["@strowk/mcp-k8s", "--readonly"]
}
}
}Don't add write tools to mcpAllowlist in .cursor/permissions.json. Leave them on approval. Cursor's docs say the allowlist is not a security boundary.
Lines marked + are what we added to the vendor's install command. Struck-through lines marked − are what they replaced; Copy leaves those out.
Credential layer
Bind the kubeconfig/service account the agent uses to a read-only ClusterRole (e.g. the built-in view role). view excludes Secrets; do not grant get secrets to agents.
Gotchas
- No push since 2025-12-22 (GitHub, fetched Oct 27), so it may be unmaintained. Check before you rely on it.
Facts
- Vendor
- strowk (community)
- Source
- strowk/mcp-k8s-go
- License
- MIT
- GitHub stars
- 382
- Latest release
- v0.6.1 (Nov 15, 2025)
- Last push
- Dec 22, 2025
- Status
- Stale
- Last checked
- Nov 3, 2026
Sources
- README: --readonly, --allowed-contexts, --mask-secrets · checked Oct 27, 2026
Spotted something wrong? Labels change when vendors change. Suggest a correction
Read-only alternatives in Kubernetes
MCP server for Argo CD applications: list, inspect, sync and manage apps.
MCP server shipped with the Flux Operator for GitOps reconciliation, debugging and diffs.
Kubernetes analyzer; k8sgpt serve --mcp exposes its cluster analysis over MCP.