← Docker MCP Server

Docker MCP Server 1.0.1

npm · mcp-docker-server · current release

10
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-08-22T09:11:01.695Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.

Server capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools 10

ToolCategoryAnnotationsRisk
container_logsGet logs from a Docker container.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Container ID or name"
    },
    "tail": {
      "type": "number",
      "default": 100,
      "description": "Number of lines from the end"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
container_statsGet CPU, memory, and network stats for a running Docker container.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
exec_commandExecute a command inside a running Docker container.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Container ID or name"
    },
    "command": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Command and arguments, e.g. ['ls', '-la']"
    }
  },
  "required": [
    "id",
    "command"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
list_containersList Docker containers. Set all=true to include stopped containers.
Input schema
{
  "type": "object",
  "properties": {
    "all": {
      "type": "boolean",
      "default": false,
      "description": "Include stopped containers"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
list_imagesList Docker images on the host.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
remove_containerRemove a Docker container. Use force=true to remove running containers.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Container ID or name"
    },
    "force": {
      "type": "boolean",
      "default": false,
      "description": "Force remove running container"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
remove_imageRemove a Docker image. Use force=true to force removal.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Image ID or tag"
    },
    "force": {
      "type": "boolean",
      "default": false,
      "description": "Force remove"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
restart_containerRestart a Docker container.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
start_containerStart a stopped Docker container.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
stop_containerStop a running Docker container.
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.