k8s-interactive-mcp

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-interactive-mcp

주어진 kubeconfig 경로로 Kubernetes 명령을 실행하고 명령에 대한 해석을 제공할 수 있는 MCP 서버입니다.

결과

특징

  • MCP 도구를 통해 kubectl 명령 실행
  • 유연한 명령줄 파이핑
  • 자동 kubectl 설치 확인
  • 사용자 정의 kubeconfig 경로 지원
  • 오류 처리 및 유용한 메시지

용법

  1. 종속성 설치:

지엑스피1

서버를 빌드하세요:

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

주어진 kubeconfig 경로로 Kubernetes 명령을 실행하고 명령에 대한 해석을 제공할 수 있는 MCP 서버입니다.

  1. Result
    1. Features
      1. Usage
        1. Installation
          1. Debugging
        ID: gwvs0s78be