@@ -83,8 +83,7 @@ Imagine you want to enable Ask Gordon to interact with your GitHub account:
8383
84841 . From the ** MCP Toolkit** menu, select the ** Catalog** tab and find
8585 the ** GitHub Official** server and add it.
86- 2 . In the server's ** Config** tab, insert your token generated from
87- your [ GitHub account] ( https://github.com/settings/personal-access-tokens ) .
86+ 2 . In the server's ** Config** tab, connect via OAuth.
88873 . In the ** Clients** tab, ensure Gordon is connected.
89884 . From the ** Ask Gordon** menu, you can now send requests related to your
9089 GitHub account, in accordance to the tools provided by the GitHub MCP server. To test it, ask Gordon:
@@ -123,3 +122,53 @@ and add Claude Desktop as a client:
123122 ``` text
124123 Take a screenshot of docs.docker.com and then invert the colors
125124 ```
125+
126+ ### Example: Use Visual Studio Code as a client
127+
128+ You can interact with all your installed MCP servers in VSCode by configuring VS
129+ Code for a specific project:
130+
131+ 1 . In Docker Desktop, select ** MCP Toolkit** and select the ** Clients** tab.
132+ 1 . Option 1: To enable the MCP Toolkit globally:
133+
134+ 1 . Insert the following in your user's config.json:
135+
136+ ``` json
137+ "mcp" : {
138+ "servers" : {
139+ "MCP_DOCKER" : {
140+ "command" : " docker" ,
141+ "args" : [
142+ " mcp" ,
143+ " gateway" ,
144+ " run"
145+ ],
146+ "type" : " stdio"
147+ }
148+ }
149+ }
150+ ```
151+
152+ 1 . Option2: Enable the MCP Toolkit for a given project:
153+
154+ 1 . In the terminal, navigate to your project's folder in the terminal.
155+ 1 . Run:
156+
157+ ```bash
158+ docker mcp client connect vscode
159+ ```
160+
161+ > [!NOTE]
162+ > This command creates a `.vscode/mcp.json` file in the current directory. We
163+ > recommend you add it to your `.gitignore` file.
164+
165+ 1 . In Visual Studio Code, open a new Chat and select the **Agent** mode:
166+
167+ 
168+
169+ 1 . You can also check the available MCP tools:
170+
171+ 
172+
173+ For more information about the Agent mode, see the
174+ [Visual Studio Code documentation ](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_use-mcp-tools-in-agent-mode).
0 commit comments