Skip to content
VS Code

Docker MCP Server for VS Code

io.github.friendlygeorge/docker-mcp-server

MCP server for Docker — containers, health checks, Compose, logs, monitoring for AI agents

client:VS Code transport:stdio runtime:npm

Install Docker MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "docker-host",
      "description": "DOCKER_HOST",
      "password": true
    }
  ],
  "servers": {
    "docker-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@supernova123/docker-mcp-server"
      ],
      "env": {
        "DOCKER_HOST": "${input:docker-host}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Docker MCP Server in other clients