Docker MCP Server for Cloudflare Workers
96 tools available in the Docker MCP server. Each tool can be called by AI assistants to perform specific actions.
docker_start_containerStart a stopped container.
Args:
Returns: Confirmation of start.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
}
}docker_list_containersList Docker containers.
Returns a list of containers. By default only running containers are shown.
Args:
Returns: List of containers with ID, names, image, status, state, and ports.
{
"type": "object",
"properties": {
"all": {
"type": "boolean",
"default": false,
"description": "Show all containers (default shows just running)"
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_inspect_containerGet detailed information about a container.
Args:
Returns: Detailed container configuration and state.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_create_containerCreate a new container.
Args:
Returns: Created container ID and any warnings.
{
"type": "object",
"required": [
"image"
],
"properties": {
"cmd": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command to run"
},
"env": {
"type": "array",
"items": {
"type": "string"
},
"description": "Environment variables (KEY=VALUE)"
},
"tty": {
"type": "boolean",
"description": "Allocate TTY"
},
"name": {
"type": "string",
"description": "Container name"
},
"user": {
"type": "string",
"description": "User to run as"
},
"image": {
"type": "string",
"description": "Image to use"
},
"ports": {
"type": "object",
"description": "Port mappings"
},
"labels": {
"type": "object",
"description": "Container labels"
},
"volumes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Volume bindings"
},
"hostname": {
"type": "string",
"description": "Container hostname"
},
"workingDir": {
"type": "string",
"description": "Working directory"
}
}
}docker_stop_containerStop a running container.
Args:
Returns: Confirmation of stop.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"timeout": {
"type": "integer",
"default": 10,
"minimum": 0,
"description": "Seconds to wait before killing"
}
}
}docker_restart_containerRestart a container.
Args:
Returns: Confirmation of restart.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"timeout": {
"type": "integer",
"default": 10,
"minimum": 0,
"description": "Seconds to wait before killing"
}
}
}docker_kill_containerKill a running container (send signal).
Args:
Returns: Confirmation of kill.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"signal": {
"type": "string",
"default": "SIGKILL",
"description": "Signal to send"
}
}
}docker_pause_containerPause a running container.
Args:
Returns: Confirmation of pause.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
}
}docker_unpause_containerUnpause a paused container.
Args:
Returns: Confirmation of unpause.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
}
}docker_remove_containerRemove a container.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force removal of running container"
},
"removeVolumes": {
"type": "boolean",
"default": false,
"description": "Remove associated volumes"
}
}
}docker_rename_containerRename a container.
Args:
Returns: Confirmation of rename.
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or current name"
},
"name": {
"type": "string",
"description": "New name for the container"
}
}
}docker_get_logsGet container logs.
Args:
Returns: Container log output.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"tail": {
"type": "integer",
"default": 100,
"minimum": 1,
"description": "Number of lines to show"
},
"timestamps": {
"type": "boolean",
"default": false,
"description": "Include timestamps"
}
}
}docker_get_statsGet container resource usage statistics.
Args:
Returns: CPU, memory, network, and I/O statistics.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_get_topGet running processes in a container.
Args:
Returns: List of processes running in the container.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"psArgs": {
"type": "string",
"default": "-ef",
"description": "Arguments to pass to ps"
}
}
}docker_get_changesGet filesystem changes in a container.
Args:
Returns: List of changed files (0=Modified, 1=Added, 2=Deleted).
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
}
}docker_wait_containerWait for a container to stop.
Args:
Returns: Exit code and any error message.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
}
}docker_prune_containersRemove all stopped containers.
Returns: List of deleted container IDs and space reclaimed.
{
"type": "object",
"properties": {}
}docker_update_containerUpdate container resource limits.
Args:
Returns: Warnings from the update.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"memory": {
"type": "integer",
"description": "Memory limit in bytes"
},
"cpuQuota": {
"type": "integer",
"description": "CPU CFS quota"
},
"cpuPeriod": {
"type": "integer",
"description": "CPU CFS period"
},
"cpuShares": {
"type": "integer",
"description": "CPU shares (relative weight)"
},
"cpusetCpus": {
"type": "string",
"description": "CPUs to use"
},
"cpusetMems": {
"type": "string",
"description": "Memory nodes to use"
},
"memorySwap": {
"type": "integer",
"description": "Total memory limit"
}
}
}docker_execExecute a command in a running container.
This is a convenience tool that creates and starts an exec instance.
Args:
Returns: Command output.
{
"type": "object",
"required": [
"containerId",
"cmd"
],
"properties": {
"cmd": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command to execute"
},
"env": {
"type": "array",
"items": {
"type": "string"
},
"description": "Environment variables"
},
"tty": {
"type": "boolean",
"default": false,
"description": "Allocate a TTY"
},
"user": {
"type": "string",
"description": "User to run as"
},
"privileged": {
"type": "boolean",
"default": false,
"description": "Run in privileged mode"
},
"workingDir": {
"type": "string",
"description": "Working directory"
},
"containerId": {
"type": "string",
"description": "Container ID or name"
}
}
}docker_inspect_secretGet detailed information about a secret.
Args:
Returns: Secret metadata (not the secret data itself).
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Secret ID or name"
}
}
}docker_create_execCreate an exec instance in a container.
This creates an exec instance that can be started later.
Args:
Returns: Exec instance ID.
{
"type": "object",
"required": [
"containerId",
"cmd"
],
"properties": {
"cmd": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command to execute"
},
"env": {
"type": "array",
"items": {
"type": "string"
},
"description": "Environment variables"
},
"tty": {
"type": "boolean",
"default": false,
"description": "Allocate a TTY"
},
"user": {
"type": "string",
"description": "User to run as"
},
"detachKeys": {
"type": "string",
"description": "Escape keys for detach"
},
"privileged": {
"type": "boolean",
"default": false,
"description": "Run in privileged mode"
},
"workingDir": {
"type": "string",
"description": "Working directory"
},
"attachStdin": {
"type": "boolean",
"default": false,
"description": "Attach stdin"
},
"containerId": {
"type": "string",
"description": "Container ID or name"
},
"attachStderr": {
"type": "boolean",
"default": true,
"description": "Attach stderr"
},
"attachStdout": {
"type": "boolean",
"default": true,
"description": "Attach stdout"
}
}
}docker_start_execStart a previously created exec instance.
Args:
Returns: Command output (if not detached).
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Exec instance ID"
},
"tty": {
"type": "boolean",
"default": false,
"description": "Allocate a TTY"
},
"detach": {
"type": "boolean",
"default": false,
"description": "Detach from the exec"
}
}
}docker_inspect_execGet information about an exec instance.
Args:
Returns: Exec instance details including running state and exit code.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Exec instance ID"
}
}
}docker_resize_execResize the TTY of an exec instance.
Args:
Returns: Confirmation of resize.
{
"type": "object",
"required": [
"id",
"height",
"width"
],
"properties": {
"id": {
"type": "string",
"description": "Exec instance ID"
},
"width": {
"type": "integer",
"minimum": 1,
"description": "TTY width"
},
"height": {
"type": "integer",
"minimum": 1,
"description": "TTY height"
}
}
}docker_hub_loginLogin to Docker Hub.
Args:
Returns: Authentication token.
{
"type": "object",
"required": [
"username",
"password"
],
"properties": {
"password": {
"type": "string",
"description": "Docker Hub password"
},
"username": {
"type": "string",
"description": "Docker Hub username"
}
}
}docker_hub_list_reposList repositories in a Docker Hub namespace.
Args:
Returns: List of repositories with name, description, stars, and pull count.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Page number"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"pageSize": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Items per page"
},
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
}
}
}docker_hub_get_repoGet details of a Docker Hub repository.
Args:
Returns: Repository details including description, stars, and pull count.
{
"type": "object",
"required": [
"namespace",
"repository"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_list_tagsList tags for a Docker Hub repository.
Args:
Returns: List of tags with name, size, and last updated time.
{
"type": "object",
"required": [
"namespace",
"repository"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Page number"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"pageSize": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Items per page"
},
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_get_tagGet details of a specific tag.
Args:
Returns: Tag details including images for each architecture.
{
"type": "object",
"required": [
"namespace",
"repository",
"tag"
],
"properties": {
"tag": {
"type": "string",
"description": "Tag name"
},
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_delete_tagDelete a tag from a Docker Hub repository.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"namespace",
"repository",
"tag"
],
"properties": {
"tag": {
"type": "string",
"description": "Tag name"
},
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_list_webhooksList webhooks for a Docker Hub repository.
Args:
Returns: List of webhooks with name and URL.
{
"type": "object",
"required": [
"namespace",
"repository"
],
"properties": {
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_create_webhookCreate a webhook for a Docker Hub repository.
Args:
Returns: Created webhook details.
{
"type": "object",
"required": [
"namespace",
"repository",
"name",
"webhookUrl"
],
"properties": {
"name": {
"type": "string",
"description": "Webhook name"
},
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
},
"webhookUrl": {
"type": "string",
"description": "URL to call"
}
}
}docker_hub_delete_webhookDelete a webhook from a Docker Hub repository.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"namespace",
"repository",
"webhookId"
],
"properties": {
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"webhookId": {
"type": "integer",
"description": "Webhook ID"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_build_settingsGet automated build settings for a repository.
Args:
Returns: Build settings including build tags and autotests configuration.
{
"type": "object",
"required": [
"namespace",
"repository"
],
"properties": {
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_build_historyGet build history for a repository.
Args:
Returns: List of builds with status, tag, and timestamps.
{
"type": "object",
"required": [
"namespace",
"repository"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Page number"
},
"pageSize": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Items per page"
},
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
}
}
}docker_hub_trigger_buildTrigger an automated build for a repository.
Args:
Returns: Confirmation of build trigger.
{
"type": "object",
"required": [
"namespace",
"repository"
],
"properties": {
"namespace": {
"type": "string",
"description": "Docker Hub namespace"
},
"repository": {
"type": "string",
"description": "Repository name"
},
"sourceName": {
"type": "string",
"default": "main",
"description": "Source name"
},
"sourceType": {
"enum": [
"Branch",
"Tag"
],
"type": "string",
"default": "Branch",
"description": "Source type"
}
}
}docker_list_imagesList Docker images.
Args:
Returns: List of images with ID, tags, size, and creation time.
{
"type": "object",
"properties": {
"all": {
"type": "boolean",
"default": false,
"description": "Show all images"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"dangling": {
"type": "boolean",
"description": "Show only dangling images"
}
}
}docker_inspect_imageGet detailed information about an image.
Args:
Returns: Detailed image configuration and metadata.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Image name or ID"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_get_image_historyGet the history of an image (layers).
Args:
Returns: List of image layers with creation info.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Image name or ID"
}
}
}docker_pull_imagePull an image from a registry.
Args:
Returns: Pull progress and result.
{
"type": "object",
"required": [
"image"
],
"properties": {
"tag": {
"type": "string",
"default": "latest",
"description": "Tag to pull"
},
"image": {
"type": "string",
"description": "Image name"
},
"password": {
"type": "string",
"description": "Registry password"
},
"username": {
"type": "string",
"description": "Registry username"
}
}
}docker_push_imagePush an image to a registry.
Args:
Returns: Push progress and result.
{
"type": "object",
"required": [
"name",
"username",
"password"
],
"properties": {
"tag": {
"type": "string",
"description": "Tag to push"
},
"name": {
"type": "string",
"description": "Image name"
},
"password": {
"type": "string",
"description": "Registry password"
},
"username": {
"type": "string",
"description": "Registry username"
}
}
}docker_tag_imageTag an image.
Args:
Returns: Confirmation of tagging.
{
"type": "object",
"required": [
"name",
"repo"
],
"properties": {
"tag": {
"type": "string",
"default": "latest",
"description": "Target tag"
},
"name": {
"type": "string",
"description": "Source image name or ID"
},
"repo": {
"type": "string",
"description": "Target repository name"
}
}
}docker_swarm_leaveLeave the swarm.
Args:
Returns: Confirmation of leave.
{
"type": "object",
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Force leave"
}
}
}docker_remove_imageRemove an image.
Args:
Returns: List of deleted/untagged layers.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Image name or ID"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force removal"
},
"noPrune": {
"type": "boolean",
"default": false,
"description": "Don't delete untagged parents"
}
}
}docker_search_imagesSearch Docker Hub for images.
Args:
Returns: List of matching images from Docker Hub.
{
"type": "object",
"required": [
"term"
],
"properties": {
"term": {
"type": "string",
"description": "Search term"
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Maximum results"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_prune_imagesRemove unused images.
Args:
Returns: List of deleted images and space reclaimed.
{
"type": "object",
"properties": {
"dangling": {
"type": "boolean",
"default": true,
"description": "Only remove dangling images"
}
}
}docker_list_networksList Docker networks.
Args:
Returns: List of networks with ID, name, driver, and scope.
{
"type": "object",
"properties": {
"scope": {
"enum": [
"swarm",
"global",
"local"
],
"type": "string",
"description": "Filter by scope"
},
"driver": {
"type": "string",
"description": "Filter by driver"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_inspect_networkGet detailed information about a network.
Args:
Returns: Detailed network configuration including connected containers.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Network ID or name"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_create_networkCreate a new network.
Args:
Returns: Created network ID.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Network name"
},
"driver": {
"type": "string",
"default": "bridge",
"description": "Network driver"
},
"labels": {
"type": "object",
"description": "Network labels"
},
"subnet": {
"type": "string",
"description": "Subnet in CIDR format"
},
"gateway": {
"type": "string",
"description": "Gateway address"
},
"ipRange": {
"type": "string",
"description": "IP range to allocate from"
},
"internal": {
"type": "boolean",
"description": "Restrict external access"
},
"attachable": {
"type": "boolean",
"description": "Enable manual container attachment"
},
"enableIPv6": {
"type": "boolean",
"description": "Enable IPv6"
}
}
}docker_remove_networkRemove a network.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Network ID or name"
}
}
}docker_connect_networkConnect a container to a network.
Args:
Returns: Confirmation of connection.
{
"type": "object",
"required": [
"networkId",
"containerId"
],
"properties": {
"aliases": {
"type": "array",
"items": {
"type": "string"
},
"description": "Network aliases"
},
"networkId": {
"type": "string",
"description": "Network ID or name"
},
"containerId": {
"type": "string",
"description": "Container ID or name"
},
"ipv4Address": {
"type": "string",
"description": "IPv4 address to assign"
},
"ipv6Address": {
"type": "string",
"description": "IPv6 address to assign"
}
}
}docker_disconnect_networkDisconnect a container from a network.
Args:
Returns: Confirmation of disconnection.
{
"type": "object",
"required": [
"networkId",
"containerId"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Force disconnection"
},
"networkId": {
"type": "string",
"description": "Network ID or name"
},
"containerId": {
"type": "string",
"description": "Container ID or name"
}
}
}docker_prune_networksRemove all unused networks.
Returns: List of deleted network IDs.
{
"type": "object",
"properties": {}
}docker_list_pluginsList installed Docker plugins.
Args:
Returns: List of plugins with name, enabled status, and description.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"enabled": {
"type": "boolean",
"description": "Filter by enabled status"
}
}
}docker_inspect_pluginGet detailed information about a plugin.
Args:
Returns: Detailed plugin configuration.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Plugin name"
}
}
}docker_plugin_privilegesGet privileges required by a plugin.
Args:
Returns: List of privileges required by the plugin.
{
"type": "object",
"required": [
"remote"
],
"properties": {
"remote": {
"type": "string",
"description": "Plugin image reference"
}
}
}docker_swarm_unlock_keyGet the swarm unlock key.
Returns: The unlock key for the swarm.
{
"type": "object",
"properties": {}
}docker_swarm_unlockUnlock a locked swarm.
Args:
Returns: Confirmation of unlock.
{
"type": "object",
"required": [
"unlockKey"
],
"properties": {
"unlockKey": {
"type": "string",
"description": "The unlock key"
}
}
}docker_install_pluginInstall a plugin from a registry.
Args:
Returns: Confirmation of installation.
{
"type": "object",
"required": [
"remote"
],
"properties": {
"name": {
"type": "string",
"description": "Local name for the plugin"
},
"remote": {
"type": "string",
"description": "Plugin image reference"
},
"grantAllPermissions": {
"type": "boolean",
"default": false,
"description": "Grant all permissions"
}
}
}docker_enable_pluginEnable a plugin.
Args:
Returns: Confirmation of enable.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Plugin name"
},
"timeout": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Timeout in seconds"
}
}
}docker_disable_pluginDisable a plugin.
Args:
Returns: Confirmation of disable.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Plugin name"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force disable"
}
}
}docker_remove_pluginRemove a plugin.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Plugin name"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force removal"
}
}
}docker_upgrade_pluginUpgrade a plugin.
Args:
Returns: Confirmation of upgrade.
{
"type": "object",
"required": [
"name",
"remote"
],
"properties": {
"name": {
"type": "string",
"description": "Plugin name"
},
"remote": {
"type": "string",
"description": "New plugin image reference"
},
"grantAllPermissions": {
"type": "boolean",
"default": false,
"description": "Grant all permissions"
}
}
}docker_configure_pluginConfigure a plugin.
Args:
Returns: Confirmation of configuration.
{
"type": "object",
"required": [
"name",
"settings"
],
"properties": {
"name": {
"type": "string",
"description": "Plugin name"
},
"settings": {
"type": "array",
"items": {
"type": "string"
},
"description": "Plugin settings (KEY=VALUE)"
}
}
}docker_list_secretsList Docker secrets (Swarm mode).
Args:
Returns: List of secrets with ID and name.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_create_secretCreate a new secret.
Args:
Returns: Created secret ID.
{
"type": "object",
"required": [
"name",
"data"
],
"properties": {
"data": {
"type": "string",
"description": "Secret data"
},
"name": {
"type": "string",
"description": "Secret name"
},
"labels": {
"type": "object",
"description": "Secret labels"
}
}
}docker_remove_secretRemove a secret.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Secret ID or name"
}
}
}docker_list_configsList Docker configs (Swarm mode).
Args:
Returns: List of configs with ID and name.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_inspect_configGet detailed information about a config.
Args:
Returns: Config details including data.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Config ID or name"
}
}
}docker_create_configCreate a new config.
Args:
Returns: Created config ID.
{
"type": "object",
"required": [
"name",
"data"
],
"properties": {
"data": {
"type": "string",
"description": "Config data"
},
"name": {
"type": "string",
"description": "Config name"
},
"labels": {
"type": "object",
"description": "Config labels"
}
}
}docker_remove_configRemove a config.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Config ID or name"
}
}
}docker_swarm_inspectGet information about the swarm.
Returns: Swarm configuration and status.
{
"type": "object",
"properties": {}
}docker_swarm_initInitialize a new swarm.
Args:
Returns: Node ID of the swarm manager.
{
"type": "object",
"properties": {
"listenAddr": {
"type": "string",
"default": "0.0.0.0:2377",
"description": "Listen address"
},
"dataPathAddr": {
"type": "string",
"description": "Data path address"
},
"advertiseAddr": {
"type": "string",
"description": "Advertise address"
},
"forceNewCluster": {
"type": "boolean",
"default": false,
"description": "Force create a new cluster"
}
}
}docker_swarm_joinJoin an existing swarm.
Args:
Returns: Confirmation of join.
{
"type": "object",
"required": [
"joinToken",
"remoteAddrs"
],
"properties": {
"joinToken": {
"type": "string",
"description": "Token to join the swarm"
},
"listenAddr": {
"type": "string",
"default": "0.0.0.0:2377",
"description": "Listen address"
},
"remoteAddrs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Addresses of existing managers"
},
"dataPathAddr": {
"type": "string",
"description": "Data path address"
},
"advertiseAddr": {
"type": "string",
"description": "Advertise address"
}
}
}docker_list_nodesList swarm nodes.
Args:
Returns: List of swarm nodes.
{
"type": "object",
"properties": {
"role": {
"enum": [
"worker",
"manager"
],
"type": "string",
"description": "Filter by role"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_inspect_nodeGet detailed information about a node.
Args:
Returns: Detailed node information.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Node ID"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_remove_nodeRemove a node from the swarm.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Node ID"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force removal"
}
}
}docker_update_nodeUpdate a node's configuration.
Args:
Returns: Confirmation of update.
{
"type": "object",
"required": [
"id",
"version",
"role",
"availability"
],
"properties": {
"id": {
"type": "string",
"description": "Node ID"
},
"name": {
"type": "string",
"description": "Node name"
},
"role": {
"enum": [
"worker",
"manager"
],
"type": "string",
"description": "Node role"
},
"labels": {
"type": "object",
"description": "Node labels"
},
"version": {
"type": "integer",
"description": "Node version"
},
"availability": {
"enum": [
"active",
"pause",
"drain"
],
"type": "string",
"description": "Node availability"
}
}
}docker_list_servicesList swarm services.
Args:
Returns: List of swarm services.
{
"type": "object",
"properties": {
"mode": {
"enum": [
"replicated",
"global"
],
"type": "string",
"description": "Filter by mode"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_inspect_serviceGet detailed information about a service.
Args:
Returns: Detailed service configuration.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Service ID or name"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_create_serviceCreate a new swarm service.
Args:
Returns: Created service ID.
{
"type": "object",
"required": [
"name",
"image"
],
"properties": {
"cmd": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command to run"
},
"env": {
"type": "array",
"items": {
"type": "string"
},
"description": "Environment variables"
},
"name": {
"type": "string",
"description": "Service name"
},
"image": {
"type": "string",
"description": "Image to use"
},
"global": {
"type": "boolean",
"description": "Run one task per node"
},
"labels": {
"type": "object",
"description": "Service labels"
},
"replicas": {
"type": "integer",
"minimum": 0,
"description": "Number of replicas"
}
}
}docker_remove_serviceRemove a swarm service.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Service ID or name"
}
}
}docker_service_logsGet logs from a swarm service.
Args:
Returns: Service log output.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Service ID or name"
},
"tail": {
"type": "integer",
"default": 100,
"minimum": 1,
"description": "Number of lines"
},
"timestamps": {
"type": "boolean",
"default": false,
"description": "Include timestamps"
}
}
}docker_list_tasksList swarm tasks.
Args:
Returns: List of tasks.
{
"type": "object",
"properties": {
"node": {
"type": "string",
"description": "Filter by node ID"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"service": {
"type": "string",
"description": "Filter by service ID"
},
"desiredState": {
"enum": [
"running",
"shutdown",
"accepted"
],
"type": "string",
"description": "Filter by desired state"
}
}
}docker_inspect_taskGet detailed information about a task.
Args:
Returns: Detailed task information.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Task ID"
}
}
}docker_system_infoGet Docker system-wide information.
Args:
Returns: System information including containers, images, kernel, OS, CPU, memory.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_versionGet Docker version information.
Returns: Docker version, API version, Go version, OS, architecture.
{
"type": "object",
"properties": {}
}docker_pingPing the Docker daemon.
Returns: "OK" if the daemon is responsive.
{
"type": "object",
"properties": {}
}docker_disk_usageGet Docker disk usage information.
Args:
Returns: Disk usage for images, containers, volumes, and build cache.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}docker_eventsGet Docker events.
Args:
Returns: List of Docker events.
{
"type": "object",
"properties": {
"type": {
"enum": [
"container",
"image",
"volume",
"network",
"daemon",
"plugin",
"node",
"service",
"secret",
"config"
],
"type": "string",
"description": "Filter by event type"
},
"since": {
"type": "integer",
"description": "Unix timestamp to start from"
},
"until": {
"type": "integer",
"description": "Unix timestamp to end at"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_authAuthenticate with a registry.
Args:
Returns: Authentication status.
{
"type": "object",
"required": [
"username",
"password"
],
"properties": {
"password": {
"type": "string",
"description": "Registry password"
},
"username": {
"type": "string",
"description": "Registry username"
},
"serveraddress": {
"type": "string",
"description": "Registry address"
}
}
}docker_list_volumesList Docker volumes.
Args:
Returns: List of volumes with name, driver, scope, and mountpoint.
{
"type": "object",
"properties": {
"driver": {
"type": "string",
"description": "Filter by driver"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"dangling": {
"type": "boolean",
"description": "Filter by dangling status"
}
}
}docker_inspect_volumeGet detailed information about a volume.
Args:
Returns: Detailed volume configuration.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Volume name"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}docker_create_volumeCreate a new volume.
Args:
Returns: Created volume details.
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Volume name"
},
"driver": {
"type": "string",
"default": "local",
"description": "Volume driver"
},
"labels": {
"type": "object",
"description": "Volume labels"
},
"driverOpts": {
"type": "object",
"description": "Driver-specific options"
}
}
}docker_remove_volumeRemove a volume.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Volume name"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force removal"
}
}
}docker_prune_volumesRemove all unused volumes.
Returns: List of deleted volume names and space reclaimed.
{
"type": "object",
"properties": {}
}