GG

googlecloudplatform/gke-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

169 stars 81 forks 품질 78 트렌드 37Apache-2.0

MCP 호환 AI 에이전트가 구글 쿠버네티스 엔진과 상호작용할 수 있도록 활성화하세요.

개요

MCP 호환 AI 에이전트가 구글 쿠버네티스 엔진과 상호작용할 수 있도록 활성화하세요. MCP 서버를 설치하는 방법을 선택한 후 AI를 연결하세요. 아직 Go를 설치하지 않았다면, 다음 지침을 따르세요. Go가 설치되면 다음 명령을 실행하여 gke-mcp 설치를 하세요: gke-mcp 바이너리는 GOBIN 환경 변수로 지정된 디렉터리에 설치됩니다. GOBIN이 설정되어 있지 않으면 기본값은 $GOPATH/bin이 되고, GOPATH도 설정되어 있지 않으면 $HOME/go/bin으로 다시 전환됩니다. 정확한 위치를 찾으려면 go env GOBIN을 실행하면 됩니다. 명령어가 빈 값을 반환하면 go env GOPATH를 실행해 설치 디렉터리를 찾으세요. 추가 도움말은 문제 해결 섹션을 참고하세요: gke-mcp: command not found. GKE MCP 서버를 커서, Visual Studio Code, Claude Desktop, Claude Code 등 다양한 AI 클라이언트와 연결하는 자세한 방법은 저희 전용 설치 가이드를 참고하시기 바랍니다.

개요(AI 번역)

MCP 호환 AI 에이전트가 구글 쿠버네티스 엔진과 상호작용할 수 있도록 활성화하세요.

설치

MCP 서버를 설치하는 방법을 선택한 후 AI를 연결하세요.

Gemini CLI 확장 기능으로의 사용

  1. Gemini CLI 설치.

  2. 확장 프로그램 설치

MCP 클라이언트 / 기타 AI에서의 사용

빠른 설치 (리눅스 및 macOS 전용)

수동 설치

아직 Go를 설치하지 않았다면, 다음 지침을 따르세요.

Go가 설치되면 다음 명령을 실행하여 gke-mcp 설치를 하세요:

gke-mcp 이진 변수는 GOBIN 환경 변수가 지정한 디렉터리에 설치됩니다. GOBIN가 설정되어 있지 않으면 기본값은 $GOPATH/bin로 전환되고, GOPATH도 설정되어 있지 않으면 $HOME/go/bin로 다시 폴아웃됩니다.

정확한 위치를 찾으려면 go env GOBIN를 실행하면 됩니다. 명령어가 빈 값을 반환하면 go env GOPATH를 실행해 설치 디렉터리를 찾으세요.

추가 도움말은 문제 해결 섹션을 참고하세요: gke-mcp: command not found.

MCP 서버를 AI에 추가하세요

GKE MCP 서버를 커서, Visual Studio Code, Claude Desktop, Claude Code 등 다양한 AI 클라이언트와 연결하는 자세한 방법은 저희 전용 설치 가이드를 참고하시기 바랍니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

GKE MCP Server and Gemini CLI Extension

Enable MCP-compatible AI agents to interact with Google Kubernetes Engine.

Installation

Choose a way to install the MCP Server and then connect your AI to it.

Use as a Gemini CLI Extension

  1. Install Gemini CLI.

  2. Install the extension

gemini extensions install https://github.com/GoogleCloudPlatform/gke-mcp.git

Use in MCP Clients / Other AIs

Quick Install (Linux & macOS only)

curl -sSL https://raw.githubusercontent.com/GoogleCloudPlatform/gke-mcp/main/install.sh | bash

Manual Install

If you haven’t already installed Go, follow these instructions.

Once Go is installed, run the following command to install gke-mcp:

go install github.com/GoogleCloudPlatform/gke-mcp@latest

The gke-mcp binary will be installed in the directory specified by the GOBIN environment variable. If GOBIN is not set, it defaults to $GOPATH/bin and, if GOPATH is also not set, it falls back to $HOME/go/bin.

You can find the exact location by running go env GOBIN. If the command returns an empty value, run go env GOPATH to find the installation directory.

For additional help, refer to the troubleshoot section: gke-mcp: command not found.

Add the MCP Server to your AI

For detailed instructions on how to connect the GKE MCP Server to various AI clients, including Cursor, Visual Studio Code, Claude Desktop, and Claude Code, please refer to our dedicated installation guide.

Configuring the Developer Knowledge API

The manifest generation agent (generate_manifest tool) can retrieve official GKE documentation, required annotations, and best practices using the Developer Knowledge API.

To enable this capability:

  1. Enable the API: Enable the Developer Knowledge API in your Google Cloud Project (refer to the Developer Knowledge API documentation for details).
  2. Generate an API Key: Create an API key with permissions to call the Developer Knowledge API.
  3. Configure the Environment Variable: Set the DK_API_KEY environment variable when starting the MCP server:
    • Gemini CLI / Terminal:
      export DK_API_KEY="your-api-key-here"
      
    • Cursor / Claude Desktop / Visual Studio Code: Add the environment variable to your client’s MCP configuration. For example, in claude_desktop_config.json:
      {
        "mcpServers": {
          "gke-mcp": {
            "command": "gke-mcp",
            "env": {
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "gke-mcp": { "command": "gke-mcp", "env": { "DK_API_KEY": "your-api-key-here" } } } }