Skip to main content
Watch: I Built an AI App Without Leaving Databricks

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 tools4 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 October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • Docker's recommended install path is 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.
  • Latest tag v0.19.0 (2026-10-14) read from the GitHub repo page.
  • The docs page carries no beta/GA label.

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 October 17, 2026.

Sources

Last verified against 4 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.