Kubernetes

Kubernetes

Cloud & Infrastructure
Config file

Manage clusters: CRUD on resources, pods, configs, and deployments.

Kubernetes

Manage clusters: CRUD on resources, pods, configs, and deployments. With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the Kubernetes MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every Kubernetes tool call against your policies.

Why MCPX

MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect Kubernetes once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.

Tools content

  • configuration_contexts_list · Read-only
    List all available context names and associated server urls from the kubeconfig file
  • targets_list · Read-only
    List all available targets
  • configuration_view · Read-only
    Get the current Kubernetes configuration content as a kubeconfig YAML
  • events_list · Read-only
    List Kubernetes events (warnings, errors, state changes) for debugging and troubleshooting in the current cluster from all namespaces
  • namespaces_list · Read-only
    List all the Kubernetes namespaces in the current cluster
  • projects_list · Read-only
    List all the OpenShift projects in the current cluster
  • nodes_log · Read-only
    Get logs from a Kubernetes node (kubelet, kube-proxy, or other system logs). This accesses node logs through the Kubernetes API proxy to the kubelet
  • nodes_stats_summary · Read-only
    Get detailed resource usage statistics from a Kubernetes node via the kubelet's Summary API. Provides comprehensive metrics including CPU, memory, filesystem, and network usage at the node, pod, and container levels.
  • nodes_top · Read-only
    List the resource consumption (CPU and memory) as recorded by the Kubernetes Metrics Server for the specified Kubernetes Nodes or all nodes in the cluster
  • pods_list · Read-only
    List all the Kubernetes pods in the current cluster from all namespaces
  • pods_list_in_namespace · Read-only
    List all the Kubernetes pods in the specified namespace in the current cluster
  • pods_get · Read-only
    Get a Kubernetes Pod in the current or provided namespace with the provided name
  • pods_delete · Write
    Delete a Kubernetes Pod in the current or provided namespace with the provided name
  • pods_top · Read-only
    List the resource consumption (CPU and memory) as recorded by the Kubernetes Metrics Server for the specified Kubernetes Pods in the all namespaces, the provided namespace, or the current namespace
  • pods_exec · Write
    Execute a command in a Kubernetes Pod (shell access, run commands in container) in the current or provided namespace with the provided name and command
  • pods_log · Read-only
    Get the logs of a Kubernetes Pod in the current or provided namespace with the provided name
  • pods_run · Write
    Run a Kubernetes Pod in the current or provided namespace with the provided container image and optional name
  • resources_list · Read-only
    List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector
  • resources_get · Read-only
    Get a Kubernetes resource in the current cluster by providing its apiVersion, kind, optionally the namespace, and its name
  • resources_create_or_update · Write
    Create or update a Kubernetes resource in the current cluster by providing a YAML or JSON representation of the resource

See all 46 tools

Frequently asked questions

What is the Kubernetes MCP server?

Manage clusters: CRUD on resources, pods, configs, and deployments. Through Lunar.dev MCPX, Kubernetes connects to any MCP-compatible AI client behind a single governed gateway.

How do I connect Kubernetes to MCPX?

Add the Kubernetes server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles Config file and routes every Kubernetes call through the gateway.

Is the Kubernetes MCP server official?

Kubernetes is a community-maintained MCP server. MCPX lets you risk-assess and sandbox it before rolling it out to your teams.

What authentication does Kubernetes use with MCPX?

Kubernetes uses Config file. MCPX enforces authentication at the gateway with token-based auth, OAuth, and role-based profiles, so you control which agents can invoke it.

How many tools does Kubernetes expose in MCPX?

Kubernetes exposes 46 tools. In MCPX you can enable or disable each tool per agent for least-privilege access.

Server details

CategoryCloud & Infrastructure
AuthConfig file
Connectionstdio
Tools46 available