Kubernetes MCP Server

Kubernetes MCP server with the top30 tools

Local serverstdioPython

What is the Kubernetes MCP Server?

Kubernetes MCP server with the top30 tools

The short version

This project provides a Kubernetes MCP (Model Context Protocol) server built using FastMCP and the official Kubernetes Python client. It exposes a wide range of Kubernetes management and inspection tools as MCP tools, making it easy to interact with your Kubernetes or OpenShift cluster programmatically or via GitHub Copilot.

  • Pod Management — List, describe, and get logs for pods
  • Deployment Management — List, scale, and inspect deployments
  • Service Management — List and get details of services
  • Namespace Management — List, create, and delete namespaces
  • Node Management — List and describe nodes
  • ConfigMap & Secret Management — List and get ConfigMaps and Secrets

What it needs from you

  • Python 3.x - fastmcp - kubernetes Python client - kubectl (for cluster access) - Access to a Kubernetes or OpenShift cluster (kubeconfig or in-cluster config)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.x - fastmcp - kubernetes Python client - kubectl (for cluster access) - Access to a Kubernetes or OpenShift cluster (kubeconfig or in-cluster config)

Frequently asked questions

Kubernetes MCP server with the top30 tools Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.