Developer Tools · Cloud Platform

MCP Kubernetes Server logo

MCP Kubernetes Server

feiskyer/mcp-kubernetes-server

The mcp-kubernetes-server is a server implementing the Model Context Protocol (MCP) to enable AI assistants (such as Claude, Cursor, and GitHub Copilot) to interact with Kubernetes clusters. It acts as a bridge, translating natural language requests from these assistants into Kubernetes operations and returning the results.

Install

Client configuration

{
  "mcpServers": {
    "kubernetes": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount",
        "type=bind,src=/home/username/.kube/config,dst=/home/mcp/.kube/config",
        "<value>"
      ]
    }
  }
}

Environment variables

KUBECONFIG
GitHub stars
3
Author
@feiskyer
Category
Developer Tools, Cloud Platform
License
Apache-2.0
Updated
Oct 6, 2026

Tools (39)

  • kubectl

    Run any kubectl command and return the output

  • helm

    Run any helm command and return the output

  • k8s_get

    Fetch any Kubernetes object (or list) as JSON string

  • k8s_describe

    Show detailed information about a specific resource or group of resources

  • k8s_logs

    Print the logs for a container in a pod

  • k8s_events

    List events in the cluster

  • k8s_apis

    List all available APIs in the Kubernetes cluster

  • k8s_crds

    List all Custom Resource Definitions (CRDs) in the Kubernetes cluster

  • k8s_top_nodes

    Display resource usage (CPU/memory) of nodes

  • k8s_top_pods

    Display resource usage (CPU/memory) of pods

  • k8s_rollout_status

    Get the status of a rollout for a deployment, daemonset, or statefulset

  • k8s_rollout_history

    Get the rollout history for a deployment, daemonset, or statefulset

  • k8s_auth_can_i

    Check whether an action is allowed

  • k8s_auth_whoami

    Show the subject that you are currently authenticated as

  • k8s_create

    Create a Kubernetes resource from YAML/JSON content

  • k8s_apply

    Apply a configuration to a resource by filename or stdin

  • k8s_expose

    Expose a resource as a new Kubernetes service

  • k8s_run

    Create and run a particular image in a pod

  • k8s_set_resources

    Set resource limits and requests for containers

  • k8s_set_image

    Set the image for a container

  • k8s_set_env

    Set environment variables for a container

  • k8s_rollout_undo

    Undo a rollout for a deployment, daemonset, or statefulset

  • k8s_rollout_restart

    Restart a rollout for a deployment, daemonset, or statefulset

  • k8s_rollout_pause

    Pause a rollout for a deployment, daemonset, or statefulset

  • k8s_rollout_resume

    Resume a rollout for a deployment, daemonset, or statefulset

  • k8s_scale

    Scale a resource

  • k8s_autoscale

    Autoscale a deployment, replica set, stateful set, or replication controller

  • k8s_cordon

    Mark a node as unschedulable

  • k8s_uncordon

    Mark a node as schedulable

  • k8s_drain

    Drain a node in preparation for maintenance

  • k8s_taint

    Update the taints on one or more nodes

  • k8s_untaint

    Remove the taints from a node

  • k8s_exec_command

    Execute a command in a container

  • k8s_port_forward

    Forward one or more local ports to a pod

  • k8s_cp

    Copy files and directories to and from containers

  • k8s_patch

    Update fields of a resource

  • k8s_label

    Update the labels on a resource

  • k8s_annotate

    Update the annotations on a resource

  • k8s_delete

    Delete resources by name, label selector, or all resources in a namespace

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Developer Tools
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix is a tool that packs a codebase into an AI-friendly format, supporting local and remote repository processing and providing code compression, security checks and multiple output formats.

Developer Tools
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Developer Tools
blender logo

blender

ahujasid/blender-mcp

10.6k

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more.

Developer Tools
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Developer Tools
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Developer Tools