MCP Directory

Docker Hub MCP Server vs Context7 MCP Server

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 Docker Hub MCP Server

Official Docker Hub MCP server for searching images, reading metadata and managing repositories.

Verified
stdio (local)
API key
TypeScript
Context7 MCP Server

Up-to-date, version-specific library documentation injected into your coding agent.

Verified
stdio (local)
API key
TypeScript
CategoryDeveloper ToolsDeveloper Tools
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars25028k
Last commit23 days ago15 days ago
Verified
Actively maintained
Installgit clone https://github.com/docker/hub-mcp && cd hub-mcp && npm install && npm run build && node dist/index.js --transport=stdio --username=<your-hub-username>npx -y @upstash/context7-mcp
RepoOpen Open

Verdict

Pick Docker Hub MCP Server if you need the broadest set of tools.

Pick Context7 MCP Server if you prefer the more popular, battle-tested option.

Add Docker Hub MCP Server

Install / run
git clone https://github.com/docker/hub-mcp && cd hub-mcp && npm install && npm run build && node dist/index.js --transport=stdio --username=<your-hub-username>

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "docker-hub-mcp-server": {
      "command": "node",
      "args": [
        "/absolute/path/to/hub-mcp/dist/index.js",
        "--transport=stdio",
        "--username=<your-docker-hub-username>"
      ],
      "env": {
        "HUB_PAT_TOKEN": "<your-docker-hub-pat>"
      }
    }
  }
}

Add Context7 MCP Server

Install / run
npx -y @upstash/context7-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "context7-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ],
      "env": {
        "CONTEXT7_API_KEY": "<optional-your-context7-api-key>"
      }
    }
  }
}

FAQ

Docker Hub MCP Server or Context7 MCP Server — which is better?

Pick Docker Hub MCP Server if you need the broadest set of tools. Pick Context7 MCP Server if you prefer the more popular, battle-tested option.

Can I use both Docker Hub MCP Server and Context7 MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do Docker Hub MCP Server and Context7 MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.