Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Kubernetes MCP server

by containers/kubernetes-mcp-serverApache-2.0 licenceAudited 23 Sep 2026 · source b670bf4cb478

npm kubernetes-mcp-serverstdiostreamable-http★ 2,116
✕BLOCKGrade F · 40/100 · 23 Sep 2026 · b670bf4

Is it safe? No — BLOCK, grade F (40/100). It exposes 7 tools: 7 read, 0 write and 0 destructive. The audit recorded 50 findings (3 critical, 2 high, 19 medium, 21 low). Maintainer's description: Model Context Protocol (MCP) server for Kubernetes and OpenShift

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Kubernetes MCP server (containers/kubernetes-mcp-server)”. Retrieved 23 Sep 2026. https://modelsatlas.com/mcp/containers/kubernetes-9

Why this is BLOCK. The audit found 3 critical and 2 high findings; the most severe is Hard-coded secrets at pkg/mcplog/log.go:105. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Copy of mcp/containers/kubernetes-mcp-server: identical text; the original is the page to read and cite.

Trust audit

Audit 0.4.1 · full source read 23 Sep 2026

Trust score40/100✕BLOCK F
3 critical2 high19 medium21 low5 info

50 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared8 observations
  • NetworkDeclared10 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

Findings (50)

Sorted by severity · the 25 most severe of 50 are listed

CRITICALHard-coded secretssecret.private_key · pkg/mcplog/log.go:105
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
CRITICALHard-coded secretssecret.private_key · pkg/mcplog/log.go:106
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
CRITICALHard-coded secretssecret.private_key · pkg/mcplog/log.go:107
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHFilesystem / pathfs.credential_store · evals/tasks/kubevirt/template-required-params/task.yaml:86
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
ssh_authorized_keys:
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · pkg/toolsets/kubevirt/vm/troubleshoot/tool.go:595
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"ssh_authorized_keys",
Why
touches a credential store
Fix
—
MEDIUMNetwork egressnet.raw_ip · build/conformance.mk:23
F-04 Network egressCWE-200 · CWE-319Layer L1
'    server: https://127.0.0.1:6443' \
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · build/netobserv.mk:13
F-04 Network egressCWE-200 · CWE-319Layer L1
@echo "Port-forwarding netobserv-plugin to http://127.0.0.1:$(NETOBSERV_PORT)..."
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · build/netobserv.mk:15
F-04 Network egressCWE-200 · CWE-319Layer L1
@timeout 30s bash -c 'until curl -sf http://127.0.0.1:$(NETOBSERV_PORT)/api/resources/namespaces >/dev/null; do sleep 1; done' \
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · build/netobserv.mk:16
F-04 Network egressCWE-200 · CWE-319Layer L1
&& echo "NetObserv mock plugin is ready at http://127.0.0.1:$(NETOBSERV_PORT)"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · dev/config/mcp-configs/netobserv.toml:3
F-04 Network egressCWE-200 · CWE-319Layer L1
url = "http://127.0.0.1:9001"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · pkg/mcplog/log_test.go:101
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · pkg/mcplog/log_test.go:103
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · pkg/mcplog/log_test.go:136
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · pkg/mcplog/log_test.go:73
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · pkg/mcplog/log_test.go:75
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · pkg/mcplog/log_test.go:159
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · pkg/mcplog/log_test.go:162
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · pkg/mcplog/log_test.go:115
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · pkg/mcplog/log_test.go:117
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .mcpbignore
F-13 Inventory / provenanceCWE-1104Layer L0
.mcpbignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose

Tools it exposes

7 declared in source · 0 destructive

7 read0 write0 destructive
ToolWhat it doesRisk
disabled-toolsetDisabled toolsetread
empty-slice-toolsetToolset with empty prompts sliceread
empty-toolsetToolset with no promptsread
enabled-toolsetEnabled toolsetread
test-toolsetTest toolset with promptsread
toolset1First toolsetread
toolset2Second toolsetread

Audit history

  1. ✕BLOCK F 40 / 100

    Source changed, verdict held · b670bf4cb478

Questions about Kubernetes MCP server

What is the Kubernetes MCP server?
Model Context Protocol (MCP) server for Kubernetes and OpenShift
What tools does Kubernetes expose?
7 in total: 7 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Kubernetes safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (40/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Kubernetes need?
No credential environment variables were found in its source, so it appears to need none.
How does Kubernetes run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as kubernetes-mcp-server at 0.0.0.
How current is this page?
The grade is for one exact copy of the source (b670bf4cb478), read on 2026-09-23. The repository is watched and re-audited when it changes.
I already installed Kubernetes. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.