Control plane server for managing multiple Kubernetes clusters, with context switching and CRUD on common resources.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add k8s-pilot -- uv --directory '<path-to-cloned-repo>/k8s-pilot' run --with 'mcp[cli]' mcp run k8s_pilot.py~/.codex/config.toml
[mcp_servers.k8s-pilot]
command = "uv"
args = ["--directory", "<path-to-cloned-repo>/k8s-pilot", "run", "--with", "mcp[cli]", "mcp", "run", "k8s_pilot.py"]
# codex mcp add k8s-pilot -- uv --directory '<path-to-cloned-repo>/k8s-pilot' run --with 'mcp[cli]' mcp run k8s_pilot.py~/.cursor/mcp.json
{
"mcpServers": {
"k8s-pilot": {
"command": "uv",
"args": [
"--directory",
"<path-to-cloned-repo>/k8s-pilot",
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"k8s_pilot.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"k8s-pilot": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"<path-to-cloned-repo>/k8s-pilot",
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"k8s_pilot.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"k8s-pilot": {
"command": "uv",
"args": [
"--directory",
"<path-to-cloned-repo>/k8s-pilot",
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"k8s_pilot.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"k8s-pilot": {
"command": "uv",
"args": [
"--directory",
"<path-to-cloned-repo>/k8s-pilot",
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"k8s_pilot.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"k8s-pilot": {
"command": "uv",
"args": [
"--directory",
"<path-to-cloned-repo>/k8s-pilot",
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"k8s_pilot.py"
]
}
}
}