プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

K8s MCP Server (Go)

作者:kanegバージョン 0.4.6i★ 2iパソコンで動く
レジストリ名io.github.kaneg/k8s-mcp-go

インストール方法

概要

作者による説明(英語の原文)

Safe Kubernetes access for AI agents via MCP. Read-only by default, with explicit permission modes.

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

チェック 2/2 合格 · あなたのパソコンで動きます

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

  1. 提供元のインストールファイルをダウンロード

    作者の .mcpb ファイルをダウンロード

    .mcpb ファイルは提供元から直接のもので、当サイトは変更していません

  2. ファイルをダブルクリックし、パソコン版 Claude アプリで Install を押す

  3. 試してみる

    K8s MCP Server (Go) を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が K8s MCP Server (Go) を使っていると言うか、回答に K8s MCP Server (Go) のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ K8s MCP Server (Go) につなげません

K8s MCP Server (Go) はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · K8s MCP Server (Go) につなげるアプリを使う

  • キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

B · 開発者ツール の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code はまだ K8s MCP Server (Go) につなげません

提供元はパソコン版 Claude アプリ用のインストールファイルしか用意していません

代わりにできること

A · K8s MCP Server (Go) につなげるアプリを使う

  • キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

Cursor はまだ K8s MCP Server (Go) につなげません

提供元はパソコン版 Claude アプリ用のインストールファイルしか用意していません

代わりにできること

A · K8s MCP Server (Go) につなげるアプリを使う

  • キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

VS Code はまだ K8s MCP Server (Go) につなげません

提供元はパソコン版 Claude アプリ用のインストールファイルしか用意していません

代わりにできること

A · K8s MCP Server (Go) につなげるアプリを使う

  • キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?K8s MCP Server (Go) を使っている人に聞いてみましょう💬 ディスカッション →

ひと目でわかる

週あたりのダウンロードi
npm/PyPIにない
ライセンスi
ライセンスの記載なし
接続方法
パソコンで動く
最新バージョンi
0.4.6
レジストリ公開日i
2026年6月21日
コードの最終更新i
2026年6月21日
作者
kaneg
パッケージ
mcpb: https://github.com/kaneg/k8s-mcp-go/releases/download/v0.4.6
mcpb: https://github.com/kaneg/k8s-mcp-go/releases/download/v0.4.6
mcpb: https://github.com/kaneg/k8s-mcp-go/releases/download/v0.4.6
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月11日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント kaneg で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:5 か月前

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

Google でログインして投稿

ユーザーレビュー

まだレビューはありません

Google でログインしてレビューを書く

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの5747件のうち77%よりスターが多い
  • このカテゴリのほかの5747件のうち18%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5747件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

K8s MCP Server (Go)は安全ですか?

当てはまる基本チェック2項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は5 か月前、最新バージョン(0.4.6)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにMCPBも必要です。

代わりに使えるものは?

同じカテゴリには:REA, Netdata, Front-End Checklist

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto広く使われている↓ 38.9万/週★ 44.8万17 日前更新

パソコンで動く

Netdata

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

作者:netdata広く使われている★ 8.1万6 日前更新

クラウドで動く

Front-End Checklist

Review frontend code and live pages against 386 quality-gated web development rules.

作者:thedaviddias広く使われている★ 7.5万37 日前更新

クラウドで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

k8s-mcp-go

Safe, read-only-by-default Kubernetes access for AI agents.

A Kubernetes MCP server that lets AI assistants inspect your cluster safely — without giving them unrestricted kubectl.

What makes it different

  • Read-only by default: useful for diagnosis without giving AI permission to mutate the cluster.
  • Explicit permission modes: choose readonly, readwrite, or dangerous before the assistant starts.
  • No Docker required: install via MCPB bundles or a single native binary.
  • Kubernetes-native visibility: inspect pods, deployments, services, logs, events, nodes, and live CPU/memory usage.
  • Registry-ready distribution: published as io.github.kaneg/k8s-mcp-go for MCP Registry consumers and packaged clients.

Distribution

Why

Most AI agents can use Kubernetes tools. The real problem is how to stop them from changing the wrong thing.

Giving an AI raw kubectl access is risky. Even a capable model can:

  • delete the wrong resource
  • restart the wrong workload
  • apply a dangerous change
  • turn a debugging session into a production incident

k8s-mcp-go gives AI agents a guardrailed interface to Kubernetes instead of unrestricted shell access.

It is built for the real-world question:

How can I let AI help with Kubernetes, without letting it break my cluster?

Permission Modes

You choose the boundary up front:

What you wantMode
"Let AI inspect and diagnose, but change nothing"readonly
"Allow safe operational actions like scale and restart"readwrite
"Give it full cluster power"dangerous
readonly (default)

For diagnosis, inspection, and safe exploration.

AI can do things like:

  • list pods, deployments, services, nodes, and namespaces
  • read logs and events
  • inspect cluster state
  • check resource usage

It cannot modify workloads or delete resources.

readwrite

For controlled operational workflows.

AI can do things like:

  • scale deployments
  • restart deployments
  • restart statefulsets
  • update images
  • patch deployments
  • create namespaces

It still cannot perform the most destructive operations.

dangerous

Full access.

Use this only when you explicitly want AI to be able to:

  • delete resources
  • delete namespaces
  • apply arbitrary YAML

If you are unsure, use readonly.

Quick Start

Option 1: MCPB Install (Recommended)

Download the .mcpb bundle for your platform from Releases. MCPB-compatible clients (Claude Desktop, Cursor, etc.) can install it directly — no Docker, no Go, no manual setup.

OSArchFile
Linuxx86_64k8s-mcp-go_*_linux_amd64.mcpb
LinuxARM64k8s-mcp-go_*_linux_arm64.mcpb
macOSIntelk8s-mcp-go_*_darwin_amd64.mcpb
macOSApple Siliconk8s-mcp-go_*_darwin_arm64.mcpb
Windowsx86_64k8s-mcp-go_*_windows_amd64.mcpb
WindowsARM64k8s-mcp-go_*_windows_arm64.mcpb
Option 2: Manual Binary Install

Grab the binary archive from Releases and extract it:

# Example: Linux x86_64

tar xzf k8s-mcp-go_*_linux_amd64.tar.gz chmod +x k8s-mcp-go sudo mv k8s-mcp-go /usr/local/bin/

Then add it to your MCP client.

Claude Desktop (claude_desktop_config.json):

{

"mcpServers": { "k8s": { "command": "k8s-mcp-go", "args": ["-mode=readonly"] } } }

Cursor (.cursor/mcp.json):

{

"mcpServers": { "k8s": { "command": "k8s-mcp-go", "args": ["-mode=readonly"] } } }

Restart your client and start asking questions about your cluster.

Example prompts

Once installed, ask your AI assistant things like:

  • "Show me unhealthy pods in all namespaces."
  • "Which pods are using the most memory?"
  • "Summarize recent warning events."
  • "Inspect this deployment and explain why it is not ready."
  • "Check rollout status for this deployment."

In readonly mode, the assistant can investigate but cannot change the cluster.

Why not just use kubectl?

Because the problem is not whether AI can talk to Kubernetes. The problem is whether it can do so safely.

kubectl is powerful, but it does not give you a product-level permission mode for AI behavior. With k8s-mcp-go, you decide whether the assistant can:

  • inspect only
  • perform limited operational actions
  • or get full control

The permission boundary is the product.

Available Tools (35 total)

Tools are grouped by permission level. Names start with an action verb such as get, list, or delete; top_nodes and top_pods retain Kubernetes' established kubectl top terminology.

Readonly (24)
ToolDescription
get_server_infoShow server version, mode, Kubernetes config source, and runtime details
resolve_workloadResolve an app/workload name to matching resources and suggested next tools
list_podsList pods; supports all_namespaces=true
get_podGet pod details
get_pod_logsGet pod logs
list_deploymentsList deployments; supports all_namespaces=true
get_deploymentGet deployment details
list_statefulsetsList StatefulSets; supports all_namespaces=true
get_statefulsetGet StatefulSet details
list_servicesList services; supports all_namespaces=true
get_serviceGet service details
list_configmapsList ConfigMaps; supports all_namespaces=true
get_configmapGet ConfigMap data
list_secretsList Secrets (keys only); supports all_namespaces=true
get_secretGet Secret metadata and keys
list_pvcList PersistentVolumeClaims; supports all_namespaces=true
list_ingressList Ingress resources; supports all_namespaces=true
list_jobsList Jobs; supports all_namespaces=true
top_nodesCurrent node CPU and memory usage
top_podsCurrent pod CPU and memory usage
list_nodesList cluster nodes
list_namespacesList namespaces
get_cluster_overviewCluster health summary
list_eventsList events
Readwrite (7)
ToolDescription
scale_deploymentScale deployment replicas
restart_deploymentRolling restart a deployment
restart_statefulsetRolling restart a statefulset
set_imageUpdate container image
get_rollout_statusCheck rollout progress
create_namespaceCreate a new namespace
patch_deploymentApply strategic merge patch
Dangerous (7)
ToolDescription
delete_podDelete a pod
delete_deploymentDelete a deployment
delete_statefulsetDelete a StatefulSet and its pods
delete_daemonsetDelete a DaemonSet and its pods
delete_resourceDelete a resource without a dedicated delete tool
delete_namespaceDelete a namespace and all resources
apply_yamlApply arbitrary YAML manifest

Prefer the dedicated delete tools above when one exists. Use delete_resource as the fallback for other kinds. It resolves namespaced versus cluster-scoped resources through Kubernetes discovery.

{"api_version":"v1","kind":"ServiceAccount","namespace":"apps","name":"builder"}

{"api_version":"rbac.authorization.k8s.io/v1","kind":"ClusterRole","name":"auditor"}

Kubernetes Configuration

Configuration is selected in this order:

  1. The file specified by KUBECONFIG, when set.
  2. The Pod's in-cluster ServiceAccount configuration.
  3. ~/.kube/config when running outside a cluster.

An explicit KUBECONFIG is authoritative. If it cannot be loaded, the server returns an error instead of silently switching to the Pod's ServiceAccount. In-cluster configuration uses Kubernetes' mounted token file so projected ServiceAccount token rotation continues to work without copying tokens into a kubeconfig.

Environment Variables

VariableDescription
KUBECONFIGExplicit kubeconfig path. When unset, use in-cluster configuration or fall back to ~/.kube/config.

Build from Source

git clone https://github.com/kaneg/k8s-mcp-go.git

cd k8s-mcp-go go build -o k8s-mcp-go .

License

MIT