Kubernetes Natural Language Commander
БесплатноНе проверенConverts natural language requests into valid kubectl commands for Kubernetes cluster management, enabling administrators to interact with their clusters withou
Описание
Converts natural language requests into valid kubectl commands for Kubernetes cluster management, enabling administrators to interact with their clusters without memorizing complex syntax
README
A Kubernetes command processing service that converts natural language requests into valid kubectl commands.
Features
- Natural language to kubectl command conversion
- Command validation and security checks
- Support for common kubectl operations
- AWS Bedrock integration for LLM processing
Prerequisites
- Python 3.8+
- AWS credentials configured
- kubectl installed and configured
- Node.js and npm (for frontend)
Setup
- Clone the repository:
git clone <repository-url>
cd kube-core-mcp
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Configure AWS credentials:
export AWS_ACCESS_KEY_ID=your_access_key
export AWS_SECRET_ACCESS_KEY=your_secret_key
export AWS_REGION=your_region
- Start the FastAPI server:
python src/server.py
API Documentation
Health Check
curl http://localhost:3000/health
Services
curl http://localhost:3000/api/services
Natural Language Commands
curl -X POST http://localhost:3000/api/nl \
-H "Content-Type: application/json" \
-d '{"message": "show me the pods in default namespace"}'
Direct Commands
curl -X POST http://localhost:3000/api/command \
-H "Content-Type: application/json" \
-d '{"command": "kubectl get pods -n default"}'
Security
The service operates in two security modes:
STRICT (default):
- Only allows predefined command patterns
- Validates all commands against allowed patterns
- Prevents dangerous operations
PERMISSIVE:
- Allows more flexible command patterns
- Still maintains basic security checks
- Useful for development and testing
Development
Running Tests
pytest tests/
Code Style
black src/ tests/
flake8 src/ tests/
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
License
[Add License Information]
Установка Kubernetes Natural Language Commander
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/jess321995/kube-core-mcpFAQ
Kubernetes Natural Language Commander MCP бесплатный?
Да, Kubernetes Natural Language Commander MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Kubernetes Natural Language Commander?
Нет, Kubernetes Natural Language Commander работает без API-ключей и переменных окружения.
Kubernetes Natural Language Commander — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Kubernetes Natural Language Commander в Claude Desktop, Claude Code или Cursor?
Открой Kubernetes Natural Language Commander на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Kubernetes Natural Language Commander with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
