PluginBench
MCP Server

K8s Lens MCP Server

io.github.firas-mcp-servers/k8s-lens-mcp

What is the K8s Lens MCP server?

MCP server for natural-language Kubernetes operations across single or multi-cluster environments.

How to install K8s Lens

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • KUBECONFIG

    Path to kubeconfig file (defaults to ~/.kube/config)

  • OTEL_EXPORTER_OTLP_ENDPOINT

    OpenTelemetry OTLP endpoint for tracing (optional)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "k8s-lens-mcp": {
      "command": "uvx",
      "args": [
        "k8s-lens-mcp"
      ],
      "env": {
        "KUBECONFIG": "<YOUR_KUBECONFIG>",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "<YOUR_OTEL_EXPORTER_OTLP_ENDPOINT>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "k8s-lens-mcp": {
      "command": "uvx",
      "args": [
        "k8s-lens-mcp"
      ],
      "env": {
        "KUBECONFIG": "<YOUR_KUBECONFIG>",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "<YOUR_OTEL_EXPORTER_OTLP_ENDPOINT>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "k8s-lens-mcp": {
      "command": "uvx",
      "args": [
        "k8s-lens-mcp"
      ],
      "env": {
        "KUBECONFIG": "<YOUR_KUBECONFIG>",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "<YOUR_OTEL_EXPORTER_OTLP_ENDPOINT>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "k8s-lens-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "k8s-lens-mcp"
      ],
      "env": {
        "KUBECONFIG": "<YOUR_KUBECONFIG>",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "<YOUR_OTEL_EXPORTER_OTLP_ENDPOINT>"
      }
    }
  }
}
Claude Code
claude mcp add k8s-lens-mcp --env KUBECONFIG=<YOUR_KUBECONFIG> --env OTEL_EXPORTER_OTLP_ENDPOINT=<YOUR_OTEL_EXPORTER_OTLP_ENDPOINT> -- uvx k8s-lens-mcp

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →