MCP ConfigsMay 14, 2026·2 min read

mcp-server-kubernetes — Kubernetes Ops via MCP

MCP server that lets agents run kubectl/Helm workflows against your clusters; works with Claude Code via npx; verified 1390★, pushed 2026-05-03.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 52360ef2-b84b-56b9-a274-a5b1ae90cb7b --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

MCP server that lets agents run kubectl/Helm workflows against your clusters; works with Claude Code via npx; verified 1390★, pushed 2026-05-03.

Best for: Platform/SRE teams who want a safe, repeatable agent interface for cluster ops (kubectl + optional Helm)

Works with: kubectl + kubeconfig contexts; optional Helm v3; MCP clients like Claude Code / Claude Desktop (npx)

Setup time: 12-25 minutes

Key facts (verified)

  • GitHub: 1390 stars · 243 forks · pushed 2026-05-03.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: claude mcp add kubernetes -- npx mcp-server-kubernetes.

Main

  • Use it for controlled kubectl workflows: standardize read-only checks first (get/describe/logs) before enabling mutation paths in your agent policy.

  • Make context explicit: keep clusters/namespaces in the prompt and validate with kubectl config current-context to avoid “wrong cluster” incidents.

  • Treat Helm as optional: README lists Helm v3 as optional unless you plan to use Helm operations.

  • Pair with audit logging: keep kubectl audit logs and MCP client logs so you can attribute every agent action to a human request.

Source-backed notes

  • README prerequisites list kubectl + kubeconfig contexts and notes Helm v3 is optional.
  • README shows adding it to Claude Code via: claude mcp add kubernetes -- npx mcp-server-kubernetes.
  • README provides example MCP configs for Claude Desktop using npx.

FAQ

  • Do I need Helm installed?: Only if you plan to use Helm operations; README lists Helm v3 as optional.
  • Where does it load kubeconfig from?: README says it loads from ~/.kube/config by default, with advanced options documented.
  • What’s the safest first use?: Start with read-only cluster queries (pods/services/events) before attempting changes.
🙏

Source & Thanks

Source: https://github.com/flux159/mcp-server-kubernetes > License: MIT > GitHub stars: 1390 · forks: 243

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets