1.0.1npm · @rog0x/mcp-docker-tools · current release
Observed 2026-08-22T10:17:09.554Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {
"listChanged": true
}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
docker_compose_analyzeAnalyze docker-compose.yml: list services, ports, volumes, networks, health checks, dependencies. Suggest improvements.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The full content of the docker-compose.yml to analyze."
}
},
"required": [
"content"
]
} | — | — · — | — |
docker_container_listList Docker containers with status, ports, image, created time, and resource usage. Can show only running containers or all containers including stopped ones.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"all": {
"default": false,
"description": "If true, show all containers including stopped ones. Defaults to false (running only).",
"type": "boolean"
},
"format": {
"default": "json",
"description": "Output format: 'table' for readable text, 'json' for structured data. Defaults to 'json'.",
"type": "string",
"enum": [
"table",
"json"
]
}
}
} | — | — · — | — |
docker_container_logsGet logs from a Docker container. Supports retrieving the last N lines, filtering by keyword, and including timestamps.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"container": {
"type": "string",
"description": "Container name or ID to get logs from."
},
"tail": {
"default": 100,
"description": "Number of lines to retrieve from the end of logs. Defaults to 100.",
"type": "number"
},
"since": {
"description": "Show logs since a timestamp (e.g., '2024-01-01T00:00:00') or relative duration (e.g., '1h', '30m').",
"type": "string"
},
"until": {
"description": "Show logs until a timestamp or relative duration.",
"type": "string"
},
"filter": {
"description": "Filter log lines to only include those containing this keyword (case-insensitive).",
"type": "string"
},
"timestamps": {
"default": true,
"description": "Include timestamps in log output. Defaults to true.",
"type": "boolean"
}
},
"required": [
"container"
]
} | — | — · — | — |
docker_dockerfile_analyzeAnalyze a Dockerfile for best practices including multi-stage builds, non-root user, .dockerignore usage, layer caching order, image size optimization, and security.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The full content of the Dockerfile to analyze."
},
"checkDockerignore": {
"default": true,
"description": "If true, also checks for common .dockerignore recommendations. Defaults to true.",
"type": "boolean"
}
},
"required": [
"content"
]
} | — | — · — | — |
docker_image_listList Docker images with size, tags, created date, and layer count. Optionally filter by repository name.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"filter": {
"description": "Filter images by repository name (partial match). Leave empty to list all.",
"type": "string"
},
"showDangling": {
"default": false,
"description": "Include dangling (untagged) images. Defaults to false.",
"type": "boolean"
},
"format": {
"default": "json",
"description": "Output format: 'table' or 'json'. Defaults to 'json'.",
"type": "string",
"enum": [
"table",
"json"
]
}
}
} | — | — · — | — |