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