MC

mcp-k8s-go

Created 6 months ago

Golang-based MCP server connecting to Kubernetes.

development kubernetes documentation public golang

What is mcp-k8s-go?

Golang-based Kubernetes server for MCP to browse pods and their logs, events, namespaces and more. Built to be extensible.

Documentation

MCP K8S Go Documentation

Features

  • List Kubernetes contexts
  • List Kubernetes namespaces
  • List, get, create and modify any Kubernetes resources
  • List Kubernetes nodes
  • List Kubernetes pods
  • Get Kubernetes events
  • Get Kubernetes pod logs
  • Run command in Kubernetes pod

Installation# Using Smithery

To install MCP K8S Go for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @strowk/mcp-k8s --client claude
```\n\n### Using mcp-get
To install MCP K8S Go for Claude Desktop automatically via mcp-get:
```bash
npx @michaellatman/mcp-get@latest install @strowk/mcp-k8s
```\n\n### Manually with prebuilt binaries## Prebuilt from npm
```bash
npm install -g @strowk/mcp-k8s
```\n\n### From GitHub releases
Head to [GitHub releases](https://github.com/strowk/mcp-k8s-go/releases) and download the latest release for your platform.\n\n### Building from source
You would need Golang installed to build this project:
```bash
go get github.com/strowk/mcp-k8s-go
go install github.com/strowk/mcp-k8s-go
```\n\n### Using Docker
You can use the latest tag like this:
```bash
docker run -i -v ~/.kube/config:/home/nonroot/.kube/config --rm mcpk8s/server:latest

Server Config

{
  "mcpServers": {
    "mcp-k8s-go-server": {
      "command": "npx",
      "args": [
        "mcp-k8s-go"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: May 23, 2025
Updated At: Aug 07, 2025
Author: Strowk
Category: community
License: MIT
Tags:
development kubernetes documentation