mcpField
M
MCP Server Docker

MCP Server Docker

Local
github.com/milgelrenCloud & Infra0Updated 83w ago

About MCP Server Docker

MCP Server Docker connects to the Docker daemon running in the current environment. It is for MCP clients that need access to Docker; setup requires Docker to be installed and running.

Key features

  1. 01Connects to the current Docker daemon

Use cases

  1. 01Connecting an MCP client to Docker

MCP support

It is an MCP server that connects to Docker and makes that connection available to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"docker-milgelren": {
"command": "npx",
"args": [
"-y",
"mcp-server-docker"
]
}
}
}
Run commandnpx -y mcp-server-docker

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-server-docker

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
commandstringYesThe command to execute in the container
servicestringNoDocker Compose service name (optional, uses default: laravel_app if not specified)

Details

From the project README

MCP Server Docker

MCP Server that can connect to docker

Usage with Claude Desktop

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

The server will automatically connect to your current docker daemon. Make sure you have docker installed and running

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.