local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Allows running kubectl commands to interact with Kubernetes clusters using a specified kubeconfig path, with support for command line piping and automatic interpretation of command results
k8s-インタラクティブ-mcp
指定された kubeconfig パスを使用して Kubernetes コマンドを実行し、コマンドの解釈を提供できる MCP サーバー。
結果
特徴
- MCP ツールを通じて kubectl コマンドを実行する
- 柔軟なコマンドラインパイピング
- kubectl の自動インストールチェック
- カスタム kubeconfig パスのサポート
- エラー処理と役立つメッセージ
使用法
- 依存関係をインストールします:
Copy
サーバーを構築します。
Copy
自動リビルドを使用した開発の場合:
Copy
インストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
Copy
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
Copy
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。