Kube Core MCP
Kube Core MCP
Ein Kubernetes-Befehlsverarbeitungsdienst, der Anfragen in natürlicher Sprache in gültige Kubectl-Befehle umwandelt.
Merkmale
Konvertierung von natürlicher Sprache in Kubectl-Befehle
Befehlsvalidierung und Sicherheitsüberprüfungen
Unterstützung für gängige Kubectl-Operationen
AWS Bedrock-Integration für die LLM-Verarbeitung
Related MCP server: MCP Remote Server for Kubernetes
Voraussetzungen
Python 3.8+
AWS-Anmeldeinformationen konfiguriert
kubectl installiert und konfiguriert
Node.js und npm (für Frontend)
Aufstellen
Klonen Sie das Repository:
git clone <repository-url>
cd kube-core-mcpErstellen und aktivieren Sie eine virtuelle Umgebung:
python3 -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activateInstallieren Sie Abhängigkeiten:
pip install -r requirements.txtKonfigurieren Sie die AWS-Anmeldeinformationen:
export AWS_ACCESS_KEY_ID=your_access_key
export AWS_SECRET_ACCESS_KEY=your_secret_key
export AWS_REGION=your_regionStarten Sie den FastAPI-Server:
python src/server.pyAPI-Dokumentation
Gesundheitscheck
curl http://localhost:3000/healthLeistungen
curl http://localhost:3000/api/servicesBefehle in natürlicher Sprache
curl -X POST http://localhost:3000/api/nl \
-H "Content-Type: application/json" \
-d '{"message": "show me the pods in default namespace"}'Direkte Befehle
curl -X POST http://localhost:3000/api/command \
-H "Content-Type: application/json" \
-d '{"command": "kubectl get pods -n default"}'Sicherheit
Der Dienst arbeitet in zwei Sicherheitsmodi:
STRICT (Standard):
Erlaubt nur vordefinierte Befehlsmuster
Validiert alle Befehle anhand zulässiger Muster
Verhindert gefährliche Operationen
PERMISSIV:
Ermöglicht flexiblere Befehlsmuster
Behält weiterhin grundlegende Sicherheitskontrollen bei
Nützlich für Entwicklung und Tests
Entwicklung
Ausführen von Tests
pytest tests/Codestil
black src/ tests/
flake8 src/ tests/Beitragen
Forken Sie das Repository
Erstellen eines Feature-Zweigs
Nehmen Sie Ihre Änderungen vor
Führen Sie Tests durch
Senden einer Pull-Anfrage
Lizenz
[Lizenzinformationen hinzufügen]
This server cannot be deployed
Maintenance
Related MCP Connectors
Fail-closed policy guardrails for AI agents running kubectl, terraform, helm, and argocd.
The Google GKE MCP server is a managed Model Context Protocol server that provides AI applications with tools to manage Google Kubernetes Engine (GKE) clusters and Kubernetes resources. It exposes a structured, discoverable interface that allows AI agents to interact with GKE and Kubernetes APIs, enabling them to inspect cluster configurations, retrieve Kubernetes resource YAMLs, monitor operations like cluster upgrades, diagnose issues, and optimize costs—all without needing to parse text output or use complex kubectl commands.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Provides read access to your GKE and Kubernetes resources.
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 gradedqualityCmaintenanceAn 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-