Skip to content

Commit 4f607a3

Browse files
committed
Add MCP Toolkit get started
1 parent 0a34ff4 commit 4f607a3

5 files changed

Lines changed: 145 additions & 42 deletions

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ weight: 30
1111
description: Learn about Docker's MCP catalog on Docker Hub
1212
keywords: Docker, ai, mcp servers, ai agents, extension, docker desktop, llm, docker hub
1313
grid:
14+
- title: Get started
15+
description: Learn how to quickly install and use the MCP Toolkit to set up servers and clients.
16+
icon: explore
17+
link: /ai/mcp-catalog-and-toolkit/get-started/
1418
- title: MCP Catalog
1519
description: Learn about the benefits of the MCP Catalog, how you can use it, and how you can contribute
1620
icon: hub
@@ -23,7 +27,7 @@ grid:
2327

2428
{{< summary-bar feature_name="Docker MCP Catalog and Toolkit" >}}
2529

26-
Docker MCP Catalog and Toolkit is a solution for securely building, sharing, and
30+
Docker Model Context Protocol (MCP) Catalog and Toolkit is a solution for securely building, sharing, and
2731
running MCP tools.
2832

2933
It simplifies the developer experience across these areas:
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
---
2+
title: Get Started with Docker MCP Toolkit
3+
linkTitle: Get Started with MCP Toolkit
4+
description: Learn how to quickly install and use the MCP Toolkit to set up servers and clients.
5+
keywords: Docker MCP Toolkit, MCP server, MCP client, AI agents
6+
weight: 09
7+
---
8+
9+
{{< summary-bar feature_name="Docker MCP Toolkit" >}}
10+
11+
Docker Model Context Protocol (MCP) Toolkit makes it easy to set up, manage, and run containerized MCP servers, and connect them to AI agents. It provides secure defaults, one-click setup, and support for a growing ecosystem of LLM-based clients. This page shows you how to get started quickly with the Docker MCP Toolkit.
12+
13+
## Requirements
14+
15+
Before you begin, make sure you meet these requirements to get started with Docker MCP Toolkit.
16+
17+
### Download and install Docker Desktop
18+
19+
- Install [Docker Desktop v4.42.0](https://docs.docker.com/desktop/release-notes/#4420) or higher.
20+
- To try the MCP Toolkit in-app walkthrough, you must install [Docker Desktop 4.46.0](https://docs.docker.com/desktop/release-notes/#4460) or higher.
21+
22+
### Enable Docker MCP Toolkit
23+
24+
1. Open the Docker Desktop settings and select **Beta features**.
25+
2. Select **Enable Docker MCP Toolkit**.
26+
3. Select **Apply**.
27+
28+
29+
There are multiple ways to get started with Docker MCP Toolkit. You can:
30+
- Try the in-app walkthrough in the [Docker Desktop Learning center](#docker-desktop-learning-center). This requires [Docker Desktop 4.46.0](https://docs.docker.com/desktop/release-notes/#4460) or higher.
31+
- Alternatively, follow the step-by-step instructions on this page on how to use Docker Desktop or the CLI to [Install an MCP Server](#install-an-mcp-server), [Add a client, and test your setup](#install-an-mcp-client-and-test-your-setup) with example prompts.
32+
33+
## Learning center
34+
35+
The **Learning center** in Docker Desktop is an in-app area with walkthroughs and resources to help you get started with Docker products and features.
36+
37+
On the **MCP Toolkit** page, Docker Desktop shows the **Get started** walkthrough. This walkthrough guides you through installing an MCP server, connecting a client, and testing your setup.
38+
39+
The following sections provide step-by-step instructions for installing an MCP server, adding a client, and testing your setup with example prompts using Docker Desktop or the CLI.
40+
41+
42+
## Install an MCP Server
43+
44+
{{< tabs group="release" >}}
45+
{{< tab name="From Docker Desktop">}}
46+
47+
1. In Docker Desktop, select **MCP Toolkit** and select the **Catalog** tab.
48+
2. Search **GitHub Official** server from the catalog and select the plus icon (+) to add it.
49+
3. In the **GitHub Official** server page, select the **Configuration** tab and select **OAuth**.
50+
51+
>[!NOTE]
52+
>
53+
> The type of configuration required depends on the server you select. For the GitHub Official server, you must authenticate using OAuth.
54+
55+
Your browser opens the GitHub authorization page. Follow the on-screen instructions to [authenticate via OAuth](/manuals/ai/mcp-catalog-and-toolkit/toolkit.md#authenticate-via-oauth).
56+
57+
4. Return to Docker Desktop when the authentication process is complete.
58+
59+
{{< /tab >}}
60+
{{< tab name="From the Docker CLI">}}
61+
62+
1. In a terminal window, run:
63+
64+
```bash
65+
docker mcp server enable github-official
66+
```
67+
68+
This adds the GitHub Official MCP Server.
69+
2. Now, authenticate the server by running the following command:
70+
71+
```bash
72+
docker mcp oauth authorize github
73+
```
74+
>[!NOTE]
75+
>
76+
> The type of configuration required depends on the server you select. For the GitHub Official server, you must authenticate using OAuth.
77+
78+
Your browser opens the GitHub authorization page. Follow the on-screen instructions to [authenticate via OAuth](/manuals/ai/mcp-catalog-and-toolkit/toolkit.md#authenticate-via-oauth).
79+
80+
{{< /tab >}}
81+
{{< /tabs >}}
82+
83+
You’ve now successfully added an MCP server. Next, install an MCP client and test your setup. with an example prompt.
84+
85+
86+
## Install an MCP client and test your setup
87+
88+
After you've installed MCP servers, you can add clients to the MCP Toolkit. These clients can interact with the installed MCP servers, turning the MCP Toolkit into a gateway. In the following section, let’s add the Claude Desktop client.
89+
90+
{{< tabs group="release" >}}
91+
{{< tab name="From Docker Desktop">}}
92+
93+
1. In Docker Desktop, select **MCP Toolkit** and select the **Clients** tab.
94+
2. Find **Claude Desktop** and select **Connect**.
95+
96+
If Claude Desktop isn't installed, select **Download** to install it, then select **Connect**.
97+
3. Restart Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
98+
4. Open Claude Desktop and run a test by submitting the following prompt using the Sonnet Opus 4.1 model:
99+
100+
```text
101+
Take a screenshot of the header element on docs.docker.com
102+
```
103+
Claude prompts you for permissions and shares a screenshot of the header element from the Docker documentation page.
104+
105+
![Screenshot showing the header of Docker docs.](./images/claude-desktop-example.png)
106+
107+
108+
{{< /tab >}}
109+
{{< tab name="From the Docker CLI">}}
110+
111+
1. In a terminal window, run the following commands to connect the Claude Desktop client:
112+
113+
```bash
114+
docker mcp client connect claude-desktop --global
115+
```
116+
2. Restart Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
117+
3. Open Claude Desktop and run a test by submitting the following prompt using the Sonnet Opus 4.1 model:
118+
119+
```text
120+
Take a screenshot of the header element on docs.docker.com
121+
```
122+
Claude prompts you for permissions and shares a screenshot of the header element from the Docker documentation page.
123+
124+
![Screenshot showing the header of Docker docs.](./images/claude-desktop-example.png)
125+
126+
{{< /tab >}}
127+
{{< /tabs >}}
128+
129+
## Related pages
130+
131+
- [MCP Toolkit](/manuals/ai/mcp-catalog-and-toolkit/toolkit.md)
132+
- [MCP Catalog](/manuals/ai/mcp-catalog-and-toolkit/catalog.md)
133+
- [Open-source MCP Gateway](/manuals/ai/mcp-gateway/_index.md)
131 KB
Loading
35.2 KB
Loading

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

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ container as the server or in dedicated containers:
5959
{{< /tab >}}
6060
{{</tabs >}}
6161

62+
>[!NOTE]
63+
>
64+
> The Docker MCP Toolkit was originally released as an extension. This extension is now deprecated and should be uninstalled.
65+
6266
## Security
6367

6468
The Docker MCP Toolkit combines passive and active measures to reduce attack
@@ -87,37 +91,6 @@ Security at runtime is enforced through resource and access limitations:
8791
- Interception of tool requests: Requests to and from tools that contain sensitive
8892
information such as secrets are blocked.
8993

90-
## Enable Docker MCP Toolkit
91-
92-
1. Open the Docker Desktop settings and select **Beta features**.
93-
2. Select **Enable Docker MCP Toolkit**.
94-
3. Select **Apply**.
95-
96-
>[!NOTE]
97-
>
98-
> This feature started as the MCP Toolkit _extension_. This extension is now deprecated
99-
>and should be uninstalled.
100-
101-
## Install an MCP server
102-
103-
To install an MCP server:
104-
105-
1. In Docker Desktop, select **MCP Toolkit** and select the **Catalog** tab.
106-
When you select a server you can see the following
107-
information:
108-
109-
- Tool name and description
110-
- Partner/publisher
111-
- The list of callable tools the server provides.
112-
113-
2. Find the MCP server of your choice and select the **Plus** icon.
114-
3. Optional: Some servers require extra configuration. To configure them, select
115-
the **Config** tab and follow the instructions available on the repository of the provider of the MCP server.
116-
117-
> [!TIP]
118-
> By default, the Gordon [client](#install-an-mcp-client) is enabled,
119-
> which means Gordon can automatically interact with your MCP servers.
120-
12194
To learn more about the MCP server catalog, see [Catalog](catalog.md).
12295

12396
### Example: Use the **GitHub Official** MCP server
@@ -137,17 +110,10 @@ Imagine you want to enable Ask Gordon to interact with your GitHub account:
137110

138111
Make sure to allow Gordon to interact with GitHub by selecting **Always allow** in Gordon's answer.
139112

140-
## Install an MCP client
141-
142-
When you have installed MCP servers, you can add clients to the MCP Toolkit. These clients
143-
can interact with the installed MCP servers, turning the MCP Toolkit into a gateway.
144-
145-
To install a client:
146-
147-
1. In Docker Desktop, select **MCP Toolkit** and select the **Clients** tab.
148-
1. Find the client of your choice and select **Connect**.
113+
> [!TIP]
114+
> By default, the Gordon [client](#install-an-mcp-client) is enabled,
115+
> which means Gordon can automatically interact with your MCP servers.
149116
150-
Your client can now interact with the MCP Toolkit.
151117

152118
### Example: Use Claude Desktop as a client
153119

0 commit comments

Comments
 (0)