Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ☁️ Cloud Platforms
  3. Hub MCP
Hub MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 4:18:27 PM

Hub MCP

User RatingsBe the first to rate and review this MCP server!Ownership verifiedThe owner proved control of this listing via a GitHub README, site badge, or DNS TXT record.
View Repository163 GitHub StarsTotal stargazers on GitHub for the source repository (163 stars).Visit Website
dockercontainerrepositoriessearchdeveloper-tools

MCP server providing Docker Hub API access for searching and managing repositories and images.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "docker-hub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/inspector"
      ]
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (35) Directory Badge Alternatives☁️ More in Cloud Platforms

Overview

This MCP server interfaces with Docker Hub APIs to enable LLMs and AI tools to search repositories, retrieve repository info, check tags, and manage repositories. It supports authenticated and unauthenticated access, allowing developers to integrate Docker Hub content discovery and repository management into AI-powered workflows. Use it when you need programmatic, natural language-driven interaction with Docker Hub data.

Use cases

•Search Docker Hub repositories and images with filters
•Retrieve detailed information about Docker repositories
•Check existence of repositories and specific tags
•Create and update Docker repositories programmatically
•Integrate Docker Hub data into AI-powered container workflows

Key features

•Search repositories with advanced filters (architecture, OS, badges, categories)
•List namespaces and repositories under namespaces
•Get repository metadata and check repository/tag existence
•Create and update repository information
•Supports both unauthenticated public access and authenticated user access
•Configurable HTTP and stdio transport modes with security options

Capabilities & Tool Schemas (35) ~481 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Hub MCP.

search

Search repositories and content using Search V4 API

query

Search query parameter (string, required)

architectures

Filter on architectures (string, optional)

badges

Filter by image content type badges (string, optional)

categories

Filter on categories (string, optional)

extension_reviewed

Filter on reviewed extensions (boolean, optional)

Documentation Overview

Docker Hub MCP Server

Trust Score

The Docker Hub MCP Server is a Model Context Protocol (MCP) server that interfaces with Docker Hub APIs to make them accessible to LLMs, enabling intelligent content discovery and repository management.

Developers building with containers, especially in AI and LLM-powered workflows, often face inadequate context across the vast landscape of Docker Hub images. As a result, LLMs struggle to recommend the right images, and developers lose time manually searching instead of building.

Demo

Use Cases

  • AI-powered image recommendations - LLMs access real-time Docker Hub data for accurate container image suggestions.
  • Enhanced content discovery - AI tools help developers find the right images faster.
  • Simplified Hub workflows - Manage Docker repositories and images using natural language.

Prerequisites

  • Docker installed
  • Node.js (version 22+)
  • [Optional] A Docker Personal Access Token (PAT) with appropriate permissions

Setup

  1. Build

    Terminal
    npm install
    npm run build
    
  2. Run

    Terminal
     npm start -- [--transport=http|stdio] [--port=3000] [--host=127.0.0.1]
    
  • Default args:
    • transport: Choose between http or stdio (default: stdio)
    • port=3000
    • host=127.0.0.1 (HTTP transport only) This starts the server with default settings and can only access public Docker Hub content.

[!IMPORTANT] The http transport binds to 127.0.0.1 (loopback) by default and requires authentication. See Securing the HTTP transport before exposing it to a network.

Run in inspector [Optional]

The MCP Inspector provides a web interface to test your server:

Terminal
npx @modelcontextprotocol/inspector node dist/index.js [--transport=http|stdio] [--port=3000]

Securing the HTTP transport

The stdio transport is only reachable by the local process that spawns it. The http transport, however, dispatches every tool call using the server operator's Docker Hub Personal Access Token (HUB_PAT_TOKEN). Anyone who can reach the HTTP endpoint can therefore act as that Docker Hub identity — including creating and modifying repositories. To prevent this, the HTTP transport is locked down by default:

  • Loopback binding. The listener binds to 127.0.0.1 unless you pass --host=<addr> (for example --host=0.0.0.0 to expose it from a container).
  • Authentication required (fail-closed). In http mode the server refuses to start unless you either provide a bearer token or explicitly opt out. Set the token via the MCP_AUTH_TOKEN environment variable; clients must then send it as Authorization: Bearer <token> on every request.
  • DNS-rebinding / CSRF protection. Requests are rejected when the Host header is not in the allow-list (loopback plus --host, extendable with --allowed-hosts), or when they carry a browser Origin header that is not listed in --allowed-origins. Non-browser MCP clients are unaffected.

Run the HTTP transport with authentication:

bash
MCP_AUTH_TOKEN=<a_long_random_secret> npm start -- --transport=http

Expose it beyond loopback (e.g. inside a container), still authenticated:

bash
MCP_AUTH_TOKEN=<a_long_random_secret> npm start -- \
  --transport=http --host=0.0.0.0 \
  --allowed-hosts=my-host.internal --allowed-origins=https://my-app.example.com
Flag / env varPurpose
MCP_AUTH_TOKENBearer token required on every /mcp request.
--host=<addr>Address to bind (default 127.0.0.1).
--allowed-hosts=a,bExtra Host header values to accept (comma-separated).
--allowed-origins=a,bBrowser Origin values to accept (comma-separated).
--allow-unauthenticatedServe /mcp with no authentication. Insecure; opt-in only.

[!WARNING] --allow-unauthenticated disables authentication entirely and exposes your Docker Hub PAT to any client that can reach the port. Only use it on a trusted, isolated network.

Authenticate with docker

By default this MCP server can only query public content on Docker Hub. In order to manage your repositories you need to provide authentication.

Run with authentication

Code
HUB_PAT_TOKEN=<a_pat_token> npm start -- [--username=<the_hub_username_for_the_pat>]

Run in inspector [Optional]

Code
HUB_PAT_TOKEN=<a_pat_token> npx @modelcontextprotocol/inspector node dist/index.js[--username=<the_hub_username_for_the_pat>]

Usage in Docker Ask Gordon

You can configure Gordon to be a host that can interact with the Docker Hub MCP server.

Gordon Setup

Ask Gordon is your personal AI assistant embedded in Docker Desktop and the Docker CLI. It's designed to streamline your workflow and help you make the most of the Docker ecosystem.

You can configure Gordon to be a client that can interact with the Docker Hub MCP server.

  1. Create the gordon-mcp.yml file file in your working directory.
  2. Replace environment variables in the gordon-mcp.yml with your Docker Hub username and a PAT token.
docker-compose.yml
services:
  hub:
    image: hub
    environment:
      - HUB_PAT_TOKEN=<your_pat_token>
    command:
      - --username=<your_hub_username>
  1. Run docker build -t hub .
  2. Run docker ai

Usage in other MCP Clients

Usage with Claude Desktop

NOTE: Make sure you have already built the application as mentioned in Step 1.

  1. Add the Docker Hub MCP Server configuration to your claude_desktop_config.json:

NOTE: if you are using nvm to manage node versions, you should put the node binary path in the command property. This ensure MCP server runs with the right node version. You can find your binary path by running which node in your shell

For public repositories only:

  • /FULL/PATH/TO/YOUR/docker-hub-mcp-server - The complete path to where you cloned this repository
config.json
{
    "mcpServers": {
        "docker-hub": {
            "command": "node", // or absoulute binary path
            "args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"]
        }
    }
}

For authenticated access (recommended):

Replace the following values:

  • YOUR_DOCKER_HUB_USERNAME - Your Docker Hub username
  • YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN - Your Docker Hub Personal Access Token
  • /FULL/PATH/TO/YOUR/docker-hub-mcp-server - The complete path to where you cloned this
config.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"
            }
        }
    }
}
  1. Save the configuration file and completely restart Claude Desktop for the changes to take effect.

Usage with VS Code

  1. Add the Docker Hub MCP Server configuration to your User Settings (JSON) file in VS Code. You can do this by opening the Command Palette and typing Preferences: Open User Settings (JSON).

For public repositories only:

  • /FULL/PATH/TO/YOUR/docker-hub-mcp-server - The complete path to where you cloned this repository
config.json
{
    "mcpServers": {
        "docker-hub": {
            "command": "node",
            "args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"]
        }
    }
}

For authenticated access (recommended):

Replace the following values:

  • YOUR_DOCKER_HUB_USERNAME - Your Docker Hub username
  • YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN - Your Docker Hub Personal Access Token
  • /FULL/PATH/TO/YOUR/docker-hub-mcp-server - The complete path to where you cloned this
config.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"
            }
        }
    }
}
  1. Open the Command Palette and type MCP: List Servers.
  2. Select docker-hub and select Start Server.

Task Examples

Finding images

console
# Search for official images
$ docker ai "Search for official nginx images on Docker Hub"

# Search for lightweight images to reduce deployment size and improve performance
$ docker ai "Search for minimal Node.js images with small footprint"

# Get the most recent tag of a base image
$ docker ai "Show me the latest tag details for go"

# Find a production-ready database with enterprise features and reliability
$ docker ai "Search for production ready database images"

# Compare Ubuntu versions to choose the right one for my project
$ docker ai "Help me find the right Ubuntu version for my project"

Repository Management

console
# Create a repository
$ docker ai "Create a repository in my namespace"

Read the full README →View source on GitHub →

Related MCP Servers

View all in Cloud Platforms View all alternatives
  • MCP Server Docker logoMCP Server Docker

    Integrate with Docker to manage containers, images, volumes, and networks.

    ☁️ Cloud Platforms3 views
    Compare vs MCP Server Docker →
  • Next Devtools MCP logoNext Devtools MCP
    Verified

    Official Next.js MCP server for coding agents. Provides runtime diagnostics, route inspection, dev server logs, docs search, and upgrade guides. Requires Next.js 16+ dev server for full runtime features.

    ☁️ Cloud Platforms5 views
    Compare vs Next Devtools MCP →
  • Docker MCP logoDocker MCP

    Docker container management and operations through MCP

    ☁️ Cloud Platforms3 views
    Compare vs Docker MCP →
  • Lynxprompt MCP logoLynxprompt MCP

    Go-based MCP server for LynxPrompt prompt management. Create, search, and organize AI prompts and AGENTS.md/CLAUDE.md configuration files. Docker image available.

    ☁️ Cloud Platforms2 views
    Compare vs Lynxprompt MCP →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
163
Stargazers on the source repository.
npm downloads
1M
Package downloads in the last 30 days.
Last commit
15d ago
Most recent push to the default branch.
Tools exposed
35
Callable tools this server registers over MCP.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Hub MCP

Yes, the server can access public Docker Hub content without authentication, but repository management requires a Docker Personal Access Token.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHub MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/docker-hub-mcp?style=directory)](https://allmcps.com/mcp/docker-hub-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/docker-hub-mcp"><img src="https://allmcps.com/api/badge/docker-hub-mcp?style=directory" alt="Hub MCP on AllMCPs" /></a>

Technical Specs & Signals

Category☁️Cloud Platforms
PricingFree
More technical detailsExpand ▾
TransportSTDIO
RuntimeNode.js
AuthAPI key
ClientsWindsurf
Last updatedAug 27, 2026
11/11 checks healthy over the last 33d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars163
GitHub Star CountTotal stargazers on GitHub representing community popularity (163 stars).
Last commit15d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Aug 27, 2026
npm downloads1,049,637/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
80Quality signal: Excellent · 80/100How this signal is calculated ▾
Server availability25/25
Verified ownership16/20
Documentation & tools27/30
Adoption & activity12/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 27d ago via OSV.dev · @modelcontextprotocol/inspector (npm)

★ FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server →

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ☁️ Cloud Platforms →Best MCP servers for Cloud Platforms →Alternatives to Hub MCP →Install in Claude DesktopInstall in CursorInstall in VS Code