The nightly stress test detected that the kubernetes MCP server requires authentication to function properly.
Test Details
- Test Session: stress-test-20260208-034257
- Test Date: 2026-02-08T03:42:57Z
- Server Container: mcp/kubernetes
Required Authentication Token
Environment Variable: KUBECONFIG
Token Type: Kubernetes Cluster Configuration
How to Obtain:
- Ensure you have access to a Kubernetes cluster
- Get kubeconfig file from cluster (usually
~/.kube/config)
- Verify config has valid cluster definitions
- Add to repository secrets or mount as file
Error Message
TypeError: Cannot read properties of undefined (reading 'clusters')
Analysis
The kubernetes server expects a valid kubeconfig file but received an invalid/empty config. The kubeconfig structure is malformed or missing required cluster definitions.
Suggested Configuration
Add the following to your MCP Gateway configuration:
{
"kubernetes": {
"type": "stdio",
"container": "mcp/kubernetes",
"env": {
"KUBECONFIG": "${KUBECONFIG}",
"KUBERNETES_CLUSTER_URL": "${KUBERNETES_CLUSTER_URL}"
}
}
}
Next Steps
Generated by Nightly MCP Stress Test
Test Session: stress-test-20260208-034257
AI generated by Nightly MCP Server Stress Test
The nightly stress test detected that the kubernetes MCP server requires authentication to function properly.
Test Details
Required Authentication Token
Environment Variable:
KUBECONFIGToken Type: Kubernetes Cluster Configuration
How to Obtain:
~/.kube/config)Error Message
Analysis
The kubernetes server expects a valid kubeconfig file but received an invalid/empty config. The kubeconfig structure is malformed or missing required cluster definitions.
Suggested Configuration
Add the following to your MCP Gateway configuration:
{ "kubernetes": { "type": "stdio", "container": "mcp/kubernetes", "env": { "KUBECONFIG": "${KUBECONFIG}", "KUBERNETES_CLUSTER_URL": "${KUBERNETES_CLUSTER_URL}" } } }Next Steps
Generated by Nightly MCP Stress Test
Test Session: stress-test-20260208-034257