K8s Lens MCP Server
by firas-mcp-serversio.github.firas-mcp-servers/k8s-lens-mcpv0.1.0
MCP server for natural-language Kubernetes operations across single or multi-cluster environments.
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install K8s Lens MCP server
Install in Claude Code
claude mcp add k8s-lens -- uvx k8s-lens-mcpInstall in Cursor
{
"mcpServers": {
"k8s-lens": {
"command": "uvx",
"args": [
"k8s-lens-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"k8s-lens": {
"command": "uvx",
"args": [
"k8s-lens-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"k8s-lens": {
"type": "stdio",
"command": "uvx",
"args": [
"k8s-lens-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"k8s-lens": {
"command": "uvx",
"args": [
"k8s-lens-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| KUBECONFIG | — | — | Path to kubeconfig file (defaults to ~/.kube/config) |
| OTEL_EXPORTER_OTLP_ENDPOINT | — | — | OpenTelemetry OTLP endpoint for tracing (optional) |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-05-19 · 5mo ago · official registry · v0.1.0
FAQ
›How do I install the K8s Lens MCP server in Claude Code?
Run: claude mcp add k8s-lens -- uvx k8s-lens-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does K8s Lens require an API key?
No required environment variables are declared in its published metadata.
›Can I use K8s Lens as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is K8s Lens in the official MCP registry?
Yes, as io.github.firas-mcp-servers/k8s-lens-mcp.
Alternatives to K8s Lens
Other devops & ci/cd MCP servers.