Skip to main content
Glama
k8s-interactive-mcp

k8s-interactive-mcp

by TaichiHo

k8s-interactive-mcp

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

결과

Related MCP server: kubernetes-mcp-server

특징

  • 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을 제공합니다.

Available Tools

1 tool
run_kubectl_commandC

Run a kubectl command against the cluster pointed to by the current kubeconfig

Inputs: command (required), kubeconfig (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as running kubectl commands, making it impossible for an agent to confuse it with another tool.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name 'run_kubectl_command' follows a clear verb_noun pattern, and there are no other tools to create inconsistency.

    Tool Count2/5

    A single tool is too few for a Kubernetes management server, as it lacks coverage for common operations like listing resources, applying configurations, or checking cluster status. This forces agents to rely solely on raw kubectl commands, which is inefficient and error-prone for the domain.

    Completeness2/5

    The tool surface is severely incomplete for Kubernetes management. While 'run_kubectl_command' provides a generic entry point, it lacks dedicated tools for essential operations such as get, apply, delete, describe, or logs, leaving significant gaps that will cause agent failures in automated workflows.

    Related MCP Connectors

    Related MCP Servers