File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ node -v
3838
3939Most MCP clients require a configuration file to be created or modified to add the MCP server.
4040
41+ Note: The configuration file syntax can be different across clients. Please refer to the following links for the latest expected syntax:
42+
4143- ** Windsurf** :https://docs.windsurf.com/windsurf/mcp
4244- ** VSCode** : https://docs.codeium.com/docs/mcp
4345- ** 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
4951
5052``` json
5153{
52- "servers " : {
54+ "mcpServers " : {
5355 "MongoDB" : {
5456 "command" : " npx" ,
5557 "args" : [
@@ -69,7 +71,7 @@ Use your Atlas API Service Account credentials. More details in the [Atlas API A
6971
7072``` json
7173{
72- "servers " : {
74+ "mcpServers " : {
7375 "MongoDB" : {
7476 "command" : " npx" ,
7577 "args" : [
@@ -258,7 +260,7 @@ export MDB_MCP_LOG_PATH="/path/to/logs"
258260
259261``` json
260262{
261- "servers " : {
263+ "mcpServers " : {
262264 "MongoDB" : {
263265 "command" : " npx" ,
264266 "args" : [" -y" , " mongodb-mcp-server" ],
@@ -274,7 +276,7 @@ export MDB_MCP_LOG_PATH="/path/to/logs"
274276
275277``` json
276278{
277- "servers " : {
279+ "mcpServers " : {
278280 "MongoDB" : {
279281 "command" : " npx" ,
280282 "args" : [" -y" , " mongodb-mcp-server" ],
@@ -301,7 +303,7 @@ npx -y mongodb-mcp-server --apiClientId="your-atlas-client-id" --apiClientSecret
301303
302304``` json
303305{
304- "servers " : {
306+ "mcpServers " : {
305307 "MongoDB" : {
306308 "command" : " npx" ,
307309 "args" : [
@@ -319,7 +321,7 @@ npx -y mongodb-mcp-server --apiClientId="your-atlas-client-id" --apiClientSecret
319321
320322``` json
321323{
322- "servers " : {
324+ "mcpServers " : {
323325 "MongoDB" : {
324326 "command" : " npx" ,
325327 "args" : [
You can’t perform that action at this time.
0 commit comments