
azure/mcp-kubernetes
Deployment & DevOps이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
azure/mcp-kubernetes는 MCP 서버 후보가 https://github.com/azure/mcp-kubernetes.에서 수입됩니다
개요
azure/mcp-kubernetes는 MCP 서버 후보가 https://github.com/azure/mcp-kubernetes.에서 수입됩니다
개요(AI 번역)
Mcp-kubernetes는 AI 조수가 쿠버네티스 클러스터와 상호 작용할 수 있는 모델 Context Protocol (MCP) 서버입니다. 그것은 AI 도구 (클래드, 커서, GitHub Copilot과 같은) 및 쿠버네티스 간의 교량 역할을하며, 쿠버네티스 작업으로 자연적인 언어 요청을 번역하고 AI 도구가 이해할 수 있는 형식으로 결과를 반환합니다.
AI 도구는 다음과 같습니다.
- 쿼리 쿠버네티스 리소스
- kubectl 명령어 실행
- 쿠버네티스 클러스터 관리
- Kubernetes 리소스의 상태를 진단하고 해석하십시오.
어떻게 작동합니까?
설치 방법
컨테이너 이미지는 더 이상 생성되거나 지원되지 않습니다. 이진을 로컬로 설치하고 MCP 클라이언트를 구성하여 stdio subprocess로 실행합니다.
# 현지
kubectl 설치
아직 설치되지 않은 경우 kubectl을 설치하고 PATH, e.g에 추가하십시오.
helm 설치
아직 설치되지 않은 경우 helm를 설치하고 PATH, e.g에 추가하십시오.
Claude Desktop, Cursor, ChatGPT Copilot, Github Copilot 및 기타 지원되는 AI 클라이언트에서 MCP 서버를 구성하십시오.
옵션
환경 변수:
KUBECONFIG: kubeconfig 파일 경로, 예./home/ /.kube/config.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
mcp-kubernetes
The mcp-kubernetes is a Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It serves as a bridge between AI tools (like Claude, Cursor, and GitHub Copilot) and Kubernetes, translating natural language requests into Kubernetes operations and returning the results in a format the AI tools can understand.
It allows AI tools 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
How to install
Container images are no longer produced or supported. Install a released binary locally and configure your MCP client to run it as a stdio subprocess.
Local
Config your MCP servers in Claude Desktop, Cursor, ChatGPT Copilot, Github Copilot and other supported AI clients, e.g.
{
"mcpServers": {
"kubernetes": {
"command": "",
"args": ["--transport", "stdio"],
"env": {
"KUBECONFIG": ""
}
}
}
}
Options
Environment variables:
KUBECONFIG: Path to your kubeconfig file, e.g./home//.kube/config.USE_LEGACY_TOOLS: Set totrueto use multiple specialized kubectl tools instead of the unifiedcall_kubectltool (default:false).
Command line arguments:
Usage of ./mcp-kubernetes:
--access-level string Access level (readonly, readwrite, or admin) (default "readonly")
--additional-tools string Comma-separated list of additional tools to support (kubectl is always enabled). Available: helm,cilium,hubble
--allow-namespaces string Comma-separated list of namespaces to allow (empty means all allowed)
--otlp-endpoint string OTLP endpoint for OpenTelemetry traces (e.g. localhost:4317, default "")
--timeout int Timeout for command execution in seconds, default is 60s (default 60)
설치
npx @modelcontextprotocol/inspector <path of binary 'mcp-kubernetes'>설정
{
"mcpServers": {
"kubernetes": {
"command": "<path of binary 'mcp-kubernetes'>",
"args": ["--transport", "stdio"],
"env": {
"KUBECONFIG": "<your-kubeconfig-path>"
}
}
}
}