Skip to main content
Watch: Grok Bot Built My AI Video Arena While I Tested 8 Models

Cloud and hosting - official Docker server

Docker Hub MCP server

Local MCP server that exposes Docker Hub APIs so an agent can discover images, read tags and repository details, and manage repositories in a Docker Hub namespace. It runs locally with API key auth.

Last verified 14 tools5 sources

Install

VS Code

JSON
{
     "mcpServers": {
       "docker-hub": {
         "command": "node",
         "args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"]
       }
     }
}

Generic

JSON
{
  "mcpServers": {
    "docker-hub": {
      "command": "node",
      "args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio", "--username=YOUR_DOCKER_HUB_USERNAME"],
      "env": {
        "HUB_PAT_TOKEN": "YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN"
      }
    }
  }
}

Tools

search
Search content on Docker Hub
get-namespaces
Get organizations/namespaces for a user
list-repositories-by-namespace
Lists repositories under namespace
get-repository-info
Gets repository info
check-repository
Check repository
check-repository-tag
Check repository tag
check-repository-tags
Check repository tags
create-repository
Creates a new repository
update-repository-info
Updates repository info
list-repository-tags
List repository tags
read-repository-tag
Read repository tag
get-repository-dockerfile
Gets Dockerfile for repository
set-repository-dockerfile
Sets Dockerfile for repository
docker-hardened-images
Lists available Docker Hardened Images in specified namespace

As documented on November 1, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • Docker's docs install it by adding Docker Hub from the MCP Toolkit catalog in Docker Desktop; the JSON snippets run a locally built clone (npm install, npm run build).
  • Without a Docker Hub personal access token it can only read public content.
  • The HTTP transport binds to loopback and requires MCP_AUTH_TOKEN by default.
  • Docker Hardened Images access requires a subscription.
  • The docs list 14 tools; 14 shown, named as in the Docker docs reference table.
  • The repo README lists 11 tools with underscore names (for example get_namespaces).
  • Latest tag dockerhub-mcp/v0.19.0 (2026-10-14) read from the GitHub tags page.

FAQ

What does the Docker Hub MCP server do?

Local MCP server that exposes Docker Hub APIs so an agent can discover images, read tags and repository details, and manage repositories in a Docker Hub namespace. The vendor documents 14 tools, including search, get-namespaces, list-repositories-by-namespace and get-repository-info.

How do I add the Docker Hub MCP server to VS Code?

Docker documents a VS Code config; copy it from the VS Code section of this page. Snippets for Generic are there too.

Does the Docker Hub MCP server need authentication?

Yes, API key. Transport: stdio, Streamable HTTP. Status: Unlabelled, last checked November 1, 2026.

Sources

Last verified against 5 Docker pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.