# K8sCortex - Kubernetes MCP Server

K8sCortex - Kubernetes MCP Server is a Claude Code MCP server for inspecting and managing Kubernetes resources. An agent can use it to check pods, deployments, and cluster events.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 2994 installs
- Author: apatil0431
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/apatil0431/k8scortex-mcp
- Updated: 2026-05-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/k8scortex-kubernetes-mcp-server

## What it does

K8sCortex gives an agent tools to inspect pods and logs, check deployment rollouts, change replica counts, and roll deployments back. It also handles ConfigMaps, Jobs, CronJobs, Services, and namespaces.

The server includes 75 tools and lists support for GKE, AKS, EKS, OpenShift, and Minikube. Its description also names RBAC, audit logging, GitOps through ArgoCD and Flux, and multi-cluster support. The MCP connection uses HTTP at `https://k8scortex-mcp--apatil0431.run.tools`.

## Requirements
- Remote server: `https://k8scortex-mcp--apatil0431.run.tools`
- Works with: Kubernetes

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http k8scortex-mcp https://k8scortex-mcp--apatil0431.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add k8scortex-kubernetes-mcp-server --url https://k8scortex-mcp--apatil0431.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "k8scortex-kubernetes-mcp-server": {
            "url": "https://k8scortex-mcp--apatil0431.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "k8scortex-kubernetes-mcp-server": {
            "type": "http",
            "url": "https://k8scortex-mcp--apatil0431.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http k8scortex-kubernetes-mcp-server https://k8scortex-mcp--apatil0431.run.tools
```

## When to use it
- inspect a pod and retrieve its logs
- check whether a deployment rollout is stalled
- scale a deployment or undo its rollout
- find warning events in a namespace
- list registered Kubernetes clusters

## Example prompts
- Show the pods and recent events in the `staging` namespace.
- Check the `api` rollout and undo it if it has failed.
- Find warning events in the cluster.

## Similar
- [auditing-kubernetes-cluster-rbac](https://affpapa.org/en/nevibecode/skills/auditing-kubernetes-cluster-rbac.md) — skill · 273 installs
- [azure-kubernetes-service](https://affpapa.org/en/nevibecode/skills/azure-kubernetes-service.md) — skill · 248 installs
- [Azure Kubernetes Service (AKS)](https://affpapa.org/en/nevibecode/mcp/azure-kubernetes-service-aks.md) — MCP server
- [azure-kubernetes-automatic-readiness](https://affpapa.org/en/nevibecode/skills/azure-kubernetes-automatic-readiness.md) — skill · ★ 3232 repo stars
- [azure-kubernetes-app-deploy](https://affpapa.org/en/nevibecode/skills/azure-kubernetes-app-deploy.md) — skill · ★ 3232 repo stars
- [gke-basics](https://affpapa.org/en/nevibecode/skills/gke-basics.md) — skill · 13953 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
