f286a9da168ceec80b17eb724d26a9b074ff257esource_git · luisf371/docker-mcp-server · current release
Observed 2026-08-25T14:31:33.247Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {
"listChanged": true
}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
deployFull deploy pipeline: sync files → build → restart containers → fetch logsInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"localPath": {
"type": "string",
"description": "Local directory to deploy"
},
"remotePath": {
"description": "Remote destination path (default: /home/user/app)",
"type": "string"
},
"buildCommand": {
"description": "Optional build command to run after file sync (e.g. 'npm run build')",
"type": "string"
},
"restartCommand": {
"description": "Custom restart command (default: docker compose up -d --build)",
"type": "string"
},
"logLines": {
"description": "Number of log lines to fetch after restart (default: 50)",
"type": "number"
},
"exclude": {
"description": "File patterns to exclude from sync",
"type": "array",
"items": {
"type": "string"
}
},
"composeFile": {
"description": "Compose file name (if not docker-compose.yml)",
"type": "string"
}
},
"required": [
"localPath"
]
} | — | — · — | — |
docker_buildBuild a Docker image on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Build context path on the remote server"
},
"tag": {
"description": "Image tag, e.g. 'myapp:latest'",
"type": "string"
},
"dockerfile": {
"description": "Path to Dockerfile (relative to build context)",
"type": "string"
},
"noCache": {
"description": "Build without cache (default: false)",
"type": "boolean"
}
},
"required": [
"path"
]
} | — | — · — | — |
docker_composeRun a docker compose command on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"subcommand": {
"type": "string",
"description": "Compose subcommand, e.g. 'up -d', 'down', 'ps', 'build'"
},
"path": {
"description": "Directory containing docker-compose.yml on remote",
"type": "string"
},
"file": {
"description": "Compose file name (if not docker-compose.yml)",
"type": "string"
}
},
"required": [
"subcommand"
]
} | — | — · — | — |
docker_compose_logsFetch docker compose logs from the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Directory containing docker-compose.yml on remote"
},
"service": {
"description": "Specific service name (omit for all services)",
"type": "string"
},
"lines": {
"description": "Number of lines to tail (default: 100)",
"type": "number"
},
"since": {
"description": "Show logs since timestamp or relative",
"type": "string"
},
"timestamps": {
"description": "Show timestamps (default: false)",
"type": "boolean"
},
"file": {
"description": "Compose file name (if not docker-compose.yml)",
"type": "string"
}
},
"required": [
"path"
]
} | — | — · — | — |
docker_inspectInspect a Docker container on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"container": {
"type": "string",
"description": "Container name or ID"
}
},
"required": [
"container"
]
} | — | — · — | — |
docker_list_containersList Docker containers on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"all": {
"description": "Include stopped containers (default: false)",
"type": "boolean"
}
}
} | — | — · — | — |
docker_logsFetch logs from a Docker container on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"container": {
"type": "string",
"description": "Container name or ID"
},
"lines": {
"description": "Number of lines to tail (default: 100)",
"type": "number"
},
"since": {
"description": "Show logs since timestamp or relative, e.g. '10m', '2024-01-01T00:00:00'",
"type": "string"
},
"until": {
"description": "Show logs until timestamp or relative",
"type": "string"
},
"timestamps": {
"description": "Show timestamps (default: false)",
"type": "boolean"
}
},
"required": [
"container"
]
} | — | — · — | — |
docker_removeRemove a Docker container on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"container": {
"type": "string",
"description": "Container name or ID"
},
"force": {
"description": "Force remove running container (default: false)",
"type": "boolean"
}
},
"required": [
"container"
]
} | — | — · — | — |
docker_restartRestart a Docker container on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"container": {
"type": "string",
"description": "Container name or ID"
}
},
"required": [
"container"
]
} | — | — · — | — |
docker_runRun a new Docker container on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"image": {
"type": "string",
"description": "Docker image to run"
},
"name": {
"description": "Container name",
"type": "string"
},
"detach": {
"description": "Run in background (default: true)",
"type": "boolean"
},
"ports": {
"description": "Port mappings, e.g. ['8080:80', '443:443']",
"type": "array",
"items": {
"type": "string"
}
},
"volumes": {
"description": "Volume mounts, e.g. ['./data:/data']",
"type": "array",
"items": {
"type": "string"
}
},
"env": {
"description": "Environment variables, e.g. ['NODE_ENV=production']",
"type": "array",
"items": {
"type": "string"
}
},
"command": {
"description": "Command to run in the container",
"type": "string"
}
},
"required": [
"image"
]
} | — | — · — | — |
docker_startStart a Docker container on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"container": {
"type": "string",
"description": "Container name or ID"
}
},
"required": [
"container"
]
} | — | — · — | — |
docker_stopStop a Docker container on the remote serverInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"container": {
"type": "string",
"description": "Container name or ID"
},
"timeout": {
"description": "Seconds to wait before killing (default: 10)",
"type": "number"
}
},
"required": [
"container"
]
} | — | — · — | — |
file_syncSync files from your local machine to the remote server via rsync/scpInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"localPath": {
"type": "string",
"description": "Local directory or file path to sync"
},
"remotePath": {
"description": "Remote destination path (default: /home/user/app)",
"type": "string"
},
"delete": {
"description": "Delete remote files not present locally (default: false)",
"type": "boolean"
},
"exclude": {
"description": "Patterns to exclude, e.g. ['node_modules', '.git']",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"localPath"
]
} | — | — · — | — |
remote_execExecute a command on the remote server via SSHInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "Shell command to execute on the remote server"
},
"workingDir": {
"description": "Working directory on the remote server",
"type": "string"
},
"timeoutMs": {
"description": "Command timeout in milliseconds (default: 120000)",
"type": "number"
}
},
"required": [
"command"
]
} | — | — · — | — |