Skip to content

Commit c3bb90e

Browse files
committed
style guide fixes
1 parent 81f68de commit c3bb90e

File tree

4 files changed

+78
-72
lines changed

4 files changed

+78
-72
lines changed

content/manuals/desktop/features/gordon/mcp/_index.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
---
22
title: MCP
33
description: Learn how to use MCP servers with Gordon
4-
keywords: ai, mcp, gordon
4+
keywords: ai, mcp, gordon, docker desktop, docker, llm,
5+
aliases:
6+
- /desktop/features/gordon/mcp/
57
grid:
68
- title: Built-in tools
7-
description: Understand how to use the built-in tools
9+
description: Use the built-in tools.
810
icon: construction
911
link: /desktop/features/gordon/mcp/built-in-tools
1012
- title: MCP configuration
11-
description: Understand how to configure MCP tools on a per-project basis
13+
description: Configure MCP tools on a per-project basis.
1214
icon: manufacturing
1315
link: /desktop/features/gordon/mcp/yaml
1416
- title: MCP Server
15-
description: How to use Gordon as an MCP server
17+
description: Use Gordon as an MCP server
1618
icon: dns
17-
link: /desktop/features/gordon/mcp/built-in-tools/#gordon-as-an-mcp-server
19+
link: /desktop/features/gordon/mcp/gordon-mcp-server/
1820
---
1921

2022
## What is MCP?
2123

2224
[Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) is
23-
an open protocol that standardises how applications provide context and extra
25+
an open protocol that standardizes how applications provide context and extra
2426
functionality to large language models. MCP functions as a client-server
25-
protocol, where the client (e.g., an application like **Gordon**) sends
27+
protocol, where the client, for example an application like Gordon, sends
2628
requests, and the server processes those requests to deliver the necessary
2729
context to the AI. This context may be gathered by the MCP server by executing
28-
some code to perform an action and getting the result of the action, by calling
30+
some code to perform an action and getting the result of the action, calling
2931
external APIs, etc.
3032

3133
Gordon, along with other MCP clients like Claude Desktop or Cursor, can interact

content/manuals/desktop/features/gordon/mcp/built-in-tools.md

Lines changed: 19 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Built-in tools
3-
description: Built-in tools
3+
description: How to use Gordon's built-in tools
44
keywords: ai, mcp, gordon
55
---
66

77
Gordon comes with an integrated toolbox providing access to various system tools
88
and capabilities. These tools extend Gordon's functionality by allowing it to
9-
interact with the Docker Engine, Kubernetes, Docker Scout (security scanning),
9+
interact with the Docker Engine, Kubernetes, Docker Scout's security scanning,
1010
and other developer utilities. This documentation covers the available tools,
1111
their configuration, and usage patterns.
1212

@@ -15,23 +15,26 @@ their configuration, and usage patterns.
1515
Tools can be configured globally in the toolbox, making them accessible
1616
throughout the Gordon interfaces, including both Docker Desktop and the CLI.
1717

18-
Click on the `Toolbox` button in the bottom left of the input area
18+
To configure:
1919

20-
![Gordon page with the toolbox button](../images/gordon.webp)
20+
1. On the **Ask Gordon** view in Docker Desktop, select the `Toolbox` button in the bottom left of the input area.
2121

22-
Choose the tools you want to make available - by clicking on each card you
23-
can view extra information regarding each tool and what it does.
22+
![Gordon page with the toolbox button](../images/gordon.webp)
2423

25-
![Gordon's Toolbox](../images/toolbox.webp)
24+
2. Choose the tools you want to make available. Selecting a card lets you view extra information regarding each tool and what it does.
2625

27-
## Usage Examples
26+
![Gordon's Toolbox](../images/toolbox.webp)
27+
28+
For more information on the possible tools, see [Reference](#reference).
29+
30+
## Usage examples
2831

2932
This section provides task-oriented examples for common operations with Gordon
3033
tools.
3134

32-
### Managing Docker Containers
35+
### Managing Docker containers
3336

34-
#### List and Monitor Containers
37+
#### List and monitor containers
3538

3639
```console
3740
# List all running containers
@@ -57,7 +60,7 @@ $ docker ai "Stop my database container"
5760
$ docker ai "Remove all stopped containers"
5861
```
5962

60-
### Working with Docker Images
63+
### Working with Docker images
6164

6265
```console
6366
# List available images
@@ -73,7 +76,7 @@ $ docker ai "Build an image from my current directory and tag it as myapp:latest
7376
$ docker ai "Remove all my unused images"
7477
```
7578

76-
### Managing Docker Volumes
79+
### Managing Docker volumes
7780

7881
```console
7982
# List volumes
@@ -86,7 +89,7 @@ $ docker ai "Create a new volume called postgres-data"
8689
$ docker ai "Create a backup of my postgres container data to a new volume"
8790
```
8891

89-
### Kubernetes Operations
92+
### Kubernetes operations
9093

9194
```console
9295
# Create a deployment
@@ -99,7 +102,7 @@ $ docker ai "Show me all deployments in the default namespace"
99102
$ docker ai "Show me logs from the auth-service pod"
100103
```
101104

102-
### Security Analysis
105+
### Security analysis
103106

104107

105108
```console
@@ -110,7 +113,7 @@ $ docker ai "Scan my application for security vulnerabilities"
110113
$ docker ai "Give me recommendations for improving the security of my nodejs-app image"
111114
```
112115

113-
### Development Workflows
116+
### Development workflows
114117

115118
```console
116119
# Analyze and commit changes
@@ -127,7 +130,7 @@ in Gordon's toolbox.
127130

128131
### Docker tools
129132

130-
Tools to interact with your Docker containers, images and volumes.
133+
Tools to interact with your Docker containers, images, and volumes.
131134

132135
#### Container management
133136

@@ -231,47 +234,3 @@ Catalog](https://open.docker.com/extensions/marketplace?extensionId=docker/labs-
231234
Docker Desktop extension is installed, all the tools enabled in the catalog are
232235
available for Gordon to use. After installation, you can enable the usage of the
233236
AI Tool Catalog tools in the toolbox section of Gordon.
234-
235-
236-
## Gordon as an MCP server
237-
238-
In addition to functioning as an MCP client, Gordon can also act as an MCP
239-
server. This means that all the tools configured in the toolbox section of
240-
Gordon can be exposed to another MCP client like Claude Desktop, Cursor and
241-
others.
242-
243-
To use Gordon’s built-in tools in other MCP clients, configure your client of
244-
choice to use the `docker ai mcpserver` command. This allows Gordon to serve its
245-
built-in tools via the MCP protocol for various clients.
246-
247-
For example, to enable Gordon’s tools in Claude Desktop, add the following
248-
configuration to the Claude configuration file:
249-
250-
```json
251-
{
252-
"mcpServers": {
253-
"gordon": {
254-
"command": "docker",
255-
"args": ["ai", "mcpserver"]
256-
}
257-
}
258-
}
259-
```
260-
261-
This setup ensures that Claude Desktop can communicate with Gordon as an MCP
262-
server, leveraging its built-in tools. You can follow the [Claude Desktop
263-
documentation](https://modelcontextprotocol.io/quickstart/user) to explore
264-
further.
265-
266-
267-
---
268-
269-
### Tool Permissions and Security
270-
271-
These tools operate with the same permissions as the user running the
272-
application.
273-
274-
Any potentially destructive tool call, changing files, deleting images or
275-
stopping containers will ask for your confirmation before proceeding.
276-
277-
![Gordon page with the delete confirmation question](../images/delete.webp)
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Gordon as an MCP server
3+
description: How to use Gordon as an MCP server
4+
keywords: ai, mcp, gordon
5+
---
6+
7+
## Gordon as an MCP server
8+
9+
In addition to functioning as an MCP client, Gordon can also act as an MCP
10+
server. This means that all the tools configured in the toolbox section of
11+
Gordon can be exposed to another MCP client like Claude Desktop, Cursor and
12+
others.
13+
14+
To use Gordon’s built-in tools in other MCP clients, configure your client of
15+
choice to use the `docker ai mcpserver` command. This allows Gordon to serve its
16+
built-in tools via the MCP protocol for various clients.
17+
18+
For example, to enable Gordon’s tools in Claude Desktop, add the following
19+
configuration to the Claude configuration file:
20+
21+
```json
22+
{
23+
"mcpServers": {
24+
"gordon": {
25+
"command": "docker",
26+
"args": ["ai", "mcpserver"]
27+
}
28+
}
29+
}
30+
```
31+
32+
This setup ensures that Claude Desktop can communicate with Gordon as an MCP
33+
server, leveraging its built-in tools. You can follow the [Claude Desktop
34+
documentation](https://modelcontextprotocol.io/quickstart/user) to explore
35+
further.
36+
37+
### Tool permissions and security
38+
39+
These tools operate with the same permissions as the user running the
40+
application.
41+
42+
Any potentially destructive tool call, changing files, deleting images or
43+
stopping containers will ask for your confirmation before proceeding.
44+
45+
![Gordon page with the delete confirmation question](../images/delete.webp)

content/manuals/desktop/features/gordon/mcp/yaml.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,18 @@ The website rumpl.dev features a variety of blog posts and articles authored by
112112
Now that you’ve learned how to use MCP servers with Gordon, here are a few ways
113113
you can get started:
114114

115-
1. Experiment: Try integrating one or more of the tested MCP servers into your
115+
- Experiment: Try integrating one or more of the tested MCP servers into your
116116
`gordon-mcp.yml` file and explore their capabilities.
117-
2. Explore the ecosystem: Check out the [reference implementations on
117+
- Explore the ecosystem: Check out the [reference implementations on
118118
GitHub](https://github.com/modelcontextprotocol/servers/) or browse the
119119
[Docker Hub MCP namespace](https://hub.docker.com/u/mcp) for additional
120120
servers that might suit your needs.
121-
3. Build your own: If none of the existing servers meet your needs, or you’re
121+
- Build your own: If none of the existing servers meet your needs, or you’re
122122
curious about exploring how they work in more detail, consider developing a
123123
custom MCP server. Use the [MCP
124124
specification](https://www.anthropic.com/news/model-context-protocol) as a
125125
guide.
126-
4. Share your feedback: If you discover new servers that work well with Gordon
126+
- Share your feedback: If you discover new servers that work well with Gordon
127127
or encounter issues with existing ones, [share your findings to help improve
128128
the ecosystem](https://docker.qualtrics.com/jfe/form/SV_9tT3kdgXfAa6cWa).
129129

0 commit comments

Comments
 (0)