Skip to content

Commit cdc3099

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

4 files changed

Lines changed: 149 additions & 47 deletions

File tree

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

Lines changed: 11 additions & 4 deletions
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,10 +27,13 @@ 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
27-
running MCP tools.
30+
[Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) is
31+
an open protocol that standardizes how applications provide context and
32+
additional functionality to large language models. MCP functions as a
33+
client-server protocol, where the client, for example an application such as [Gordon](/manuals/ai/gordon/_index.md) or Claude Desktop, sends requests, and the server processes those requests to deliver the necessary context to the AI.
2834

29-
It simplifies the developer experience across these areas:
35+
Docker MCP Catalog and Toolkit is a solution for securely building, sharing, and
36+
running MCP tools. It simplifies the developer experience across the following areas:
3037

3138
- Discovery: A central catalog with verified, versioned tools.
3239
- Credential management: OAuth-based and secure by default.
@@ -44,7 +51,7 @@ With Docker Hub and the MCP Toolkit, you can:
4451

4552
## MCP servers
4653

47-
MCP servers are systems that use the [Model Context Protocol](https://www.anthropic.com/news/model-context-protocol) (MCP) to help manage
54+
MCP servers are systems that use the [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) to help manage
4855
and run AI or machine learning models more efficiently. MCP allows different
4956
parts of a system, like the model, data, and runtime environment, to
5057
communicate in a standardized way. You can see them as
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
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 the following requirements to get started with Docker MCP Toolkit.
16+
17+
### Download and install Docker Desktop
18+
19+
- Install [Docker Desktop v4.42.0](/manuals/desktop/release-notes.md#4420) or higher.
20+
- To try the MCP Toolkit Learning center walkthrough, you must install [Docker Desktop 4.46.0](/manuals/desktop/release-notes.md#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+
There are multiple ways to get started with Docker MCP Toolkit. You can:
29+
- Try the [Learning center](#learning-center) walkthrough in Docker Desktop , available in [Docker Desktop 4.46.0](/manuals/desktop/release-notes.md#4460) and higher.
30+
- Alternatively, follow the step-by-step instructions on this page 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.
31+
32+
## Learning center
33+
34+
The **Learning center** in Docker Desktop provides walkthroughs and resources to help you get started with Docker products and features.
35+
36+
On the **MCP Toolkit** page, Docker Desktop shows the **Get started** walkthrough that guides you through installing an MCP server, connecting a client, and testing your setup.
37+
38+
## Install an MCP server
39+
40+
{{< tabs group="release" >}}
41+
{{< tab name="From Docker Desktop">}}
42+
43+
1. In Docker Desktop, select **MCP Toolkit** and select the **Catalog** tab.
44+
2. Search for **GitHub Official** server from the catalog and select the plus icon (+) to add it.
45+
3. In the **GitHub Official** server page, select the **Configuration** tab and select **OAuth**.
46+
47+
>[!NOTE]
48+
>
49+
> The type of configuration required depends on the server you select. For the GitHub Official server, you must authenticate using OAuth.
50+
51+
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).
52+
53+
4. Return to Docker Desktop when the authentication process is complete.
54+
55+
{{< /tab >}}
56+
{{< tab name="From the Docker CLI">}}
57+
58+
1. In a terminal window, run:
59+
60+
```bash
61+
docker mcp server enable github-official
62+
```
63+
64+
This adds the GitHub Official MCP server.
65+
2. Now, authenticate the server by running the following command:
66+
67+
```bash
68+
docker mcp oauth authorize github
69+
```
70+
>[!NOTE]
71+
>
72+
> The type of configuration required depends on the server you select. For the GitHub Official server, you must authenticate using OAuth.
73+
74+
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).
75+
76+
{{< /tab >}}
77+
{{< /tabs >}}
78+
79+
You’ve now successfully added an MCP server. Next, install an MCP client and test your setup. with an example prompt.
80+
81+
82+
## Install an MCP client and test your setup
83+
84+
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.
85+
86+
{{< tabs group="release" >}}
87+
{{< tab name="From Docker Desktop">}}
88+
89+
1. In Docker Desktop, select **MCP Toolkit** and select the **Clients** tab.
90+
2. Find **Claude Desktop** and select **Connect**.
91+
92+
If Claude Desktop isn't installed, select **Download** to install it, then select **Connect**.
93+
3. Restart Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
94+
4. Open Claude Desktop and run a test by submitting the following prompt using the Sonnet Opus 4.1 model:
95+
96+
```text
97+
Take a screenshot of the header element on docs.docker.com
98+
```
99+
Claude prompts you for permissions and shares a screenshot of the header element from the Docker documentation page.
100+
101+
![Screenshot showing the header of Docker docs.](./images/claude-desktop-example.png)
102+
103+
104+
{{< /tab >}}
105+
{{< tab name="From the Docker CLI">}}
106+
107+
1. In a terminal window, run the following commands to connect the Claude Desktop client:
108+
109+
```bash
110+
docker mcp client connect claude-desktop --global
111+
```
112+
2. Restart Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
113+
3. Open Claude Desktop and run a test by submitting the following prompt using the Sonnet Opus 4.1 model:
114+
115+
```text
116+
Take a screenshot of the header element on docs.docker.com
117+
```
118+
Claude prompts you for permissions and shares a screenshot of the header element from the Docker documentation page.
119+
120+
![Screenshot showing the header of Docker docs.](./images/claude-desktop-example.png)
121+
122+
{{< /tab >}}
123+
{{< /tabs >}}
124+
125+
## Related pages
126+
127+
- [MCP Toolkit](/manuals/ai/mcp-catalog-and-toolkit/toolkit.md)
128+
- [MCP Catalog](/manuals/ai/mcp-catalog-and-toolkit/catalog.md)
129+
- [Open-source MCP Gateway](/manuals/ai/mcp-gateway/_index.md)
131 KB
Loading

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

Lines changed: 9 additions & 43 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,42 +91,11 @@ 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
12497

125-
Imagine you want to enable Ask Gordon to interact with your GitHub account:
98+
Imagine you want to enable [Ask Gordon](/manuals/ai/gordon/_index.md) to interact with your GitHub account:
12699

127100
1. From the **MCP Toolkit** menu, select the **Catalog** tab and find
128101
the **GitHub Official** server and add it.
@@ -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 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

@@ -236,7 +202,7 @@ OAuth integration. For now, the MCP Toolkit only supports GitHub OAuth.
236202
1. In the GitHub entry, select **Authorize**. Your browser opens the GitHub authorization page.
237203
1. In the GitHub authorization page, select **Authorize Docker**. Once the authorization
238204
is successful, you are automatically redirected to Docker Desktop.
239-
1. Install the **GitHub Official** MCP server, see [Install an MCP server](#install-an-mcp-server).
205+
1. Install the **GitHub Official** MCP server, see [Install an MCP server](/manuals/ai/mcp-catalog-and-toolkit/get-started.md#install-an-mcp-server).
240206

241207
The MCP Toolkit now has access to your GitHub account. To revoke access, select **Revoke** in the **OAuth** tab.
242208
See an example in [Use the **GitHub Official** MCP server](#example-use-the-github-official-mcp-server).

0 commit comments

Comments
 (0)