Skip to main content
Glama

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

  1. Klonen Sie das Repository:

git clone <repository-url>
cd kube-core-mcp
  1. Erstellen und aktivieren Sie eine virtuelle Umgebung:

python3 -m venv venv
source venv/bin/activate  # On Windows: .\venv\Scripts\activate
  1. Installieren Sie Abhängigkeiten:

pip install -r requirements.txt
  1. Konfigurieren Sie die AWS-Anmeldeinformationen:

export AWS_ACCESS_KEY_ID=your_access_key
export AWS_SECRET_ACCESS_KEY=your_secret_key
export AWS_REGION=your_region
  1. Starten Sie den FastAPI-Server:

python src/server.py

API-Dokumentation

Gesundheitscheck

curl http://localhost:3000/health

Leistungen

curl http://localhost:3000/api/services

Befehle 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:

  1. STRICT (Standard):

    • Erlaubt nur vordefinierte Befehlsmuster

    • Validiert alle Befehle anhand zulässiger Muster

    • Verhindert gefährliche Operationen

  2. 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

  1. Forken Sie das Repository

  2. Erstellen eines Feature-Zweigs

  3. Nehmen Sie Ihre Änderungen vor

  4. Führen Sie Tests durch

  5. Senden einer Pull-Anfrage

Lizenz

[Lizenzinformationen hinzufügen]

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An 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.
    20
    Apache 2.0

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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