CM

ckreiling/mcp-server-docker

Developer tools

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

749 stars 98 forks 품질 79 트렌드 30GPL-3.0

도커용 MCP 서버

개요

자연어로 도커를 관리하는 MCP 서버입니다! - 🚀 자연어로 컨테이너 구성 - 🔍 실행 중인 컨테이너 내면 및 디버그 - 📀 Docker 볼륨을 이용한 영구 데이터 관리 - 서버 관리자: 예를 들어 공개 웹사이트 관리를 위해 원격 도커 엔진에 연결. - 틴커러: 로컬에서 컨테이너를 실행하고 도커를 지원하는 오픈소스 앱을 실험합니다. - AI 애호가: LLM이 할 수 있는 한계를 밀어붙입니다! 자연어를 이용한 워드프레스 배포 모습을 간단히 보여주는 데모입니다: https://github.com/user-attachments/assets/65e35e67-bce0-4449-af7e-9f4dd773b4b3 MacOS에서: ~/라이브러리/애플리케이션\ 지원/Claude/claude_desktop_config.json Windows에서: %APPDATA%/Claude/claude_desktop_config.json UV가 설치되어 있지 않다면, 시스템 설치 지침을 따라 하세요: 링크

개요(AI 번역)

자연어로 도커를 관리하는 MCP 서버입니다!

🪩 그게 뭘 할 수 있지?

  • 🚀 자연어로 컨테이너 작성
  • 🔍 실행 중인 컨테이너 내면 및 디버그
  • 📀 Docker 볼륨을 이용한 영구 데이터 관리

❓ 이건 누구를 위한 거야?

  • 서버 관리자: 예를 들어 관리 등 원격 Docker 엔진에 연결됨 공개 웹사이트.
  • 팅커러스: 로컬에서 컨테이너를 실행하고 오픈 소스 앱을 실험합니다. 도커 지원.
  • AI 애호가분들: LLM이 할 수 있는 한계를 밀어붙이세요!

데모

자연어를 이용한 워드프레스 배포 모습을 간단히 보여주는 데모입니다:

https://github.com/user-attachments/assets/65e35e67-bce0-4449-af7e-9f4dd773b4b3

🏎️ 퀵스타트

설치

클로드 데스크탑

MacOS에서: ~/Library/Application\ Support/Claude/claude_desktop_config.json

윈도우에서: %APPDATA%/Claude/claude_desktop_config.json

uv가 있는 PyPi에서 설치

uv가 설치되어 있지 않다면, 설치 지침을 따라 하세요 시스템: 링크

그 다음 다음 내용을 MCP 서버 파일에 추가하세요:

도커로 설치

편의를 위해 서버는 Docker 컨테이너에서 실행할 수 있습니다.

이 저장소를 복제한 후, Docker 이미지를 구축하세요:

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

README

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

🐋 Docker MCP server

An MCP server for managing Docker with natural language!

🪩 What can it do?

  • 🚀 Compose containers with natural language
  • 🔍 Introspect & debug running containers
  • 📀 Manage persistent data with Docker volumes

❓ Who is this for?

  • Server administrators: connect to remote Docker engines for e.g. managing a public-facing website.
  • Tinkerers: run containers locally and experiment with open-source apps supporting Docker.
  • AI enthusiasts: push the limits of that an LLM is capable of!

Demo

A quick demo showing a WordPress deployment using natural language:

https://github.com/user-attachments/assets/65e35e67-bce0-4449-af7e-9f4dd773b4b3

🏎️ Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

📝 Prompts

🎻 docker_compose

Use natural language to compose containers. See above for a demo.

Provide a Project Name, and a description of desired containers, and let the LLM do the rest.

This prompt instructs the LLM to enter a plan+apply loop. Your interaction with the LLM will involve the following steps:

  1. You give the LLM instructions for which containers to bring up
  2. The LLM calculates a concise natural language plan and presents it to you
  3. You either:
    • Apply the plan
    • Provide the LLM feedback, and the LLM recalculates the plan

Examples

  • name: nginx, containers: “deploy an nginx container exposing it on port 9000”
  • name: wordpress, containers: “deploy a WordPress container and a supporting MySQL container, exposing Wordpress on port 9000”

Resuming a Project

When starting a new chat with this prompt, the LLM will receive the status of any containers, volumes, and networks created with the given project name.

GitHub에서 전체 README 보기

설치

uvx mcp-server-docker
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →