Kube Core MCP
Kube Core MCP
Служба обработки команд Kubernetes, преобразующая запросы на естественном языке в допустимые команды kubectl.
Функции
Преобразование естественного языка в команды kubectl
Проверка правильности команд и проверка безопасности
Поддержка общих операций kubectl
Интеграция AWS Bedrock для обработки LLM
Related MCP server: MCP Remote Server for Kubernetes
Предпосылки
Питон 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