Exposes API endpoints for health checks, service discovery, natural language command processing, and direct command execution through a REST interface
Converts natural language requests into valid kubectl commands for Kubernetes cluster management, supporting operations like viewing pods, services, and other resources across namespaces with built-in security validation
Kube Core MCP
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:
- Create and activate a virtual environment:
- Install dependencies:
- Configure AWS credentials:
- Start the FastAPI server:
API Documentation
Health Check
Services
Natural Language Commands
Direct Commands
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
Code Style
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
License
[Add License Information]
This server cannot be installed
A Kubernetes command processing service that converts natural language requests into valid kubectl commands, providing command validation and security checks.
Related MCP Servers
- AsecurityAlicenseAqualityTypeScript implementation of Kubernetes cluster operations for pods, deployments, services.Last updated -91,791700TypeScriptMIT License
- AsecurityFlicenseAqualityA MCP server that can run Kubernetes commands with a given kubeconfig path and provide interpretation of the commands.Last updated -12JavaScript
- -securityAlicense-qualityA read-only MCP server for Kubernetes that allows querying cluster information and diagnosing issues through natural language interfaces like Claude.Last updated -1PythonMIT License
- -securityAlicense-qualityAn MCP server that enables interaction with Kubernetes/Minikube clusters through natural language, allowing AI agents like Codename Goose to manage Kubernetes resources via the Model Context Protocol.Last updated -PythonMIT License