MCP server · Audited from source
Kubectl MCP server
by rohitg00/kubectl-mcp-serverMIT licenceAudited 26 Sep 2026 · source 7486dd044ac8
Is it safe? No — BLOCK, grade F (49/100). It exposes 12 tools: 10 read, 1 write and 1 destructive. The audit recorded 27 findings (0 critical, 8 high, 4 medium, 12 low). Maintainer's description: Published in CNCF Landscape: A MCP server for Kubernetes.
Cite
Cite this page
ModelsAtlas. “Kubectl MCP server (rohitg00/kubectl-mcp-server)”. Retrieved 26 Sep 2026. https://modelsatlas.com/mcp/rohitg00/kubectl
Why this is BLOCK. The audit found 0 critical and 8 high findings; the most severe is Code injection at evals/claude-code/eval.yaml:58. 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.
Trust audit
Audit 0.4.1 · full source read 26 Sep 2026
27 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
- FilesystemDeclared7 observations
- NetworkDeclared8 observations
- ShellDeclared7 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (27)
Sorted by severity · the 25 most severe of 27 are listed
HIGHCode injectioncode.eval_exec · evals/claude-code/eval.yaml:58
# Global timeout for the entire eval (seconds)
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · evals/openai-agent/eval.yaml:58
# Global timeout for the entire eval (seconds)
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHFilesystem / pathfs.credential_store · kubectl_mcp_tool/k8s_config.py:149
kubeconfig_env = os.environ.get('KUBECONFIG', '~/.kube/config')- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · kubectl_mcp_tool/k8s_config.py:248
kubeconfig_path = os.environ.get('KUBECONFIG', '~/.kube/config')- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · kubectl_mcp_tool/k8s_config.py:356
kubeconfig_path = os.environ.get('KUBECONFIG', '~/.kube/config')- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · kubectl_mcp_tool/k8s_config.py:501
kubeconfig_path = os.environ.get('KUBECONFIG', '~/.kube/config')- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · kubectl_mcp_tool/k8s_config.py:531
kubeconfig_path = os.environ.get('KUBECONFIG', '~/.kube/config')- Why
- touches a credential store
- Fix
- —
HIGHPrompt injectionprompt.persistence · kubernetes-skills/claude/k8s-cli/SKILL.md:236
# Add to ~/.bashrc or ~/.zshrc
- Why
- instructs the agent to persist itself in the user's environment
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/test_server.py:285
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/test_tools.py:767
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMSupply chainprompt.pipe_to_shell · kubernetes-skills/claude/k8s-helm/SKILL.md:289
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
k8s-helm
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWNetwork egressnet.raw_ip · kubernetes-skills/claude/k8s-helm/references/CHART-STRUCTURE.md:302
echo "Visit http://127.0.0.1:8080 to use your application"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.base64_blob · README.md:29
<a href="https://aregistry.ai"><img src="https://img.shields.io/badge/agentregistry-verified-blue?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGV
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · kubectl-mcp-app/package.json
@anthropic-ai/sdk, @modelcontextprotocol/sdk, zod, @types/node, @types/react, @types/react-dom, @vitejs/plugin-react, concurrently
- Why
- 16 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · requirements-dev.txt
pytest, pytest-asyncio, pytest-cov, pytest-mock, black, isort, flake8, mypy
- Why
- 10 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · requirements.txt
fastmcp, pydantic, fastapi, uvicorn, starlette, kubernetes, PyYAML, requests
- Why
- 19 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWPrompt injectionprompt.authority_framing · kubernetes-skills/claude/k8s-multicluster/CONTEXT-SWITCHING.md:129
# Development: full access SA
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.authority_framing · kubernetes-skills/claude/k8s-vind/references/WORKFLOWS.md:233
| Cluster admin | Full access | Limited |
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · README.md:763
curl -fsSL https://raw.githubusercontent.com/agentregistry-dev/agentregistry/main/scripts/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · README.md:807
curl -fsSL https://raw.githubusercontent.com/kagent-dev/kmcp/refs/heads/main/scripts/get-kmcp.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · deploy/README.md:13
curl -fsSL https://raw.githubusercontent.com/kagent-dev/kmcp/refs/heads/main/scripts/get-kmcp.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · deploy/README.md:52
# Or: curl https://raw.githubusercontent.com/kagent-dev/kagent/refs/heads/main/scripts/get-kagent | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOInventory / provenanceinv.oversize · docs/claude/claude-mcp.gif
docs/claude/claude-mcp.gif
- Why
- 30080077 bytes not read
- Fix
- —
Tools it exposes
12 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
k8s-helm | Helm release management with upgrade, rollback, uninstall, values diff, and release notes | destructive |
k8s-deploy | Deployment management with rollout status, scaling, restart, rollback, and revision history | write |
get_deployments | Get deployments | read |
get_pods | Get pods | read |
k8s-3d-topology | Real-time 3D interactive Kubernetes cluster topology viewer with resource relationships, traffic visualization, and click-to-inspect details | read |
k8s-cluster | Cluster health summary with node status, resource allocation, namespace quotas, and storage overview | read |
k8s-cost | Resource utilization analysis with waste detection, right-sizing recommendations, and savings calculator | read |
k8s-events | Event timeline visualization with type filtering, resource grouping, and time range selection | read |
k8s-logs | Real-time log viewer with syntax highlighting, search, filtering by level, and multi-container support | read |
k8s-network | Network topology graph showing Services, Pods, Ingress connections with click-to-inspect details | read |
k8s-pods | Interactive pod viewer with filtering, sorting, status indicators, and quick actions (logs, delete, exec) | read |
k8s-proxy | Proxy any kubectl-mcp-server tool call | read |
Safer alternatives
All cloud & infra servers →pab1it0/prometheus-mcp-server
A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.
OctopusDeploy/mcp-server
Octopus Deploy Official MCP Server
parthkapoor-dev/devex
⚡️ Devex — A Fast, Secure, and Scalable Repl-as-a-Service Platform built for Developers 🚀
Audit history
- ✕BLOCK F 49 / 100
First audit ·
7486dd044ac8
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Kubectl MCP server
What is the Kubectl MCP server?
What tools does Kubectl expose?
Is Kubectl safe to connect to an agent?
What credentials does Kubectl need?
How does Kubectl run?
How current is this page?
I already installed Kubectl. What should I do?
Can the verdict change?
Sources
- rohitg00/kubectl-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 26 Sep 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 7486dd044ac8Observed · 26 Sep 2026
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.
- What is the Kubectl MCP server?
- What tools does Kubectl expose?
- Is Kubectl safe to connect to an agent?