
feiskyer/mcp-kubernetes-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) 서버는 쿠버네티스 클러스터와 상호 작용하는 AI 조수를 가능하게 합니다.
개요
Mcp-kubernetes-server는 Server Context Protocol (MCP)를 구현하여 Oracle 클러스터와 상호작용하기 위해 AI Assistants(Clude, Cursor, GitHub Copilot)를 구현하는 서버입니다. 이 조수는 쿠버네티스 운영으로 자연 언어 요청을 번역하고 결과를 반환합니다. - 쿼리 쿠버네티스 리소스 - kubectl 명령어 실행 - 자연적인 언어 상호 작용을 통해 쿠버네티스 클러스터를 관리 - 쿠버네티스 리소스의 상태를 진단하고 해석 mcp-kubernetes-server는 AI Assistants(모델 Context Protocol)과 Kubernetes 클러스터를 지원한다. 이 조수에서 자연적인 언어 요청을 받고, kubectl 명령 또는 직접 쿠버네티스 API 호출로 번역하고, 대상 클러스터에 대해 실행합니다. 서버는 결과를 처리하고 구조화된 응답을 반환하고, AI 조수를 통해 Kubernetes 환경과의 원활한 상호 작용을 가능하게 합니다.
개요(AI 번역)
mcp-kubernetes-server]는 Server Context Protocol (MCP)를 구현하여 Kubernetes 클러스터와 상호 작용하는 AI Assistants(Cagude, Cursor, GitHub Copilot과 같은)를 가능하게 합니다. 이 조수는 쿠버네티스 운영으로 자연 언어 요청을 번역하고 결과를 반환합니다.
AI 조수는 다음과 같습니다.
- 쿼리 쿠버네티스 리소스
- kubectl 명령어 실행
- 쿠버네티스 클러스터 관리
- Kubernetes 리소스의 상태를 진단하고 해석하십시오.
그것이 작동하는 방법
mcp-kubernetes-server는 AI Assistants(모델 Context Protocol)과 쿠버네티스 클러스터를 지원한다. 이 조수에서 자연적인 언어 요청을 받고, kubectl] 명령 또는 직접 쿠버네티스 API 호출로 번역하고, 대상 클러스터에 대해 실행합니다. 서버는 결과를 처리하고 구조화된 응답을 반환하고, AI 조수를 통해 Kubernetes 환경과의 원활한 상호 작용을 가능하게 합니다.
설치 방법
# 필수품
mcp-kubernetes-server를 설치하기 전에 다음을 수행하십시오.
- 작업 쿠버네티스 클러스터.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
mcp-kubernetes-server
The mcp-kubernetes-server is a server implementing the Model Context Protocol (MCP) to enable AI assistants (such as Claude, Cursor, and GitHub Copilot) to interact with Kubernetes clusters. It acts as a bridge, translating natural language requests from these assistants into Kubernetes operations and returning the results.
It allows AI assistants to:
- Query Kubernetes resources
- Execute kubectl commands
- Manage Kubernetes clusters through natural language interactions
- Diagnose and interpret the states of Kubernetes resources
How It Works
The mcp-kubernetes-server acts as an intermediary between AI assistants (that support the Model Context Protocol) and your Kubernetes cluster. It receives natural language requests from these assistants, translates them into kubectl commands or direct Kubernetes API calls, and executes them against the target cluster. The server then processes the results and returns a structured response, enabling seamless interaction with your Kubernetes environment via the AI assistant.

How To Install
Prerequisites
Before installing mcp-kubernetes-server, ensure you have the following:
- A working Kubernetes cluster.
- A
kubeconfigfile correctly configured to access your Kubernetes cluster (the server requires this file for interaction). - The
kubectlcommand-line tool installed and in your system’s PATH (used by the server to execute many Kubernetes commands). - The
helmcommand-line tool installed and in your system’s PATH (used by the server for Helm chart operations). - Python >= 3.11, if you plan to install and run the server directly using
uvx(without Docker).
Docker
Get your kubeconfig file for your Kubernetes cluster and setup in the mcpServers (replace src path with your kubeconfig path):
{
"mcpServers": {
"kubernetes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/home/username/.kube/config,dst=/home/mcp/.kube/config",
"ghcr.io/feiskyer/mcp-kubernetes-server"
]
}
}
}
UVX
To run the server using uvx (a tool included with uv, the Python packager), first ensure uv is installed:
Install uv if it’s not installed yet and add it to your PATH, e.g. using curl:
# For Linux and MacOS
설치
docker run -i --rm --mount type=bind src=/home/username/.kube/config dst=/home/mcp/.kube/config ghcr.io/feiskyer/mcp-kubernetes-server설정
{
"mcpServers": {
"kubernetes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/home/username/.kube/config,dst=/home/mcp/.kube/config",
"ghcr.io/feiskyer/mcp-kubernetes-server"
]
}
}
}