You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/manuals/ai/mcp-catalog-and-toolkit/hub-mcp.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,14 @@ The Docker Hub MCP Server is a Model Context Protocol (MCP) server that interfac
29
29
> which means Gordon can automatically interact with your MCP servers.
30
30
31
31
## Using other clients
32
-
If want to integrate the Docker Hub MCP Server into your own development environment, you can find the source code and installation instructions on our [GitHub repository](https://github.com/docker/hub-mcp).
32
+
33
+
If want to integrate the Docker Hub MCP Server into your own development environment, you can find the source code and installation instructions on our [GitHub repository](https://github.com/docker/hub-mcp).
33
34
34
35
## Use Claude Desktop as a client
35
36
36
37
1. Add the Docker Hub MCP Server configuration to your `claude_desktop_config.json`:
37
38
38
-
### For public repositories only:
39
+
### For public repositories only
39
40
40
41
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this repository
41
42
```json
@@ -48,11 +49,13 @@ If want to integrate the Docker Hub MCP Server into your own development environ
48
49
}
49
50
}
50
51
```
51
-
### For authenticated access (recommended):
52
+
53
+
### For authenticated access
54
+
52
55
Replace the following values:
53
56
-`YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
54
57
-`YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` - Your Docker Hub Personal Access Token
55
-
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
58
+
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
56
59
57
60
```json
58
61
{
@@ -67,12 +70,13 @@ If want to integrate the Docker Hub MCP Server into your own development environ
67
70
}
68
71
}
69
72
```
70
-
2. Save the configuration file and completely restart Claude Desktop for the changes to take effect.
73
+
1. Save the configuration file and completely restart Claude Desktop for the changes to take effect.
71
74
72
75
## Usage with VS Code
76
+
73
77
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)`.
74
78
75
-
### For public repositories only:
79
+
### For public repositories only
76
80
77
81
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this repository
78
82
```json
@@ -85,11 +89,13 @@ If want to integrate the Docker Hub MCP Server into your own development environ
85
89
}
86
90
}
87
91
```
88
-
### For authenticated access (recommended):
92
+
93
+
### For authenticated access
94
+
89
95
Replace the following values:
90
96
-`YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
91
97
-`YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` - Your Docker Hub Personal Access Token
92
-
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
98
+
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
93
99
94
100
```json
95
101
{
@@ -105,16 +111,16 @@ If want to integrate the Docker Hub MCP Server into your own development environ
105
111
}
106
112
}
107
113
```
108
-
2. Open the `Command Palette` and type `MCP: List Servers`.
109
-
3. Select `docker-hub` and select `Start Server`.
114
+
1. Open the `Command Palette` and type `MCP: List Servers`.
115
+
1. Select `docker-hub` and select `Start Server`.
110
116
111
117
## Usage examples
112
118
113
119
This section provides task-oriented examples for common operations with Docker Hub
114
120
tools.
115
121
116
122
117
-
### Finding images
123
+
### Finding images
118
124
119
125
```console
120
126
# Search for official images
@@ -123,7 +129,7 @@ $ docker ai "Search for official nginx images on Docker Hub"
123
129
# Search for lightweight images to reduce deployment size and improve performance
124
130
$ docker ai "Search for minimal Node.js images with small footprint"
125
131
126
-
# Get the most recent tag of a base image
132
+
# Get the most recent tag of a base image
127
133
$ docker ai "Show me the latest tag details for go"
128
134
129
135
# Find a production-ready database with enterprise features and reliability
@@ -133,7 +139,6 @@ $ docker ai "Search for production ready database images"
133
139
$ docker ai "Help me find the right Ubuntu version for my project"
134
140
```
135
141
136
-
137
142
### Repository management
138
143
139
144
```console
@@ -156,7 +161,7 @@ $ docker ai "Show me my most recently updated repositories"
156
161
$ docker ai "Show me information about my '<repository-name>' repository"
0 commit comments