context_list
List all Docker CLI contexts known to the host, returning each context's name, description, docker endpoint, and whether it is the current context.
Instructions
List Docker CLI contexts known to the host running this MCP server.
Contexts are a CLI concept (stored in the docker config dir) letting one CLI target multiple daemons. This server uses whatever DOCKER_HOST / current-context resolved to at startup, so changing contexts only affects future subprocess-based tools, not the docker-py SDK client.
returns: list - One dict per context with at least name, description, dockerEndpoint, and current
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||