containers avatar

Kubernetes Mcp Server

containers/kubernetes-mcp-server

The Kubernetes MCP Server provides AI assistants with tools to interact with Kubernetes and OpenShift clusters, enabling operations such as viewing configuration, managing pods (listing, retrieving logs, executing commands), handling generic Kubernetes resources with CRUD operations, managing namespaces and events, and working with Helm charts and Tekton pipelines. It solves the problem of integrating Kubernetes cluster management capabilities into AI-driven workflows by exposing cluster operations through a standardized MCP interface that automatically detects configuration changes.

GitHub stars
2.2K
tools
9
transport
STDIO, HTTP
last updated
Oct 29, 2026

Tools

9 tools

Public tool metadata for what this MCP can expose to an agent.

configuration_contexts_listList all available context names and associated server urls from the kubeconfig file

List all available context names and associated server urls from the kubeconfig file

No parameter schema in public metadata yet.

targets_listList all available targets

List all available targets

No parameter schema in public metadata yet.

configuration_viewGet the current Kubernetes configuration content as a kubeconfig YAML

Get the current Kubernetes configuration content as a kubeconfig YAML

No parameter schema in public metadata yet.

events_listList Kubernetes events (warnings, errors, state changes) for debugging and troubleshooting in the current cluster from all namespaces. Use limit and continue to retrieve a large list one page at a time.

List Kubernetes events (warnings, errors, state changes) for debugging and troubleshooting in the current cluster from all namespaces. Use limit and continue to retrieve a large list one page at a time.

No parameter schema in public metadata yet.

namespaces_listList all the Kubernetes namespaces in the current cluster. Use limit and continue to retrieve a large list one page at a time.

List all the Kubernetes namespaces in the current cluster. Use limit and continue to retrieve a large list one page at a time.

No parameter schema in public metadata yet.

projects_listList all the OpenShift projects in the current cluster. Use limit and continue to retrieve a large list one page at a time.

List all the OpenShift projects in the current cluster. Use limit and continue to retrieve a large list one page at a time.

No parameter schema in public metadata yet.

nodes_logGet logs from a Kubernetes node (kubelet, kube-proxy, or other system logs). This accesses node logs through the Kubernetes API proxy to the kubelet

Get logs from a Kubernetes node (kubelet, kube-proxy, or other system logs). This accesses node logs through the Kubernetes API proxy to the kubelet

No parameter schema in public metadata yet.

nodes_stats_summaryGet detailed resource usage statistics from a Kubernetes node via the kubelet's Summary API. Provides comprehensive metrics including CPU, memory, filesystem, and network usage at the node, pod, and container levels.

Get detailed resource usage statistics from a Kubernetes node via the kubelet's Summary API. Provides comprehensive metrics including CPU, memory, filesystem, and network usage at the node, pod, and container levels.

No parameter schema in public metadata yet.

nodes_topList the resource consumption (CPU and memory) as recorded by the Kubernetes Metrics Server for the specified Kubernetes Nodes or all nodes in the cluster. Use limit and continue to retrieve a large list one page at a time.

List the resource consumption (CPU and memory) as recorded by the Kubernetes Metrics Server for the specified Kubernetes Nodes or all nodes in the cluster. Use limit and continue to retrieve a large list one page at a time.

No parameter schema in public metadata yet.

Sponsors

Readme

Details

Repository
github.com/containers/kubernetes-mcp-server
Category
Cloud & Infrastructure
Package
kubernetes-mcp-server
Transport
STDIO, HTTP
Registry
MCP registry, active

Related Cloud & Infrastructure MCP servers

View all
1ofershap avatarCloudflareofershap/mcp-server-cloudflareMCP server to manage Cloudflare Workers, KV, R2, Pages, DNS, and cache from your IDE3stars
2alisaitteke avatarDocker Mcpalisaitteke/docker-mcpMCP server for managing Docker containers, images, networks, volumes, and registries2stars
3jonnybottles avatarAzure Updatesjonnybottles/azure-updates-mcpMCP server for Azure Updates RSS feed - search, filter, and summarize Azure service updates1stars
4helbertparanhos avatarVercel MCP Prohelbertparanhos/vercel-mcp-proComplete Vercel MCP: deploys, logs, projects, env, domains, DNS, certs via the full REST API0stars
5aws avatarAWS MCP Serverio.github.aws/aws-mcpA managed MCP server enabling AI agents to access AWS using docs, API calls, and SOP workflows.0stars
6crunchtools avatarMCP Cloudflarecrunchtools/mcp-cloudflareSecure MCP server for Cloudflare DNS, Transform Rules, and Page Rules0stars