MCP.so
登录

docker-mcp MCP Server

@QuantGeekDev

基本信息

分类

云与基础设施

许可证

MIT

传输方式

stdio

作者

QuantGeekDev

关于 docker-mcp MCP Server

A docker MCP Server (modelcontextprotocol)

docker-mcp MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "docker-mcp": {
      "command": "uvx",
      "args": [
        "docker-mcp"
      ]
    }
  }
}

docker-mcp MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is 🐳 docker-mcp?

🐳 docker-mcp is a Model Context Protocol (MCP) server that enables Claude AI to manage Docker containers and Docker Compose stacks directly from the Claude Desktop interface. It is designed for developers who want to control their Docker environment using natural language commands through Claude.

How to use 🐳 docker-mcp?

Add the server configuration to your Claude Desktop config file (MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%/Claude/claude_desktop_config.json) using the command uvx docker-mcp. Alternatively, install it automatically via Smithery with npx @smithery/cli install docker-mcp --client claude. Prerequisites include UV package manager, Python 3.12+, Docker Desktop or Docker Engine, and Claude Desktop.

Key features of 🐳 docker-mcp

  • Container creation and instantiation (create-container)
  • Docker Compose stack deployment (deploy-compose)
  • Container logs retrieval (get-logs)
  • Container listing and status monitoring (list-containers)

Use cases of 🐳 docker-mcp

  • Deploying a multi-service Docker Compose stack through a chat interface.
  • Inspecting container logs to debug errors without leaving Claude.
  • Creating and managing containers on-demand with natural language prompts.
  • Listing all running containers and checking their status via conversation.

常见问题

1

What are the prerequisites for running 🐳 docker-mcp?

You need UV, Python 3.12+, Docker Desktop or Docker Engine, and Claude Desktop. The server is installed via `uvx docker-mcp`.

2

What are the current limitations of 🐳 docker-mcp?

The README lists several missing features: no built-in environment variable support, no volume or network management, no container health checks, no restart policies, and no resource limits.

3

How do I install 🐳 docker-mcp via Smithery?

Run `npx @smithery/cli install docker-mcp --client claude` in your terminal. This automatically configures the server for Claude Desktop.

4

What tools does 🐳 docker-mcp provide?

It offers four tools: `create-container`, `deploy-compose`, `get-logs`, and `list-containers`. Each tool accepts specific JSON parameters as shown in the README.

5

Does 🐳 docker-mcp support authentication?

No. The server connects to your local Docker daemon and does not include any authentication mechanism. It relies on the user's local Docker setup.

评论

云与基础设施 分类下的更多 MCP 服务器