registry_get_config
Retrieve an image's configuration details (environment, entrypoint, exposed ports) from a registry without pulling the image.
Instructions
Fetch and parse an image's config blob from a registry without pulling.
Answers "what's inside this image?" — env vars, entrypoint/cmd, workdir, exposed ports, user,
labels, layer history (what registry_inspect_manifest only points at via config.digest).
Resolves in up to three hops: manifest -> (if multi-platform) the platform entry's manifest
-> the config blob.
args:
image - Image ref, e.g. "ghcr.io/org/repo"; :tag/@digest is stripped — pass via reference
reference - Tag or digest (default "latest")
platform - Platform to select from a multi-platform image, "os/arch[/variant]"
(default "linux/amd64"); ignored for single-platform images
username - Optional registry username (overrides DOCKER_MCP_SERVER_REGISTRY_USERNAME)
password - Optional registry password/token (overrides DOCKER_MCP_SERVER_REGISTRY_PASSWORD)
returns: dict - {"name", "registry", "reference", "platform", "config_digest", "config": };
platform is the selected platform (None if single-platform)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| password | No | ||
| platform | No | linux/amd64 | |
| username | No | ||
| reference | No | latest |