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
+17-14Lines changed: 17 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,12 @@ 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
+
### For authenticated access
53
+
52
54
Replace the following values:
53
55
-`YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
54
56
-`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
57
+
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
56
58
57
59
```json
58
60
{
@@ -67,12 +69,13 @@ If want to integrate the Docker Hub MCP Server into your own development environ
67
69
}
68
70
}
69
71
```
70
-
2. Save the configuration file and completely restart Claude Desktop for the changes to take effect.
72
+
1. Save the configuration file and completely restart Claude Desktop for the changes to take effect.
71
73
72
74
## Usage with VS Code
75
+
73
76
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
77
75
-
### For public repositories only:
78
+
### For public repositories only
76
79
77
80
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this repository
78
81
```json
@@ -85,11 +88,12 @@ If want to integrate the Docker Hub MCP Server into your own development environ
85
88
}
86
89
}
87
90
```
88
-
### For authenticated access (recommended):
91
+
### For authenticated access
92
+
89
93
Replace the following values:
90
94
-`YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
91
95
-`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
96
+
-`/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
93
97
94
98
```json
95
99
{
@@ -105,16 +109,16 @@ If want to integrate the Docker Hub MCP Server into your own development environ
105
109
}
106
110
}
107
111
```
108
-
2. Open the `Command Palette` and type `MCP: List Servers`.
109
-
3. Select `docker-hub` and select `Start Server`.
112
+
1. Open the `Command Palette` and type `MCP: List Servers`.
113
+
1. Select `docker-hub` and select `Start Server`.
110
114
111
115
## Usage examples
112
116
113
117
This section provides task-oriented examples for common operations with Docker Hub
114
118
tools.
115
119
116
120
117
-
### Finding images
121
+
### Finding images
118
122
119
123
```console
120
124
# Search for official images
@@ -123,7 +127,7 @@ $ docker ai "Search for official nginx images on Docker Hub"
123
127
# Search for lightweight images to reduce deployment size and improve performance
124
128
$ docker ai "Search for minimal Node.js images with small footprint"
125
129
126
-
# Get the most recent tag of a base image
130
+
# Get the most recent tag of a base image
127
131
$ docker ai "Show me the latest tag details for go"
128
132
129
133
# Find a production-ready database with enterprise features and reliability
@@ -133,7 +137,6 @@ $ docker ai "Search for production ready database images"
133
137
$ docker ai "Help me find the right Ubuntu version for my project"
134
138
```
135
139
136
-
137
140
### Repository management
138
141
139
142
```console
@@ -156,7 +159,7 @@ $ docker ai "Show me my most recently updated repositories"
156
159
$ docker ai "Show me information about my '<repository-name>' repository"
0 commit comments