k8s-インタラクティブ-mcp
指定された kubeconfig パスを使用して Kubernetes コマンドを実行し、コマンドの解釈を提供できる MCP サーバー。
結果
特徴
- MCP ツールを通じて kubectl コマンドを実行する
- 柔軟なコマンドラインパイピング
- kubectl の自動インストールチェック
- カスタム kubeconfig パスのサポート
- エラー処理と役立つメッセージ
使用法
- 依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
インストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
指定された kubeconfig パスを使用してKubernetesコマンドを実行し、コマンドの解釈を提供できる MCP サーバー。
Related MCP Servers
- -securityAlicense-qualityThis project is intended as a both MCP server connecting to Kubernetes and a library to build more servers for any custom resources in Kubernetes.Last updated -279GoMIT License
- AsecurityAlicenseAqualityAn MCP server to run commands.Last updated -2265150TypeScriptMIT License
- -securityAlicense-qualityA powerful and flexible Kubernetes MCP server implementation with support for OpenShift.Last updated -223GoApache 2.0
- -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