Kube Core MCP
Kube コア MCP
自然言語リクエストを有効な kubectl コマンドに変換する Kubernetes コマンド処理サービス。
特徴
自然言語からkubectlコマンドへの変換
コマンドの検証とセキュリティチェック
一般的な kubectl 操作のサポート
LLM 処理のための AWS Bedrock 統合
Related MCP server: MCP Remote Server for Kubernetes
前提条件
Python 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.txtAWS 認証情報を設定します。
export AWS_ACCESS_KEY_ID=your_access_key
export AWS_SECRET_ACCESS_KEY=your_secret_key
export AWS_REGION=your_regionFastAPI サーバーを起動します。
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"}'安全
このサービスは、次の 2 つのセキュリティ モードで動作します。
STRICT (デフォルト):
定義済みのコマンドパターンのみを許可します
すべてのコマンドを許可されたパターンに対して検証します
危険な操作を防止
許容:
より柔軟なコマンドパターンが可能
基本的なセキュリティチェックは維持されている
開発とテストに役立つ
発達
テストの実行
pytest tests/コードスタイル
black src/ tests/
flake8 src/ tests/貢献
リポジトリをフォークする
機能ブランチを作成する
変更を加える
テストを実行する
プルリクエストを送信する
ライセンス
[ライセンス情報の追加]
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-