k8s-pilot
Kubernetes 舰队的中央飞行员✈️✈️
k8s_pilot是一个轻量级的集中式控制平面服务器,用于同时管理多个 Kubernetes 集群。
借助强大的工具和直观的 API,您可以从一个驾驶舱观察和控制所有集群。
🚀 概述
🔄 支持多集群上下文切换
🔧 支持对最常见的 Kubernetes 资源进行CRUD 操作
⚙️ 由MCP为 Claude AI 及其他领域提供支持
Related MCP server: Multi-Cluster MCP Server
🧰 先决条件
Python 3.13或更高版本
uv包管理器访问 Kubernetes 集群(
~/.kube/config或集群内配置)
# Install uv (if not installed)
# For MacOS
brew install uv
# For Linux
curl -LsSf https://astral.sh/uv/install.sh | sh安装
# Clone the repository
git clone https://github.com/bourbonkk/k8s-pilot.git
cd k8s-pilot
# Launch with uv + MCP
uv run --with mcp[cli] mcp run k8s_pilot.py与 Claude Desktop 一起使用
使用此配置从 Claude 内部运行 k8s_pilot MCP 服务器:
{
"mcpServers": {
"k8s_pilot": {
"command": "uv",
"args": [
"--directory",
"<path-to-cloned-repo>/k8s-pilot",
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"k8s_pilot.py"
]
}
}
}替换为您克隆 repo 的实际目录。
设想
使用 pypy 命名空间中的 nginx:latest 镜像创建一个部署,并创建一个连接到它的服务。
主要特点
多集群管理
与多个 Kubernetes 集群无缝交互
执行上下文感知操作
通过 MCP 提示轻松在集群之间切换
资源控制
查看、创建、更新、删除:
部署、服务、Pod
ConfigMap、Secret、Ingress
StatefulSet、DaemonSet
角色、ClusterRoles
持久卷和声明
命名空间操作
创建/删除命名空间
列出命名空间中的所有资源
管理标签和资源配额
节点管理
查看节点详细信息和条件
警戒/解除警戒,标签/污点节点
列出每个节点的 Pod
执照
本项目遵循 MIT 许可证。详情请参阅LICENSE文件。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.115947MIT
- FlicenseBqualityFmaintenanceA gateway for Generative AI systems to interact with multiple Kubernetes clusters through Model Context Protocol, enabling comprehensive Kubernetes resource operations and multi-cluster management.4574
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with multiple Kubernetes clusters simultaneously, providing comprehensive tools for cluster management, resource operations, and diagnostics across different environments.
- AlicenseNot gradedqualityDmaintenanceA lightweight MCP server that enables natural language interaction with Kubernetes clusters, allowing management of pods, deployments, namespaces, and cluster resources through conversational queries or API endpoints.1MIT
Related MCP Connectors
Enterprise AI Control Plane: governance, guardrails, spend tracking, compliance & smart routing.
A MCP server built for developers enabling Git based project management with project and personal…
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bourbonkk/k8s-pilot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server