mcp-k8s-manager

crtdaniele/mcp-k8s-manager

3.3

If you are the rightful owner of mcp-k8s-manager and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server for managing Kubernetes clusters on AKS (Azure Kubernetes Service), accessible via Claude Desktop.

The mcp-k8s-manager is a Model Context Protocol (MCP) server designed to facilitate the management of Kubernetes clusters hosted on Azure Kubernetes Service (AKS). It provides a conversational interface through Claude Desktop, allowing users to execute Kubernetes commands seamlessly. By integrating tools like `kubectl` and `kubectx`, the server enables efficient context switching and command execution within Kubernetes environments. This setup is particularly beneficial for developers and system administrators who require a streamlined method to interact with their Kubernetes clusters without leaving their conversational interface. The server supports both development and production modes, ensuring flexibility and adaptability to various deployment needs. With its open-source nature, users are encouraged to contribute to its development, enhancing its capabilities and addressing any potential issues.

Features

  • Seamless integration with Claude Desktop for conversational command execution.
  • Supports `kubectl` and `kubectx` for Kubernetes management.
  • Compatible with Azure Kubernetes Service (AKS).
  • Offers both development and production server modes.
  • Open-source with community contribution encouraged.

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "mcp-k8s-manager": {
      "command": "/opt/homebrew/bin/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "your-local-path/main.py"
      ]
    }
  }
}

Tools

  1. run_kubectx

    Switch Kubernetes context using kubectx.

  2. run_kubectl

    Execute kubectl commands, with optional context switching using kubectx.