Control plane server for managing multiple Kubernetes clusters, with context switching and CRUD on common resources.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}