K8sCortex - Kubernetes MCP Server — Claude Code 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.
no license 2,994 installs updated 2026-05-08
claude mcp add --transport http k8scortex-mcp https://k8scortex-mcp--apatil0431.run.toolsWhat K8sCortex - Kubernetes MCP Server 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.
What it helps with
- 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 for the agent
- Show the pods and recent events in the
stagingnamespace. - Check the
apirollout and undo it if it has failed. - Find warning events in the cluster.
How to install K8sCortex - Kubernetes MCP Server
Platform CLI: remote server
claude mcp add --transport http k8scortex-mcp https://k8scortex-mcp--apatil0431.run.toolsPlatform CLI: remote server
codex mcp add k8scortex-kubernetes-mcp-server --url https://k8scortex-mcp--apatil0431.run.toolsConfig file
{
"mcpServers": {
"k8scortex-kubernetes-mcp-server": {
"url": "https://k8scortex-mcp--apatil0431.run.tools"
}
}
}Config file
{
"servers": {
"k8scortex-kubernetes-mcp-server": {
"type": "http",
"url": "https://k8scortex-mcp--apatil0431.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http k8scortex-kubernetes-mcp-server https://k8scortex-mcp--apatil0431.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about K8sCortex - Kubernetes MCP Server
How do I install K8sCortex - Kubernetes MCP Server in Claude Code?
Run both commands in order: claude mcp add --transport http k8scortex-mcp https://k8scortex-mcp--apatil0431.run.tools, then claude mcp add --transport http k8scortex-kubernetes-mcp-server https://k8scortex-mcp--apatil0431.run.tools.
What does K8sCortex - Kubernetes MCP Server do?
It gives an agent tools for inspecting and managing Kubernetes resources, including pod logs, deployment rollouts, ConfigMaps, and cluster events.
Which Kubernetes platforms does K8sCortex - Kubernetes MCP Server support?
The description lists GKE, AKS, EKS, OpenShift, and Minikube. It also names multi-cluster support.