Skip to main content
Glama
TaichiHo

k8s-interactive-mcp

by TaichiHo

k8s-インタラクティブ-mcp

指定された kubeconfig パスを使用して Kubernetes コマンドを実行し、コマンドの解釈を提供できる MCP サーバー。

結果

Related MCP server: mcp-server-commands

特徴

  • MCP ツールを通じて kubectl コマンドを実行する

  • 柔軟なコマンドラインパイピング

  • kubectl の自動インストールチェック

  • カスタム kubeconfig パスのサポート

  • エラー処理と役立つメッセージ

使用法

  1. 依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "k8s-interactive": { "command": "/path/to/k8s-interactive/build/index.js" } } }

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

One-click Deploy
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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/TaichiHo/k8s-interactive-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server