@@ -107,17 +107,16 @@ To install an MCP server:
107
107
108
108
To learn more about the MCP server catalog, see [ Catalog] ( catalog.md ) .
109
109
110
- ### Example: Use the GitHub MCP server
110
+ ### Example: Use the ** GitHub Official ** MCP server
111
111
112
112
Imagine you want to enable Ask Gordon to interact with your GitHub account:
113
113
114
114
1 . From the ** MCP Toolkit** menu, select the ** Catalog** tab and find
115
115
the ** GitHub Official** server and add it.
116
- 2 . In the server's ** Config** tab, insert your token generated from
117
- your [ GitHub account] ( https://github.com/settings/personal-access-tokens ) .
116
+ 2 . In the server's ** Config** tab, [ connect via OAuth] ( #authenticate-via-oauth ) .
118
117
3 . In the ** Clients** tab, ensure Gordon is connected.
119
118
4 . From the ** Ask Gordon** menu, you can now send requests related to your
120
- GitHub account, in accordance to the tools provided by the GitHub MCP server. To test it, ask Gordon:
119
+ GitHub account, in accordance to the tools provided by the GitHub Official server. To test it, ask Gordon:
121
120
122
121
``` text
123
122
What's my GitHub handle?
@@ -145,7 +144,7 @@ You can simply install these 2 MCP servers in the MCP Toolkit,
145
144
and add Claude Desktop as a client:
146
145
147
146
1 . From the ** MCP Toolkit** menu, select the ** Catalog** tab and find the ** Puppeteer** server and add it.
148
- 2 . Repeat for the ** GitHub** server.
147
+ 2 . Repeat for the ** GitHub Official ** server.
149
148
3 . From the ** Clients** tab, select ** Connect** next to ** Claude Desktop** . Restart
150
149
Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
151
150
4 . Within Claude Desktop, run a test by submitting the following prompt using the Sonnet 3.5 model:
@@ -160,3 +159,67 @@ and add Claude Desktop as a client:
160
159
``` text
161
160
Take a screenshot of docs.docker.com and then invert the colors
162
161
```
162
+
163
+ ### Example: Use Visual Studio Code as a client
164
+
165
+ You can interact with all your installed MCP servers in VS Code:
166
+
167
+ 1 . In Docker Desktop, select ** MCP Toolkit** and select the ** Clients** tab.
168
+ 1 . Option 1: To enable the MCP Toolkit globally:
169
+
170
+ 1 . Insert the following in your user's config.json:
171
+
172
+ ``` json
173
+ "mcp" : {
174
+ "servers" : {
175
+ "MCP_DOCKER" : {
176
+ "command" : " docker" ,
177
+ "args" : [
178
+ " mcp" ,
179
+ " gateway" ,
180
+ " run"
181
+ ],
182
+ "type" : " stdio"
183
+ }
184
+ }
185
+ }
186
+ ```
187
+
188
+ 1 . Option 2: Enable the MCP Toolkit for a given project:
189
+
190
+ 1 . In your terminal, navigate to your project's folder.
191
+ 1 . Run:
192
+
193
+ ```bash
194
+ docker mcp client connect vscode
195
+ ```
196
+
197
+ > [!NOTE]
198
+ > This command creates a `.vscode/mcp.json` file in the current directory. We
199
+ > recommend you add it to your `.gitignore` file.
200
+
201
+ 1 . In Visual Studio Code, open a new Chat and select the **Agent** mode:
202
+
203
+ 
204
+
205
+ 1 . You can also check the available MCP tools:
206
+
207
+ 
208
+
209
+ For more information about the Agent mode, see the
210
+ [Visual Studio Code documentation ](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_use-mcp-tools-in-agent-mode).
211
+
212
+ ## Authenticate via OAuth
213
+
214
+ You can connect the MCP Toolkit to your development workflow via
215
+ OAuth integration. For now, the MCP Toolkit only supports GitHub OAuth.
216
+
217
+ 1 . On https://github.com/, ensure you are logged in.
218
+ 1 . In Docker Desktop, select **MCP Toolkit** and select the **OAuth** tab.
219
+ 1 . In the GitHub entry, select **Authorize**. Your browser opens the GitHub authorization page.
220
+ 1 . In the GitHub authorization page, select **Authorize docker**. Once the authorization
221
+ is successful, you are automatically redirected to Docker Desktop.
222
+ 1 . Install the **GitHub Official** MCP server, see [Install an MCP server](#install-an-mcp-server).
223
+
224
+ The MCP Toolkit now has access to your GitHub account. To revoke access, select **Revoke** in the **OAuth** tab.
225
+ See an example in [Use the **GitHub Official** MCP server ](#example-use-the-github-official-mcp-server).
0 commit comments