Kubernetes MCP Server

Stabledevelopment
280 starsTypeScriptcommunity
GitHub
About

Overview

The Kubernetes MCP Server enables AI agents to interact with Kubernetes clusters. It provides tools for listing and managing pods, deployments, services, and other resources, viewing logs, executing commands in pods, and applying YAML manifests. Uses kubeconfig for authentication.
Capabilities

Tools & Capabilities

list_pods

List pods in a namespace

list_deployments

List deployments

list_services

List services

get_pod_logs

Get logs from a pod

apply_manifest

Apply a Kubernetes YAML manifest

delete_resource

Delete a Kubernetes resource

exec_in_pod

Execute a command in a pod

get_resource

Get details of a specific resource

Setup

Installation

bash
Install
npx -y mcp-server-kubernetes
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": ["-y", "mcp-server-kubernetes"]
    }
  }
}

Quick Info

Authorcommunity
LanguageTypeScript
StatusStable
Stars 280
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.