# Docker Hub MCP Server

> Lets LLMs search and manage Docker Hub images and

- Page on StartupList: https://startuplist.tech/launches/docker-hub-mcp-server
- Website: https://github.com/docker/hub-mcp
- Category: MCP Servers
- Price: Open source
- Company: Docker (https://startuplist.tech/companies/docker)
- Used for: Discover new tools, Answer questions with AI, Store data

## At a glance

- The problem it solves: Developers and their AI assistants lack enough context about Docker Hub images, so they struggle to find the right image and waste time searching by hand
- Who it's for: Businesses (B2B)
- How it finds customers: Marketplaces and integrations

## About

The Docker Hub MCP Server is a Model Context Protocol server that wraps Docker Hub APIs so LLM clients can use them. It lets an assistant search for images, check tags and repository details, and, when authenticated, manage repositories in your namespace using natural language.

Developers building with containers, especially in AI and LLM-powered workflows, often lack enough context about the large range of images on Docker Hub. Without that context, LLMs struggle to recommend the right image, and developers spend time searching by hand.

The server runs locally and can be started over stdio or HTTP. By default it only queries public Docker Hub content. To manage your own repositories, you supply a Docker Hub Personal Access Token through the HUB_PAT_TOKEN environment variable and, optionally, your username. The README sets out a clear setup path: build with npm, then add the server to an MCP client such as Claude Desktop or VS Code, or to Docker Ask Gordon.

The HTTP transport binds to the loopback address by default and refuses to start without a bearer token unless you explicitly opt out. The README warns that the HTTP transport uses the operator's Personal Access Token for every call, so anyone who can reach the endpoint can act as that Docker Hub identity.

Typical tasks include searching for official nginx images, finding minimal Node.js images, looking up the latest tag of a base image, listing repositories in your namespace, finding repositories that have not been pushed to recently, and pulling or pushing images.

The project is for developers who already use Docker and want an assistant to help them choose images or handle Docker Hub work. Prerequisites are Docker, Node.js 22 or later, and an optional Personal Access Token. The code is published under the Apache-2.0 licence on GitHub.

## Links

- [Docker Hub MCP Server on StartupList](https://startuplist.tech/launches/docker-hub-mcp-server)
- [Website](https://github.com/docker/hub-mcp)
