Skip to content

Commit 1028b32

Browse files
authored
Merge pull request #2328 from kunalbabre/main
docs: Update VS Code installation instructions to use mcp.json for issue #2320
2 parents a9fd7b7 + b3286b5 commit 1028b32

File tree

5 files changed

+96
-92
lines changed

5 files changed

+96
-92
lines changed

src/everything/README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -169,22 +169,24 @@ For quick installation, use of of the one-click install buttons below...
169169

170170
[![Install with Docker in VS Code](https://img.shields.io/badge/VS_Code-Docker-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D) [![Install with Docker in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Docker-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=everything&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22mcp%2Feverything%22%5D%7D&quality=insiders)
171171

172-
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.
172+
For manual installation, you can configure the MCP server using one of these methods:
173173

174-
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
174+
**Method 1: User Configuration (Recommended)**
175+
Add the configuration to your user-level MCP configuration file. Open the Command Palette (`Ctrl + Shift + P`) and run `MCP: Open User Configuration`. This will open your user `mcp.json` file where you can add the server configuration.
175176

176-
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
177+
**Method 2: Workspace Configuration**
178+
Alternatively, you can add the configuration to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
179+
180+
> For more details about MCP configuration in VS Code, see the [official VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/mcp).
177181
178182
#### NPX
179183

180184
```json
181185
{
182-
"mcp": {
183-
"servers": {
184-
"everything": {
185-
"command": "npx",
186-
"args": ["-y", "@modelcontextprotocol/server-everything"]
187-
}
186+
"servers": {
187+
"everything": {
188+
"command": "npx",
189+
"args": ["-y", "@modelcontextprotocol/server-everything"]
188190
}
189191
}
190192
}

src/filesystem/README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,15 @@ For quick installation, click the installation buttons below...
210210

211211
[![Install with Docker in VS Code](https://img.shields.io/badge/VS_Code-Docker-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=filesystem&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22--mount%22%2C%22type%3Dbind%2Csrc%3D%24%7BworkspaceFolder%7D%2Cdst%3D%2Fprojects%2Fworkspace%22%2C%22mcp%2Ffilesystem%22%2C%22%2Fprojects%22%5D%7D) [![Install with Docker in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Docker-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=filesystem&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22--mount%22%2C%22type%3Dbind%2Csrc%3D%24%7BworkspaceFolder%7D%2Cdst%3D%2Fprojects%2Fworkspace%22%2C%22mcp%2Ffilesystem%22%2C%22%2Fprojects%22%5D%7D&quality=insiders)
212212

213-
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open Settings (JSON)`.
213+
For manual installation, you can configure the MCP server using one of these methods:
214214

215-
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
215+
**Method 1: User Configuration (Recommended)**
216+
Add the configuration to your user-level MCP configuration file. Open the Command Palette (`Ctrl + Shift + P`) and run `MCP: Open User Configuration`. This will open your user `mcp.json` file where you can add the server configuration.
216217

217-
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
218+
**Method 2: Workspace Configuration**
219+
Alternatively, you can add the configuration to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
220+
221+
> For more details about MCP configuration in VS Code, see the [official VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/mcp).
218222
219223
You can provide sandboxed directories to the server by mounting them to `/projects`. Adding the `ro` flag will make the directory readonly by the server.
220224

@@ -223,19 +227,17 @@ Note: all directories must be mounted to `/projects` by default.
223227

224228
```json
225229
{
226-
"mcp": {
227-
"servers": {
228-
"filesystem": {
229-
"command": "docker",
230-
"args": [
231-
"run",
232-
"-i",
233-
"--rm",
234-
"--mount", "type=bind,src=${workspaceFolder},dst=/projects/workspace",
235-
"mcp/filesystem",
236-
"/projects"
237-
]
238-
}
230+
"servers": {
231+
"filesystem": {
232+
"command": "docker",
233+
"args": [
234+
"run",
235+
"-i",
236+
"--rm",
237+
"--mount", "type=bind,src=${workspaceFolder},dst=/projects/workspace",
238+
"mcp/filesystem",
239+
"/projects"
240+
]
239241
}
240242
}
241243
}
@@ -245,16 +247,14 @@ Note: all directories must be mounted to `/projects` by default.
245247

246248
```json
247249
{
248-
"mcp": {
249-
"servers": {
250-
"filesystem": {
251-
"command": "npx",
252-
"args": [
253-
"-y",
254-
"@modelcontextprotocol/server-filesystem",
255-
"${workspaceFolder}"
256-
]
257-
}
250+
"servers": {
251+
"filesystem": {
252+
"command": "npx",
253+
"args": [
254+
"-y",
255+
"@modelcontextprotocol/server-filesystem",
256+
"${workspaceFolder}"
257+
]
258258
}
259259
}
260260
}

src/git/README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,20 +173,22 @@ For quick installation, use one of the one-click install buttons below...
173173

174174
[![Install with Docker in VS Code](https://img.shields.io/badge/VS_Code-Docker-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=git&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22--mount%22%2C%22type%3Dbind%2Csrc%3D%24%7BworkspaceFolder%7D%2Cdst%3D%2Fworkspace%22%2C%22mcp%2Fgit%22%5D%7D) [![Install with Docker in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Docker-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=git&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22--mount%22%2C%22type%3Dbind%2Csrc%3D%24%7BworkspaceFolder%7D%2Cdst%3D%2Fworkspace%22%2C%22mcp%2Fgit%22%5D%7D&quality=insiders)
175175

176-
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open Settings (JSON)`.
176+
For manual installation, you can configure the MCP server using one of these methods:
177177

178-
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
178+
**Method 1: User Configuration (Recommended)**
179+
Add the configuration to your user-level MCP configuration file. Open the Command Palette (`Ctrl + Shift + P`) and run `MCP: Open User Configuration`. This will open your user `mcp.json` file where you can add the server configuration.
179180

180-
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
181+
**Method 2: Workspace Configuration**
182+
Alternatively, you can add the configuration to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
183+
184+
> For more details about MCP configuration in VS Code, see the [official VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/mcp).
181185
182186
```json
183187
{
184-
"mcp": {
185-
"servers": {
186-
"git": {
187-
"command": "uvx",
188-
"args": ["mcp-server-git"]
189-
}
188+
"servers": {
189+
"git": {
190+
"command": "uvx",
191+
"args": ["mcp-server-git"]
190192
}
191193
}
192194
}

src/memory/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -190,25 +190,27 @@ For quick installation, use one of the one-click installation buttons below:
190190

191191
[![Install with Docker in VS Code](https://img.shields.io/badge/VS_Code-Docker-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=memory&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22-v%22%2C%22claude-memory%3A%2Fapp%2Fdist%22%2C%22--rm%22%2C%22mcp%2Fmemory%22%5D%7D) [![Install with Docker in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Docker-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=memory&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22-v%22%2C%22claude-memory%3A%2Fapp%2Fdist%22%2C%22--rm%22%2C%22mcp%2Fmemory%22%5D%7D&quality=insiders)
192192

193-
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open Settings (JSON)`.
193+
For manual installation, you can configure the MCP server using one of these methods:
194194

195-
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
195+
**Method 1: User Configuration (Recommended)**
196+
Add the configuration to your user-level MCP configuration file. Open the Command Palette (`Ctrl + Shift + P`) and run `MCP: Open User Configuration`. This will open your user `mcp.json` file where you can add the server configuration.
196197

197-
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
198+
**Method 2: Workspace Configuration**
199+
Alternatively, you can add the configuration to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
200+
201+
> For more details about MCP configuration in VS Code, see the [official VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/mcp).
198202
199203
#### NPX
200204

201205
```json
202206
{
203-
"mcp": {
204-
"servers": {
205-
"memory": {
206-
"command": "npx",
207-
"args": [
208-
"-y",
209-
"@modelcontextprotocol/server-memory"
210-
]
211-
}
207+
"servers": {
208+
"memory": {
209+
"command": "npx",
210+
"args": [
211+
"-y",
212+
"@modelcontextprotocol/server-memory"
213+
]
212214
}
213215
}
214216
}
@@ -218,19 +220,17 @@ Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace
218220

219221
```json
220222
{
221-
"mcp": {
222-
"servers": {
223-
"memory": {
224-
"command": "docker",
225-
"args": [
226-
"run",
227-
"-i",
228-
"-v",
229-
"claude-memory:/app/dist",
230-
"--rm",
231-
"mcp/memory"
232-
]
233-
}
223+
"servers": {
224+
"memory": {
225+
"command": "docker",
226+
"args": [
227+
"run",
228+
"-i",
229+
"-v",
230+
"claude-memory:/app/dist",
231+
"--rm",
232+
"mcp/memory"
233+
]
234234
}
235235
}
236236
}

src/sequentialthinking/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -88,25 +88,27 @@ For quick installation, click one of the installation buttons below...
8888

8989
[![Install with Docker in VS Code](https://img.shields.io/badge/VS_Code-Docker-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22mcp%2Fsequentialthinking%22%5D%7D) [![Install with Docker in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Docker-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22mcp%2Fsequentialthinking%22%5D%7D&quality=insiders)
9090

91-
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open Settings (JSON)`.
91+
For manual installation, you can configure the MCP server using one of these methods:
9292

93-
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
93+
**Method 1: User Configuration (Recommended)**
94+
Add the configuration to your user-level MCP configuration file. Open the Command Palette (`Ctrl + Shift + P`) and run `MCP: Open User Configuration`. This will open your user `mcp.json` file where you can add the server configuration.
9495

95-
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
96+
**Method 2: Workspace Configuration**
97+
Alternatively, you can add the configuration to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
98+
99+
> For more details about MCP configuration in VS Code, see the [official VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/mcp).
96100
97101
For NPX installation:
98102

99103
```json
100104
{
101-
"mcp": {
102-
"servers": {
103-
"sequential-thinking": {
104-
"command": "npx",
105-
"args": [
106-
"-y",
107-
"@modelcontextprotocol/server-sequential-thinking"
108-
]
109-
}
105+
"servers": {
106+
"sequential-thinking": {
107+
"command": "npx",
108+
"args": [
109+
"-y",
110+
"@modelcontextprotocol/server-sequential-thinking"
111+
]
110112
}
111113
}
112114
}
@@ -116,17 +118,15 @@ For Docker installation:
116118

117119
```json
118120
{
119-
"mcp": {
120-
"servers": {
121-
"sequential-thinking": {
122-
"command": "docker",
123-
"args": [
124-
"run",
125-
"--rm",
126-
"-i",
127-
"mcp/sequentialthinking"
128-
]
129-
}
121+
"servers": {
122+
"sequential-thinking": {
123+
"command": "docker",
124+
"args": [
125+
"run",
126+
"--rm",
127+
"-i",
128+
"mcp/sequentialthinking"
129+
]
130130
}
131131
}
132132
}

0 commit comments

Comments
 (0)