MCP Kubernetes 服务器

MCP Kubernetes 服务器

这是一个用于 Kubernetes 的 MCP 服务器,通过与 LLM 工具交互来管理集群。

快速入门指南

概述

本项目是一个基于 Model Context Protocol (MCP) 的 Kubernetes 服务器,支持通过自然语言操作 Kubernetes 集群。

使用方法

  1. 确保已安装 Python 3.x 和 Kubernetes 集群访问配置。
  2. 克隆仓库并进入项目目录:
    git clone https://github.com/abhijeetka/mcp-k8s-server.git
    cd mcp-k8s-server
    
  3. 安装依赖并运行服务(根据具体需求执行命令)。

示例操作

  • 创建名为 nginx-app 的部署:Create a new nginx deployment with 3 replicas in the production namespace
  • 扩展部署副本数:Scale the nginx-app deployment to 5 replicas

贡献代码

  1. Fork 仓库。
  2. 创建新分支:git checkout -b feature/your-feature-name
  3. 提交更改并创建 Pull Request。

更多详情请参考 README。