@@ -107,17 +107,16 @@ To install an MCP server:
107107
108108To learn more about the MCP server catalog, see [ Catalog] ( catalog.md ) .
109109
110- ### Example: Use the GitHub MCP server
110+ ### Example: Use the ** GitHub Official ** MCP server
111111
112112Imagine you want to enable Ask Gordon to interact with your GitHub account:
113113
1141141 . From the ** MCP Toolkit** menu, select the ** Catalog** tab and find
115115 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 ) .
1181173 . In the ** Clients** tab, ensure Gordon is connected.
1191184 . 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:
121120
122121 ``` text
123122 What's my GitHub handle?
@@ -145,7 +144,7 @@ You can simply install these 2 MCP servers in the MCP Toolkit,
145144and add Claude Desktop as a client:
146145
1471461 . 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.
1491483 . From the ** Clients** tab, select ** Connect** next to ** Claude Desktop** . Restart
150149 Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
1511504 . 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:
160159 ``` text
161160 Take a screenshot of docs.docker.com and then invert the colors
162161 ```
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