BASE

Docker Hub MCP

Docker Hub MCP

MCP tools for developers · Free

The official Docker MCP server for searching and inspecting images, repositories, and Docker Hardened Images on Docker Hub.

Also known as: docker/hub-mcp

Resource illustration: Docker Hub MCP

Open resource ↗

What you can use for free

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

Paid features and costs

Docker Hub plans, Hardened Images, and the AI model have separate terms.

Access and limitations

You can use the code under the stated license; servers, APIs, and compute must be provided separately. Docker Hub plans, Hardened Images, and the AI model have separate terms.

Use cases

  • Find an image and check its publisher, tags, and target architecture.
  • Record the chosen image’s digest and check it in a test container.

Example workflow

A possible workflow; this is not a report of hands-on testing.

The official Docker MCP server for searching and inspecting images, repositories, and Docker Hardened Images on Docker Hub.

Before you start

  • A Docker Hub account and container image requirements.

Steps

  1. Find an image and check its publisher, tags, and target architecture.
  2. Record the chosen image’s digest and check it in a test container.
  3. Compare the result with the workflow's goal; after changing the project, run its standard checks.

Check your result

  • The publisher and digest are established; the image version and architecture are suitable.
  • Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.

Choosing Docker Hub MCP

Find an image and check its publisher, tags, and target architecture.

Choose this when

  • Find an image and check its publisher, tags, and target architecture.
  • Record the chosen image’s digest and check it in a test container.

Requirements

  • Configure a PAT for private resources or Hub management; separately configure MCP bearer authentication for HTTP mode.

Things to consider

  • Costs and limits of free use: Docker Hub plans, Hardened Images, and the AI model have separate terms.
  • Terms of use: Apache-2.0 for this repository; connected services, models, and data have separate terms.
  • Without a Hub PAT, the server works with public resources; this does not grant access to private repositories.

Frequently asked questions

What can you use for free in Docker Hub MCP?

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

What additional costs might arise with Docker Hub MCP?

Docker Hub plans, Hardened Images, and the AI model have separate terms.

What terms of use matter for Docker Hub MCP?

Apache-2.0 for this repository; connected services, models, and data have separate terms.

How do you get started with Docker Hub MCP?

Find an image and check its publisher, tags, and target architecture. Record the chosen image’s digest and check it in a test container. Compare the result with the workflow's goal; after changing the project, run its standard checks.

Why does the server need two different tokens?

HUB_PAT_TOKEN authorizes operations as the Docker Hub user. MCP_AUTH_TOKEN protects incoming connections to the MCP HTTP server. These tokens apply to different sides of the connection.

License

Apache-2.0 for this repository; connected services, models, and data have separate terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Docker Hub MCP
  • docker
  • MCP

Sources

Other resources