Skip to content

Commit 20492f8

Browse files
authored
mcp: various touch ups (#23251)
Reorder pages in MCP TOC, touch up content, add summary bars, use tabs where appropriate, etc.
1 parent 37e705c commit 20492f8

File tree

11 files changed

+203
-114
lines changed

11 files changed

+203
-114
lines changed

.vscode/docker.code-snippets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,9 @@
5454
"body": ["{{< button url=\"$1\" text=\"$2\" >}}"],
5555
"description": "Insert a Hugo button",
5656
},
57+
"Insert Visual Studio Code": {
58+
"prefix": ["vscode", "vs"],
59+
"body": ["Visual Studio Code"],
60+
"description": "Insert 'Visual Studio Code'",
61+
},
5762
}

_vale/config/vocabularies/Docker/accept.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
(?i)[A-Z]{2,}'?s
22

3+
[Dd]ev
34
Adreno
45
Aleksandrov
56
Amazon
@@ -16,11 +17,13 @@ Bugsnag
1617
BuildKit
1718
buildkitd
1819
BusyBox
20+
CD
1921
CentOS
2022
Ceph
2123
cgroup
2224
Chrome
2325
Chrome DevTools
26+
CI
2427
CI/CD
2528
Citrix
2629
cli
@@ -144,6 +147,7 @@ osquery
144147
osxfs
145148
OTel
146149
Paketo
150+
PAT
147151
perl
148152
pgAdmin
149153
PKG
@@ -193,9 +197,9 @@ Uncaptured
193197
undeterminable
194198
Unix
195199
unmanaged
200+
Visual Studio Code
196201
VMware
197202
vpnkit
198-
VSCode
199203
vSphere
200204
Vue
201205
Wasm

assets/css/components.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@
7777
align-items: center;
7878
justify-content: center;
7979
}
80+
.admonition p{
81+
margin-bottom: 1em;
82+
}
83+
.admonition ul{
84+
@apply list-disc pl-5 mb-1;
85+
}
86+
8087

8188
.download-links {
8289
@apply block;
@@ -93,6 +100,7 @@
93100
.card-image {
94101
@apply h-12 w-12 overflow-hidden;
95102
}
103+
96104
}
97105
.button {
98106
@apply my-2 mr-2 inline-block rounded-sm bg-blue-500 p-1 px-3 text-white hover:bg-blue-600 dark:bg-blue-500 hover:dark:bg-blue-400;

content/manuals/ai/mcp-catalog-and-toolkit/_index.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,17 @@ grid:
2121
link: /ai/mcp-catalog-and-toolkit/toolkit/
2222
---
2323

24-
The Model Context Protocol (MCP) is a modern standard that transforms AI agents
25-
from passive responders into action-oriented systems. By standardizing how tools
26-
are described, discovered, and invoked, MCP enables agents to securely query
27-
APIs, access data, and run services across different environments.
28-
29-
As agents move into production, MCP solves common integration challenges —
30-
interoperability, reliability, and security — by providing a consistent,
31-
decoupled, and scalable interface between agents and tools. Just as containers
32-
redefined software deployment, MCP is reshaping how AI systems interact with the
33-
world.
34-
35-
> **Example**
36-
>
37-
> In simple terms, an MCP server is a way for an LLM to interact with an external system.
38-
>
39-
> For example:
40-
> If you ask a model to create a meeting, it needs to communicate with your calendar app to do that.
41-
> An MCP server for your calendar app provides _tools_ that perform atomic actions, such as:
42-
> "getting the details of a meeting" or "creating a new meeting".
43-
44-
## What is Docker MCP Catalog and Toolkit?
24+
{{< summary-bar feature_name="Docker MCP Catalog and Toolkit" >}}
4525

4626
Docker MCP Catalog and Toolkit is a solution for securely building, sharing, and
47-
running MCP tools. It simplifies the developer experience across these areas:
27+
running MCP tools.
28+
29+
It simplifies the developer experience across these areas:
4830

4931
- Discovery: A central catalog with verified, versioned tools.
5032
- Credential management: OAuth-based and secure by default.
5133
- Execution: Tools run in isolated, containerized environments.
52-
- Portability: Use MCP tools across Claude, Cursor, VS Code, and more—no code
34+
- Portability: Use MCP tools across Claude, Cursor, Visual Studio Code, and more—no code
5335
changes needed.
5436

5537
With Docker Hub and the MCP Toolkit, you can:
@@ -58,4 +40,24 @@ With Docker Hub and the MCP Toolkit, you can:
5840
- Add tools using the CLI or GUI.
5941
- Rely on Docker's pull-based infrastructure for trusted delivery.
6042

43+
## MCP servers
44+
45+
MCP servers are systems that use the [Model Context Protocol](https://www.anthropic.com/news/model-context-protocol) (MCP) to help manage
46+
and run AI or machine learning models more efficiently. MCP allows different
47+
parts of a system, like the model, data, and runtime environment, to
48+
communicate in a standardized way. You can see them as
49+
add-ons that provide specific tools to an LLM.
50+
51+
> [!TIP]
52+
> Example:
53+
> If you ask a model to create a meeting, it needs to communicate with your calendar app to do that.
54+
>
55+
> An MCP server provided by your calendar app provides _tools_ to your model to perform atomic
56+
> actions, like:
57+
>
58+
> - `get the details of a meeting`
59+
> - `create a new meeting`
60+
> - ...
61+
62+
6163
{{< grid >}}

content/manuals/ai/mcp-catalog-and-toolkit/catalog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
---
22
title: Docker MCP Catalog
3+
linkTitle: MCP Catalog
34
description: Learn about the benefits of the MCP Catalog, how you can use it, and how you can contribute
45
keywords: docker hub, mcp, mcp servers, ai agents, catalog, docker
6+
weight: 10
57
---
68

9+
{{< summary-bar feature_name="Docker MCP Catalog" >}}
10+
711
The [Docker MCP Catalog](https://hub.docker.com/mcp) is a centralized, trusted
812
registry for discovering, sharing, and running MCP-compatible tools. Integrated
913
with Docker Hub, it offers verified, versioned, and curated MCP servers

content/manuals/ai/mcp-catalog-and-toolkit/hub-mcp.md

Lines changed: 104 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
---
22
title: Docker Hub MCP server
3-
description: Use the MCP Toolkit to set up MCP servers and MCP clients.
3+
linkTitle: Hub MCP server
4+
description: The Docker Hub MCP Server makes Docker Hub image metadata accessible to LLMs for content discovery.
45
keywords: Docker Hub MCP Server, Hub MCP server, Hub MCP
6+
weight: 30
57
---
68

7-
The Docker Hub MCP Server is a Model Context Protocol (MCP) server that interfaces with Docker Hub APIs to make rich image metadata 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.
9+
The Docker Hub MCP Server is a Model Context Protocol (MCP) server that
10+
interfaces with Docker Hub APIs to make rich image metadata accessible to LLMs,
11+
enabling intelligent content discovery and repository management. Developers
12+
building with containers, especially in AI and LLM-powered workflows, often face
13+
inadequate context across the vast landscape of Docker Hub images. As a result,
14+
LLMs struggle to recommend the right images, and developers lose time manually
15+
searching instead of building.
816

917
## Key features
1018

11-
- Advanced LLM context: Our MCP Server provides LLMs with detailed, structured context for Docker Hub images, enabling smarter, more relevant recommendations for developers, whether they're choosing a base image or automating CI/CD workflows.
19+
- Advanced LLM context: Docker's MCP Server provides LLMs with detailed, structured context for Docker Hub images, enabling smarter, more relevant recommendations for developers, whether they're choosing a base image or automating CI/CD workflows.
1220
- Natural language image discovery: Developers can find the right container image using natural language, no need to remember tags or repository names. Just describe what you need, and Docker Hub will return images that match your intent.
1321
- Simplified repository management: Hub MCP Server enables agents to manage repositories through natural language fetching image details, viewing stats, searching content, and performing key operations quickly and easily.
1422

@@ -28,95 +36,116 @@ The Docker Hub MCP Server is a Model Context Protocol (MCP) server that interfac
2836
> By default, the Gordon [client](/manuals/ai/mcp-catalog-and-toolkit/toolkit.md#install-an-mcp-client) is enabled,
2937
> which means Gordon can automatically interact with your MCP servers.
3038
31-
## Using other clients
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).
34-
3539
## Use Claude Desktop as a client
3640

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

39-
### For public repositories only
40-
41-
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this repository
42-
```json
43-
{
44-
"mcpServers": {
45-
"docker-hub": {
46-
"command": "node",
47-
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"]
48-
}
49-
}
50-
}
51-
```
43+
{{< tabs >}}
44+
{{< tab name="For public repositories only">}}
45+
46+
```json
47+
{
48+
"mcpServers": {
49+
"docker-hub": {
50+
"command": "node",
51+
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"]
52+
}
53+
}
54+
}
55+
```
56+
57+
Where :
58+
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` is the complete path to where you cloned the repository
59+
60+
{{< /tab >}}
61+
{{< tab name="For authenticated access">}}
62+
63+
```json
64+
{
65+
"mcpServers": {
66+
"docker-hub": {
67+
"command": "node",
68+
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio", "--username=YOUR_DOCKER_HUB_USERNAME"],
69+
"env": {
70+
"HUB_PAT_TOKEN": "YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN"
71+
}
72+
}
73+
}
74+
}
75+
```
76+
77+
Where :
78+
- `YOUR_DOCKER_HUB_USERNAME` is your Docker Hub username.
79+
- `YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` is Docker Hub personal access token
80+
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` is the complete path to where you cloned the repository
5281

53-
### For authenticated access
54-
55-
Replace the following values:
56-
- `YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
57-
- `YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` - Your Docker Hub Personal Access Token
58-
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
59-
60-
```json
61-
{
62-
"mcpServers": {
63-
"docker-hub": {
64-
"command": "node",
65-
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio", "--username=YOUR_DOCKER_HUB_USERNAME"],
66-
"env": {
67-
"HUB_PAT_TOKEN": "YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN"
68-
}
69-
}
70-
}
71-
}
72-
```
82+
83+
{{< /tab >}}
84+
{{</tabs >}}
7385

7486
1. Save the configuration file and completely restart Claude Desktop for the changes to take effect.
7587

76-
## Usage with VS Code
88+
## Usage with Visual Studio Code
7789

78-
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)`.
90+
1. Add the Docker Hub MCP Server configuration to your User Settings (JSON)
91+
file in Visual Studio Code. You can do this by opening the `Command Palette` and
92+
typing `Preferences: Open User Settings (JSON)`.
7993

80-
### For public repositories only
8194

95+
{{< tabs >}}
96+
{{< tab name="For public repositories only">}}
8297

83-
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this repository
84-
```json
85-
{
86-
"mcpServers": {
87-
"docker-hub": {
88-
"command": "node",
89-
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"]
90-
}
91-
}
92-
}
93-
```
98+
```json
99+
{
100+
"mcpServers": {
101+
"docker-hub": {
102+
"command": "node",
103+
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"]
104+
}
105+
}
106+
}
107+
```
108+
109+
Where :
110+
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` is the complete path to where you cloned the repository
111+
112+
{{< /tab >}}
113+
{{< tab name="For authenticated access">}}
114+
115+
```json
116+
{
117+
"mcpServers": {
118+
"docker-hub": {
119+
"command": "node",
120+
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"],
121+
"env": {
122+
"HUB_USERNAME": "YOUR_DOCKER_HUB_USERNAME",
123+
"HUB_PAT_TOKEN": "YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN"
124+
}
125+
}
126+
}
127+
}
128+
```
129+
130+
Where :
131+
- `YOUR_DOCKER_HUB_USERNAME` is your Docker Hub username.
132+
- `YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` is Docker Hub personal access token
133+
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` is the complete path to where you cloned the repository
94134

95-
### For authenticated access
96-
97-
Replace the following values:
98-
- `YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
99-
- `YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` - Your Docker Hub Personal Access Token
100-
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
101-
102-
```json
103-
{
104-
"mcpServers": {
105-
"docker-hub": {
106-
"command": "node",
107-
"args": ["/FULL/PATH/TO/YOUR/docker-hub-mcp-server/dist/index.js", "--transport=stdio"],
108-
"env": {
109-
"HUB_USERNAME": "YOUR_DOCKER_HUB_USERNAME",
110-
"HUB_PAT_TOKEN": "YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN"
111-
}
112-
}
113-
}
114-
}
115-
```
135+
136+
{{< /tab >}}
137+
{{</tabs >}}
116138

117139
1. Open the `Command Palette` and type `MCP: List Servers`.
118140
1. Select `docker-hub` and select `Start Server`.
119141

142+
## Using other clients
143+
144+
To integrate the Docker Hub MCP Server into your own development
145+
environment, see the source code and installation instructions on the
146+
[`hub-mcp` GitHub repository](https://github.com/docker/hub-mcp).
147+
148+
120149
## Usage examples
121150

122151
This section provides task-oriented examples for common operations with Docker Hub

0 commit comments

Comments
 (0)