host_list
List configured Docker hosts and their connection details to determine which daemon to target for management tasks.
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)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "host_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |