开发者工具 · 云平台

MCP Kubernetes Server logo

MCP Kubernetes Server

feiskyer/mcp-kubernetes-server

mcp-kubernetes-server是一个MCP协议服务器,作为AI助手与Kubernetes集群之间的桥梁,通过自然语言交互实现Kubernetes操作。

安装

客户端配置

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

环境变量

KUBECONFIG
GitHub 星标
3
作者
@feiskyer
分类
开发者工具, 云平台
许可证
Apache-2.0
更新于
2026年10月6日

工具(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

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS
Cursor logo

Cursor

桌面端 · 免费增值 · Proprietary

首个代理式 IDE。Cursor 编辑器让开发者与 AI 的工作真正融合在一起,提供如魔法般的编码体验。

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

桌面端 · 免费增值 · MIT

VS Code 通过代理模式将 MCP 与 GitHub Copilot 集成,允许在你的代理编码工作流中直接与 MCP 提供的工具交互。在 Claude Desktop、工作区或用户设置中配置服务器,提供引导式 MCP 安装和安全处理输入变量中的密钥,避免泄露硬编码密钥。

WindowsMacOSLinuxWeb

相关 MCP 服务器

更多服务器
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright是一个跨浏览器的Web测试和自动化框架,支持Chromium、Firefox和WebKit,提供无头执行、多浏览器兼容性测试、强大的断言和工具支持,适用于多种编程语言。

开发者工具
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix是一个将代码库打包为AI友好格式的工具,支持本地和远程仓库处理,提供代码压缩、安全检查和多种输出格式。

开发者工具
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS 是字节跳动的多模态 AI 智能体技术栈,包含两个项目:Agent TARS(基于 MCP 的命令行与 Web UI 智能体)和 UI-TARS-desktop(桌面 GUI 智能体)。

开发者工具
blender logo

blender

ahujasid/blender-mcp

10.6k

BlenderMCP通过MCP协议将Blender与Claude AI连接,实现AI辅助3D建模与场景控制

开发者工具
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

Playwright MCP是一个基于Playwright的浏览器自动化服务器,通过结构化数据而非像素输入实现LLM与网页的交互。

开发者工具
2344 logo

2344

comet-ml/opik

7k

Opik是一个开源的LLM评估框架,支持追踪、评估和监控LLM应用,帮助开发者构建更高效、更经济的LLM系统。

开发者工具