/ 目录 / 演练场 / mcp-kubernetes
● 官方 Azure ⚡ 即开即用

mcp-kubernetes

作者 Azure · Azure/mcp-kubernetes

Bridge between AI assistants and Kubernetes clusters - kubectl, helm, and istioctl from natural language.

mcp-kubernetes is a Model Context Protocol server by Azure. Bridge between AI assistants and Kubernetes clusters - kubectl, helm, and istioctl from natural language. See the source repo for setup, supported clients, and configuration details.

为什么要用

核心特性

实时演示

实际使用效果

azure-mcp-kubernetes.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "azure-mcp-kubernetes": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/Azure/mcp-kubernetes"
      ]
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "azure-mcp-kubernetes": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/Azure/mcp-kubernetes"
      ]
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "azure-mcp-kubernetes": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/Azure/mcp-kubernetes"
      ]
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "azure-mcp-kubernetes": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/Azure/mcp-kubernetes"
      ]
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "azure-mcp-kubernetes",
      "command": "TODO",
      "args": [
        "See README: https://github.com/Azure/mcp-kubernetes"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "azure-mcp-kubernetes": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/Azure/mcp-kubernetes"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add azure-mcp-kubernetes -- TODO 'See README: https://github.com/Azure/mcp-kubernetes'

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: mcp-kubernetes

Use mcp-kubernetes for its primary workflow

👤 Developers using AI coding agents ⏱ ~10 min beginner

何时使用: You need the capability: Bridge between AI assistants and Kubernetes clusters - kubectl, helm, and istioctl from natural language.

前置条件
  • MCP server installed — See https://github.com/Azure/mcp-kubernetes for install instructions
步骤
  1. Install
    Install mcp-kubernetes following the README at https://github.com/Azure/mcp-kubernetes✓ 已复制
    → MCP server appears in your client's available tools/skills
  2. Invoke
    Use mcp-kubernetes to complete the task described in its docs.✓ 已复制
    → Agent calls the relevant tool/skill and returns a result

结果: Working integration with the capabilities advertised by the project.

注意事项
  • README is the source of truth; details here may lag upstream — Check https://github.com/Azure/mcp-kubernetes for the latest setup steps and tool list

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills