You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-13Lines changed: 25 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ node -v
42
42
43
43
### Quick Start
44
44
45
-
> **Note:**When using Atlas API credentials, be sure to assign only the minimum required permissions to your service account. See [Atlas API Permissions](#atlas-api-permissions) for details.
45
+
> **Default Safety Notice:**All examples below include `--readOnly` by default to ensure safe, read-only access to your data. Remove `--readOnly` if you need to enable write operations.
46
46
47
47
Most MCP clients require a configuration file to be created or modified to add the MCP server.
48
48
@@ -66,7 +66,8 @@ You can pass your connection string via args, make sure to use a valid username
66
66
"-y",
67
67
"mongodb-mcp-server",
68
68
"--connectionString",
69
-
"mongodb://localhost:27017/myDatabase"
69
+
"mongodb://localhost:27017/myDatabase",
70
+
"--readOnly"
70
71
]
71
72
}
72
73
}
@@ -90,7 +91,8 @@ Use your Atlas API Service Accounts credentials. Must follow all the steps in [A
90
91
"--apiClientId",
91
92
"your-atlas-service-accounts-client-id",
92
93
"--apiClientSecret",
93
-
"your-atlas-service-accounts-client-secret"
94
+
"your-atlas-service-accounts-client-secret",
95
+
"--readOnly"
94
96
]
95
97
}
96
98
}
@@ -102,7 +104,7 @@ Use your Atlas API Service Accounts credentials. Must follow all the steps in [A
0 commit comments