A
Emerging
90/100
23 hours ago

mcp-server-kubernetes

MCP server for interacting with Kubernetes clusters via kubectl

Emerging. No concerning findings. Grades remain capped until the project builds reputation through adoption. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

Flux159

Source: npm · also listed on modelscope, mcp.so

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 2 credentials: K8S_TOKEN, MCP_AUTH_TOKEN
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configALLOWED_TOOLS"kubectl_get,kubectl_describe" npx mcp-server-kubernetes
configALLOW_KUBECTL_UNSAFE_FLAGS
configALLOW_ONLY_NON_DESTRUCTIVE_TOOLStrue npx mcp-server-kubernetes
configALLOW_ONLY_READONLY_TOOLStrue npx mcp-server-kubernetes
configDNS_REBINDING_ALLOWED_HOSTmcp.example.com ENABLE_UNSAFE_STREAMABLE_HTTP_TRANSPORT=1 PORT=3001 HOST=0.0.0.0 npx flux159/mcp-server-kubernetes
configDNS_REBINDING_PROTECTIONfalse ENABLE_UNSAFE_STREAMABLE_HTTP_TRANSPORT=1 PORT=3001 HOST=0.0.0.0 npx flux159/mcp-server-kubernetes
configENABLE_TELEMETRY
configENABLE_UNSAFE_SSE_TRANSPORTTo enable [SSE transport](https://modelcontextprotocol.io/docs/concepts/transports#server-sent-events-sse) for mcp-server-kubernetes, use the environment variable.
configENABLE_UNSAFE_STREAMABLE_HTTP_TRANSPORTTo enable [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) for mcp-server-kubernetes, use the environment variable.
configHOSTENABLE_UNSAFE_STREAMABLE_HTTP_TRANSPORT=1 PORT=3001 =0.0.0.0 npx flux159/mcp-server-kubernetes
configK8S_CA_DATAexport ='LS0tLS1CRUdJTi...' # optional, base64-encoded CA certificate
configK8S_CONTEXTexport ='my-specific-context' # Override kubeconfig context
configK8S_NAMESPACEexport ='my-namespace' # Override default namespace
configK8S_SERVER3. + K8S_TOKEN – Minimal env-based config
configK8S_SKIP_TLS_VERIFYexport ='false' # optional, defaults to false
🔐 secretK8S_TOKEN3. K8S_SERVER + – Minimal env-based config
configKUBECONFIG6. – Standard kubeconfig env var
configKUBECONFIG_JSON2. – Full config as JSON string
configKUBECONFIG_PATH5. – Custom kubeconfig file path
configKUBECONFIG_YAML1. – Full config as YAML string
🔐 secretMCP_AUTH_TOKENmy-secret-token ENABLE_UNSAFE_STREAMABLE_HTTP_TRANSPORT=1 npx mcp-server-kubernetes
configOTEL_CAPTURE_RESPONSE_METADATA
configOTEL_EXPORTER_OTLP_ENDPOINT
configOTEL_RESOURCE_ATTRIBUTES
configOTEL_SERVICE_NAME
configOTEL_SERVICE_VERSION
configOTEL_TRACES_SAMPLER
configOTEL_TRACES_SAMPLER_ARG
configSPAWN_MAX_BUFFER"": "5242880" // 5MB = 102410245. Default is 1MB in Node.js
Deployment configuration, supplied by whoever hosts the server. Users are not asked for these.
deployPORT
// quality suggestions

Tool annotations

No tools have read-only/destructive annotations

Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.

All four hints declared on every tool

25/25 tools missing one or more hints — exec_in_pod (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); install_helm_chart (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); upgrade_helm_chart (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +22 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.

For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.

Shell command execution

1 child_process/subprocess call in production code — runs shell commands (src/security/kubectl-flags.ts:252)

Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 3 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/mcp-server-kubernetes-05n7al)](https://m8ven.ai/mcp/mcp-server-kubernetes-05n7al)
Shows your grade and updates automatically. Prefer no grade? Append ?variant=verified to the badge URL.
commit: 1ece64e6a9a52b62c9d1ac39e38331a357f89666
code hash: da4f360d223158d6a6dbd6cfe408eaf808ab7cca3c27d1f2afc6ff352da144dc
verified: 8/18/2026, 6:56:02 PM
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client