k8scortex-mcp
v1.1.3Kubernetes MCP server: 75 tools for GKE, AKS, EKS, RBAC, audit logging, GitOps, multi-cluster.
Values you need
| Variable | What it is | |
|---|---|---|
KUBECONFIG | optional | Path to your kubeconfig file. Each context becomes a cluster. Defaults to ~/.kube/config. |
CLUSTERS_CONFIG | optional | Optional path to a cluster registry JSON file mixing kubeconfig, EKS, GKE and Key Vault clusters. |
K8SCORTEX_STDIO_ROLES | optional | Roles for the session, e.g. developer for read-only tools. Defaults to platform-engineer. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add k8scortex-mcp -- npx -y k8scortex-mcp@1.1.3Add to
claude_desktop_config.json{
"mcpServers": {
"k8scortex-mcp": {
"args": [
"-y",
"k8scortex-mcp@1.1.3"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"k8scortex-mcp": {
"args": [
"-y",
"k8scortex-mcp@1.1.3"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"k8scortex-mcp": {
"args": [
"-y",
"k8scortex-mcp@1.1.3"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.k8scortex-mcp]
command = "npx"
args = ["-y", "k8scortex-mcp@1.1.3"]Docker
Requires Docker
Run in a terminal
claude mcp add k8scortex-mcp -- docker run -i --rm ghcr.io/apatilgtn/k8scortex-mcp:1.1.3 node dist/stdio.jsAdd to
claude_desktop_config.json{
"mcpServers": {
"k8scortex-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/apatilgtn/k8scortex-mcp:1.1.3",
"node",
"dist/stdio.js"
],
"command": "docker"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"k8scortex-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/apatilgtn/k8scortex-mcp:1.1.3",
"node",
"dist/stdio.js"
],
"command": "docker"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"k8scortex-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/apatilgtn/k8scortex-mcp:1.1.3",
"node",
"dist/stdio.js"
],
"command": "docker",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.k8scortex-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/apatilgtn/k8scortex-mcp:1.1.3", "node", "dist/stdio.js"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_pods, get_pod_logs, describe_pod, describe_deployment, list_nodes, list_statefulsets, describe_statefulset, list_daemonsets, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json