Cover image
Try Now
2025-04-14

MCP Server von Docker

3 years

Works with Finder

2

Github Watches

0

Github Forks

2

Github Stars

Docker MCP Server

The Docker MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Docker Desktop on Windows, enabling advanced automation and interaction capabilities for developers and tools.

Prerequisites

  1. Install Docker Desktop for Windows from Docker's official download page.

  2. In Docker Desktop, go to Settings > General and check the box for
    "Expose daemon on tcp://localhost:2375 without TLS".
    This is required for the MCP server to communicate with Docker Desktop.

    💡 Tip: You can verify that the port is exposed successfully by opening
    http://localhost:2375/version in your browser. If the setup is correct,
    you should see a JSON response with Docker version information. If you're having trouble, check this discussion for a possible solution: WSL and Docker for Windows: Cannot connect to the Docker daemon

Installation

Usage with Claude Desktop

{
  "mcpServers": {
    "docker-mcp-stdio": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "freezeolo/docker-mcp-server"
      ]
    }
  }
}

Tools

Completed 🛠️ In ProgressPlan

Container Lifecycle Management ✅

  • list_containers - Get the list of containers ✅
  • get_container_info - Get details of a specific container ✅
    • container_id: Container ID (string, required)
  • start_container - Start a container ✅
    • container_id: Container ID (string, required)
  • restart_container - Restart a container ✅
    • container_id: Container ID (string, required)
  • stop_container - Stop a container ✅
    • container_id: Container ID (string, required)
  • remove_container - Remove a container ✅
    • container_id: Container ID (string, required)
  • create_container - Create a new container ✅
    • imageName: Image name (string, required)
    • containerName: Container name (string, required)
    • command: Command to run (string, optional)
    • env: Environment variables (string[], optional)
    • ports: Port bindings (string[], optional)
    • volumes: Volume bindings (string[], optional)
    • network: Network name (string, optional)
    • restartPolicy: Restart policy (string, optional)

Network Management ✅

  • list_networks - List all networks ✅
  • get_network_info - Get network information ✅
    • networkId: Network ID (string, required)
  • create_network - Create a new network ✅
    • networkName: Network name (string, required)
    • driver: Network driver (string, required)
    • subnet: Subnet CIDR (string, required)
    • gateway: Gateway IP (string, required)
  • connect_container_to_network - Connect container to network ✅
    • containerId: Container ID (string, required)
    • networkId: Network ID (string, required)
  • disconnect_container_from_network - Disconnect container from network ✅
    • containerId: Container ID (string, required)
    • networkId: Network ID (string, required)
  • remove_network - Remove a network ✅
    • networkId: Network ID (string, required)
  • get_network_containers - Get containers in a network ✅
    • networkId: Network ID (string, required)

Image Management ✅

  • list_images - List all images ✅
  • pull_image - Pull an image from registry ✅
    • imageName: Image name with tag (string, required)
  • push_image - Push an image to registry ✅
    • imageName: Image name with tag (string, required)
  • remove_image - Remove an image ✅
    • imageId: Image ID (string, required)
    • force: Force removal (boolean, optional)
  • tag_image - Tag an image with multiple tags ✅
    • imageId: Image ID (string, required)
    • repository: Repository name (string, required)
    • tags: Array of tags (string[], required)
  • build_image - Build an image from Dockerfile ✅
    • dockerfilePath: Path to Dockerfile (string, required)
    • repository: Repository name (string, required)
    • tags: Array of tags (string[], required)
  • get_image_details - Get image details ✅
    • imageId: Image ID (string, required)

FAQ

Q: How do I install the project?

A: Follow the steps in the Installation section. Make sure you have the required dependencies.

License

This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.

相关推荐

  • av
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • 1Panel-dev
  • 🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • lasso-security
  • Ein Plugin-basiertes Gateway, das andere MCPs orchestriert und es Entwicklern ermöglicht, auf IT-Agenten zu bauen.

  • hkr04
  • Leichtes C ++ MCP (Modellkontextprotokoll) SDK

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack

  • modelscope
  • Bauen Sie LLM-Multi-Agent-Anwendungen auf einfachere Weise auf.

    Reviews

    3.4 (7)
    Avatar
    user_GGS9rOtf
    2025-04-25

    As a dedicated user of mcp-server-docker, I must say it has revolutionized my server management experience. This product by Freezeu is incredibly efficient, making deployment and scaling seamless. The user-friendly interface and comprehensive documentation are impressive, ensuring even beginners can get started quickly. Highly recommend this for anyone looking to enhance their server operations.

    Avatar
    user_VIHnBIVm
    2025-04-25

    As a dedicated user of mcp-server-docker, I am thoroughly impressed by its efficiency and reliability. Developed by Freezeu, this tool has significantly streamlined our server management, making deployment a breeze. Its user-friendly interface and robust performance have made it an indispensable part of our workflow. Highly recommend to anyone in need of a powerful server solution!

    Avatar
    user_GxzGgJoY
    2025-04-25

    I recently started using mcp-server-docker by Freezeu, and I am thoroughly impressed. This tool has significantly simplified my server management and deployment process. The seamless integration and user-friendly interface make it a must-have for any developer working with Docker. Highly recommended!

    Avatar
    user_SaqdT5oj
    2025-04-25

    As a dedicated user of mcp-server-docker, I am thoroughly impressed by its seamless integration and efficient performance. Freezeu has done an outstanding job crafting this resourceful tool. It's intuitive to set up and offers robust support for containerized environments. Highly recommend it for anyone looking to streamline their server management with Docker.

    Avatar
    user_aFRlbWfo
    2025-04-25

    As a loyal user of mcp-server-docker, I can confidently say this tool is a game-changer for my server management tasks. Created by Freezeu, it offers seamless integration and exceptional performance. Highly recommend it for anyone looking to streamline their server operations!

    Avatar
    user_6E0q7qVV
    2025-04-25

    I've been using mcp-server-docker by Freezeu for my projects and it has been a game changer! The setup was incredibly straightforward, and it integrates seamlessly with my existing Docker environment. The performance is top-notch and the stability is impressive. Highly recommended for anyone looking for a reliable server solution.

    Avatar
    user_yGsu0y4F
    2025-04-25

    I've been using mcp-server-docker by Freezeu and it's simply outstanding! The setup process was seamless with clear instructions, and it integrates perfectly with my existing Docker environment. It's incredibly efficient and stable, making server management a breeze. Highly recommend it to anyone looking to streamline their server operations!