context_ls
Lists all Docker CLI contexts on the host, showing name, description, endpoint, and current status. Helps manage multiple Docker daemon targets.
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 | |||