Back to MCP Servers
🔌

docker/hub-mcp

Apache-2.0API key required

🎖️ 📇 ☁️ 🏠 - Official MCP server to interact with Docker Hub, providing access to repositories, hub search and Docker Hardened Images

TypeScriptSearch

Install

npx -y @modelcontextprotocol/inspector

Required environment variables

HUB_PAT_TOKENSet in your MCP config
YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKENSet in your MCP config

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "docker-hub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/inspector"
      ],
      "env": {
        "HUB_PAT_TOKEN": "<YOUR_HUB_PAT_TOKEN>",
        "YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN": "<YOUR_YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN>"
      }
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.