MCP Server Authentication Required: kubernetes
The nightly stress test detected that the kubernetes MCP server requires authentication to function properly. The server tools were not accessible during testing.
Test Details
- Test Session: stress-test-20260225-022355
- Test Date: 2026-02-25
- Server Container: mcp/kubernetes
Required Authentication
Environment Variable / Mount: KUBECONFIG or service account credentials
Token Type: Kubernetes cluster credentials (kubeconfig or service account token)
How to Obtain:
- Set up a Kubernetes cluster (e.g., via GKE, EKS, AKS, or a local cluster like kind/minikube)
- Obtain the kubeconfig file from the cluster
- Either:
- Encode the kubeconfig as a secret and mount it at the expected path, or
- Provide
KUBECONFIG environment variable pointing to the config file
- Ensure the service account has appropriate RBAC permissions (at minimum
get, list on pods/deployments)
- Add kubeconfig content to repository secrets as
KUBE_CONFIG
Error Message
Server tools not accessible - no tools exposed through MCP Gateway
Suggested Configuration
{
"kubernetes": {
"type": "stdio",
"container": "mcp/kubernetes",
"env": {
"KUBECONFIG": "/root/.kube/config"
},
"mounts": [
"/path/to/kubeconfig:/root/.kube/config:ro"
]
}
}
Next Steps
Generated by Nightly MCP Stress Test
Test Session: stress-test-20260225-022355
Generated by Nightly MCP Server Stress Test
MCP Server Authentication Required: kubernetes
The nightly stress test detected that the kubernetes MCP server requires authentication to function properly. The server tools were not accessible during testing.
Test Details
Required Authentication
Environment Variable / Mount:
KUBECONFIGor service account credentialsToken Type: Kubernetes cluster credentials (kubeconfig or service account token)
How to Obtain:
KUBECONFIGenvironment variable pointing to the config fileget,liston pods/deployments)KUBE_CONFIGError Message
Suggested Configuration
{ "kubernetes": { "type": "stdio", "container": "mcp/kubernetes", "env": { "KUBECONFIG": "/root/.kube/config" }, "mounts": [ "/path/to/kubeconfig:/root/.kube/config:ro" ] } }Next Steps
Generated by Nightly MCP Stress Test
Test Session: stress-test-20260225-022355