Kube Core MCP
Kube 核心 MCP
将自然语言请求转换为有效的 kubectl 命令的 Kubernetes 命令处理服务。
特征
自然语言到 kubectl 命令的转换
命令验证和安全检查
支持常见的 kubectl 操作
用于 LLM 处理的 AWS Bedrock 集成
Related MCP server: MCP Remote Server for Kubernetes
先决条件
Python 3.8+
已配置 AWS 凭证
kubectl 安装和配置
Node.js 和 npm(用于前端)
设置
克隆存储库:
git clone <repository-url>
cd kube-core-mcp创建并激活虚拟环境:
python3 -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate安装依赖项:
pip install -r requirements.txt配置AWS凭证:
export AWS_ACCESS_KEY_ID=your_access_key
export AWS_SECRET_ACCESS_KEY=your_secret_key
export AWS_REGION=your_region启动 FastAPI 服务器:
python src/server.pyAPI 文档
健康检查
curl http://localhost:3000/health服务
curl http://localhost:3000/api/services自然语言命令
curl -X POST http://localhost:3000/api/nl \
-H "Content-Type: application/json" \
-d '{"message": "show me the pods in default namespace"}'直接命令
curl -X POST http://localhost:3000/api/command \
-H "Content-Type: application/json" \
-d '{"command": "kubectl get pods -n default"}'安全
该服务以两种安全模式运行:
严格(默认):
仅允许预定义的命令模式
根据允许的模式验证所有命令
防止危险操作
允许:
允许更灵活的命令模式
仍然保持基本的安全检查
对于开发和测试有用
发展
运行测试
pytest tests/代码风格
black src/ tests/
flake8 src/ tests/贡献
分叉存储库
创建功能分支
进行更改
运行测试
提交拉取请求
执照
[添加许可信息]
This server cannot be installed
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
- FlicenseBqualityDmaintenanceA server that enables LLMs to manage Kubernetes clusters through natural language commands, wrapping kubectl operations to provide a simplified interface for common Kubernetes tasks.2510
- AlicenseNot gradedqualityDmaintenanceProvides Kubernetes cluster management capabilities through natural language via MCP protocol over HTTP/SSE. Supports Pod, Service, Deployment operations, log retrieval, and resource management with JWT authentication and RBAC permissions.1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to interact with Kubernetes clusters by translating natural language into kubectl and Helm operations. It allows users to query, manage, and diagnose Kubernetes resources and cluster states through a seamless integration.20Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables secure Kubernetes operations with configurable security modes, supporting core Kubernetes resources, Istio service mesh, and Helm chart management through natural language.1
Related MCP Connectors
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
GibsonAI MCP server: manage your databases with natural language
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
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/Jess321995/kube-core-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server