Skip to main content
Glama

k8s-interactive-mcp

by TaichiHo

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

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

結果

特徴

  • 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 を提供します。

You must be authenticated.

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

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

  1. 結果
    1. 特徴
      1. 使用法
        1. インストール
          1. デバッグ

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          This 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 -
          279
          Go
          MIT License
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          An MCP server to run commands.
          Last updated -
          2
          265
          150
          TypeScript
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          A powerful and flexible Kubernetes MCP server implementation with support for OpenShift.
          Last updated -
          223
          Go
          Apache 2.0
          • Linux
          • Apple
        • -
          security
          A
          license
          -
          quality
          A read-only MCP server for Kubernetes that allows querying cluster information and diagnosing issues through natural language interfaces like Claude.
          Last updated -
          1
          Python
          MIT License
          • Apple
          • Linux

        View all related MCP servers

        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