OlympHill
docker-mcp logo

docker-mcpdocker MCP 服务器(模型上下文协议)

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

docker-mcp 是一个强大的 Model Context Protocol(MCP)服务器,用于 Docker 操作,支持通过 Claude AI 实现无缝的容器和 Compose 栈管理。它提供多项功能,包括容器创建与实例化、Docker Compose 栈部署、容器日志检索,以及容器列表和状态监控。 要使用 docker-mcp,用户需要 Python 3.12 及以上、Docker Desktop 或 Docker Engine,以及已安装 Claude Desktop。服务器可通过 Smithery 安装,并将其配置加入到 Claude Desktop 的配置文件中。 docker-mcp 提供以下工具: * create-container: 创建单独的 Docker 容器 * deploy-compose: 部署 Docker Compose 堆栈 * get-logs: 从特定容器检索日志 * list-containers: 列出所有 Docker 容器 然而,它目前仍有一些限制,包括缺少对容器的内置环境变量支持、卷管理、网络管理、容器健康检查、容器重启策略以及容器资源限制。 本项目采用 MIT 许可证,欢迎通过开发流程进行贡献。 服务器使用Python开发,并使用UV作为其包管理器。 文档包含开发配置和生产配置的说明,以及调试和可用工具。

主要功能

  • 容器创建与实例化
  • Docker Compose 堆栈部署
  • 容器日志获取
  • 容器列表和状态监控

价格

模型
Free
评分
暂无评价

使用场景

部署 Docker Compose 堆栈

docker-mcp 可通过单个命令部署 Docker Compose 堆栈,轻松管理复杂应用。

分析容器日志

docker-mcp 提供从指定容器检索日志的功能,便于调试和排查应用问题。

优点 & 缺点

优点

  • 无缝的容器和 Compose 堆栈管理
  • 与 Claude AI 集成
  • 支持 Docker Compose 堆栈部署
  • 能够检索容器日志

缺点

  • 缺少容器环境变量的内置支持
  • 没有卷管理功能
  • 没有网络管理功能
  • 缺少容器健康检查

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

Can docker-mcp handle multiple compose stacks simultaneously?

Yes, it can deploy Docker Compose stacks via the deploy-compose tool, but each deployment is managed independently; it lacks advanced orchestration features like scaling or health monitoring.

Asked by Noelia Campos · Nov 13, 2025

What container management features does docker-mcp provide and what are its limitations?

docker-mcp supports creating single containers, deploying Docker Compose stacks, retrieving container logs, and listing containers with their status. It does not handle environment variables, volume mounting, network configuration, or health checks for containers.

Asked by Kwame Mensah · Sep 15, 2025

How does docker-mcp integrate with Claude Desktop?

It works as a Model Context Protocol (MCP) server that Claude Desktop can call. After installing via Smithery, its configuration is added to Claude Desktop, allowing Claude to invoke tools like create-container, deploy-compose, get-logs, and list-containers directly from its interface.

Asked by Petra Vogel · Sep 12, 2025

What are the minimum system requirements for running docker-mcp?

docker-mcp requires Python 3.12 or higher, a Docker Desktop or Docker Engine installation, and Claude Desktop to be installed and configured via Smithery. The server is added to Claude Desktop’s config file after installation.

Asked by Aaliyah Johnson · Sep 11, 2025

提问

服务配缩器 的替代品