MCP Catalogs
Homemcp-k8s screenshot

mcp-k8s

by silenceper·145·Score 49

Go-based MCP server for Kubernetes and Helm operations with granular control permissions.

ops-infradeveloper-toolsai-llm
28
Forks
0
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

mcp-k8s is a comprehensive MCP server that enables interaction with Kubernetes clusters through MCP tools. It provides resource type queries, CRUD operations for Kubernetes resources, and Helm release management. The server supports multiple communication modes including stdio, SSE, and streamable HTTP, making it flexible for different integration scenarios. The implementation is written in Go using the mcp-go SDK, Kubernetes client-go library, and Helm v3 client library.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Interactive Kubernetes resource management through natural language with LLM
you:Automated operations scenarios including intelligent assistant for cluster management
you:Development and testing support with quick prototype validation
you:How do I enable write operations for Kubernetes resources?
you:Can I use mcp-k8s with Helm charts?

When to choose this

Choose this MCP server if you need comprehensive Kubernetes and Helm operations through MCP with fine-grained control over write permissions.

When NOT to choose this

Avoid if you need a multi-cluster management solution with advanced scheduling capabilities, as this focuses on single-cluster operations.

Tools this server exposes

12 tools extracted from the README
  • get_api_resources

    Get all supported API resource types in the cluster

  • get_resource

    Get detailed information about a specific resource

  • list_resources

    List all instances of a resource type

  • create_resource

    Create new Kubernetes resources

  • update_resource

    Update existing Kubernetes resources

  • delete_resource

    Delete Kubernetes resources

  • list_helm_releases

    List all Helm releases in the cluster

  • get_helm_release

    Get detailed information about a specific Helm release

  • install_helm_chart

    Install a Helm chart

  • upgrade_helm_chart

    Upgrade a Helm release

  • uninstall_helm_chart

    Uninstall a Helm release

  • list_helm_repositories

    List configured Helm repositories

Comparable tools

kubernetes-mcphelm-mcpkubectl

Installation

Installation

  1. **Direct Download**: Download the binary for your platform from the [releases page](https://github.com/silenceper/mcp-k8s/releases)
  1. **Go Install**:
go install github.com/silenceper/mcp-k8s/cmd/mcp-k8s@latest
  1. **Build from Source**:
git clone https://github.com/silenceper/mcp-k8s.git
cd mcp-k8s
make build

Claude Desktop Configuration

Add to your Claude Desktop config.json:

{
  "mcpServers": {
    "mcp-k8s": {
      "command": "/path/to/mcp-k8s",
      "args": [
        "--kubeconfig",
        "/path/to/kubeconfig",
        "--enable-create",
        "--enable-delete",
        "--enable-update",
        "--enable-list"
      ]
    }
  }
}

FAQ

How do I enable write operations for Kubernetes resources?
Write operations are disabled by default. You can enable them with command line arguments: --enable-create, --enable-update, --enable-delete. For example: mcp-k8s --enable-create --enable-update --enable-delete
Can I use mcp-k8s with Helm charts?
Yes, mcp-k8s includes comprehensive Helm support with operations for releases (list, get, install, upgrade, uninstall) and repositories (list, add, remove). Write operations for Helm are disabled by default.

Compare mcp-k8s with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.