11---
22title : Built-in tools
3- description : Built -in tools
3+ description : How to use Gordon's built -in tools
44keywords : ai, mcp, gordon
55---
66
77Gordon comes with an integrated toolbox providing access to various system tools
88and 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,
1010and other developer utilities. This documentation covers the available tools,
1111their configuration, and usage patterns.
1212
@@ -15,23 +15,26 @@ their configuration, and usage patterns.
1515Tools can be configured globally in the toolbox, making them accessible
1616throughout 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
2932This section provides task-oriented examples for common operations with Gordon
3033tools.
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-
231234Docker Desktop extension is installed, all the tools enabled in the catalog are
232235available for Gordon to use. After installation, you can enable the usage of the
233236AI 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 )
0 commit comments