MCP server

Kubernetes

Native Go MCP server for Kubernetes and OpenShift clusters

A Go-based MCP server from the containers project that talks directly to the Kubernetes API, with no kubectl dependency. It supports pod operations, generic resource CRUD, events, namespaces, Helm releases, Tekton pipelines and KubeVirt, with multi-cluster support via kubeconfig.

Connect

  1. 1Add the server to Codex
    codex mcp add kubernetes -- npx -y kubernetes-mcp-server@latest

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 12

pods_listpods_getpods_logpods_execresources_listresources_getresources_create_or_updatenamespaces_listevents_listhelm_installhelm_listtekton_pipeline_start

Things to ask

  • “List pods in the production namespace that are not Running”
  • “Show the logs for the api pod”
  • “What warning events happened in the cluster recently?”
  • “Install the redis Helm chart into the cache namespace”

Related