Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions content/manuals/ai/mcp-catalog-and-toolkit/hub-mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
> which means Gordon can automatically interact with your MCP servers.

## Using other clients
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).

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).

Check warning on line 33 in content/manuals/ai/mcp-catalog-and-toolkit/hub-mcp.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.We] Avoid using first-person plural like 'our'. Raw Output: {"message": "[Docker.We] Avoid using first-person plural like 'our'.", "location": {"path": "content/manuals/ai/mcp-catalog-and-toolkit/hub-mcp.md", "range": {"start": {"line": 33, "column": 149}}}, "severity": "WARNING"}

## Use Claude Desktop as a client

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

### For public repositories only:
### For public repositories only

- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this repository
```json
Expand All @@ -48,11 +49,13 @@
}
}
```
### For authenticated access (recommended):

### For authenticated access

Replace the following values:
- `YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
- `YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` - Your Docker Hub Personal Access Token
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this

```json
{
Expand All @@ -67,12 +70,13 @@
}
}
```
2. Save the configuration file and completely restart Claude Desktop for the changes to take effect.
1. Save the configuration file and completely restart Claude Desktop for the changes to take effect.

## Usage with VS Code

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)`.

### For public repositories only:
### For public repositories only

- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this repository
```json
Expand All @@ -85,11 +89,13 @@
}
}
```
### For authenticated access (recommended):

### For authenticated access

Replace the following values:
- `YOUR_DOCKER_HUB_USERNAME` - Your Docker Hub username
- `YOUR_DOCKER_HUB_PERSONAL_ACCESS_TOKEN` - Your Docker Hub Personal Access Token
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this
- `/FULL/PATH/TO/YOUR/docker-hub-mcp-server` - The complete path to where you cloned this

```json
{
Expand All @@ -105,16 +111,16 @@
}
}
```
2. Open the `Command Palette` and type `MCP: List Servers`.
3. Select `docker-hub` and select `Start Server`.
1. Open the `Command Palette` and type `MCP: List Servers`.
1. Select `docker-hub` and select `Start Server`.

## Usage examples

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


### Finding images
### Finding images

```console
# Search for official images
Expand All @@ -123,7 +129,7 @@
# Search for lightweight images to reduce deployment size and improve performance
$ docker ai "Search for minimal Node.js images with small footprint"

# Get the most recent tag of a base image
# Get the most recent tag of a base image
$ docker ai "Show me the latest tag details for go"

# Find a production-ready database with enterprise features and reliability
Expand All @@ -133,7 +139,6 @@
$ docker ai "Help me find the right Ubuntu version for my project"
```


### Repository management

```console
Expand All @@ -156,7 +161,7 @@
$ docker ai "Show me information about my '<repository-name>' repository"
```

### Pull/push images
### Pull/push images

```console
# Pull latest PostgreSQL version
Expand Down