File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ node -v
38
38
39
39
Most MCP clients require a configuration file to be created or modified to add the MCP server.
40
40
41
+ Note: The configuration file syntax can be different across clients. Please refer to the following links for the latest expected syntax:
42
+
41
43
- ** Windsurf** :https://docs.windsurf.com/windsurf/mcp
42
44
- ** VSCode** : https://docs.codeium.com/docs/mcp
43
45
- ** Claude Desktop** : https://modelcontextprotocol.io/quickstart/user
@@ -49,7 +51,7 @@ You can pass your connection string via args, make sure to use a valid username
49
51
50
52
``` json
51
53
{
52
- "servers " : {
54
+ "mcpServers " : {
53
55
"MongoDB" : {
54
56
"command" : " npx" ,
55
57
"args" : [
@@ -69,7 +71,7 @@ Use your Atlas API Service Account credentials. More details in the [Atlas API A
69
71
70
72
``` json
71
73
{
72
- "servers " : {
74
+ "mcpServers " : {
73
75
"MongoDB" : {
74
76
"command" : " npx" ,
75
77
"args" : [
@@ -258,7 +260,7 @@ export MDB_MCP_LOG_PATH="/path/to/logs"
258
260
259
261
``` json
260
262
{
261
- "servers " : {
263
+ "mcpServers " : {
262
264
"MongoDB" : {
263
265
"command" : " npx" ,
264
266
"args" : [" -y" , " mongodb-mcp-server" ],
@@ -274,7 +276,7 @@ export MDB_MCP_LOG_PATH="/path/to/logs"
274
276
275
277
``` json
276
278
{
277
- "servers " : {
279
+ "mcpServers " : {
278
280
"MongoDB" : {
279
281
"command" : " npx" ,
280
282
"args" : [" -y" , " mongodb-mcp-server" ],
@@ -301,7 +303,7 @@ npx -y mongodb-mcp-server --apiClientId="your-atlas-client-id" --apiClientSecret
301
303
302
304
``` json
303
305
{
304
- "servers " : {
306
+ "mcpServers " : {
305
307
"MongoDB" : {
306
308
"command" : " npx" ,
307
309
"args" : [
@@ -319,7 +321,7 @@ npx -y mongodb-mcp-server --apiClientId="your-atlas-client-id" --apiClientSecret
319
321
320
322
``` json
321
323
{
322
- "servers " : {
324
+ "mcpServers " : {
323
325
"MongoDB" : {
324
326
"command" : " npx" ,
325
327
"args" : [
You can’t perform that action at this time.
0 commit comments