# Docker Hub

Connects LLMs to the Docker Hub API to search container images, inspect registries, and manage repositories through plain prompts.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: docker
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/docker/hub-mcp
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/docker-hub

## What it does

This server connects AI clients to the Docker Hub API. Without credentials, it retrieves public container metadata and finds base images. Supplying a `HUB_PAT_TOKEN` lets the model inspect and modify your private repositories.

Running the project requires Node.js 22+ alongside Docker. You build the package locally using `npm install` followed by `npm run build`. It runs over `stdio` by default or serves HTTP requests on port 3000.

The HTTP transport fails closed: the process refuses to start unless you set `MCP_AUTH_TOKEN` or explicitly bypass authentication.

## Requirements
- Needs: Docker
- Works with: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- find optimal container base images for your project stack
- check public Docker Hub tags and build metadata
- manage registry repositories using an access token

## Example prompts
- Find the official Node.js Docker image built on Alpine
- Check recent tags for the public python repository
- List my Docker Hub repositories using my configured PAT

## Similar
- [pp-docker-hub](https://affpapa.org/en/nevibecode/skills/pp-docker-hub.md) — skill · 295 installs
- [docker-sandboxes-kits](https://affpapa.org/en/nevibecode/skills/docker-sandboxes-kits.md) — skill · 1100 installs
- [docker-docs](https://affpapa.org/en/nevibecode/skills/docker-docs.md) — skill · 623 installs
- [docker-essentials](https://affpapa.org/en/nevibecode/skills/docker-essentials.md) — skill · 166 installs
- [Docker MCP Server](https://affpapa.org/en/nevibecode/mcp/docker-mcp-server.md) — MCP server · ★ 13 repo stars
- [docker-expert](https://affpapa.org/en/nevibecode/skills/sickn33-docker-expert.md) — skill · 27500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
