host_list
Lists Docker hosts that the server can manage, exposing their URLs, read-only settings, and default fallback. Helps you pick a host for other Docker operations.
Instructions
List the Docker hosts configured via DOCKER_MCP_SERVER_HOSTS.
With a single host (or the var unset) this is the one resolved daemon; with several it is
the set that the host argument selects from. The default entry is the one used when
host is omitted; pass a name as the host argument of daemon-backed tools
(system_ping(host=...) checks one entry). The docker-mcp://hosts resource mirrors this
tool.
returns: list[dict] - one per host: name; url (resolved daemon URL, null = docker-py platform default); read_only; non_destructive (blocks destructive calls only); tls (whether a per-host cert dir is configured); default (the omitted-host fallback)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |