Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ A Model Context Protocol server for interacting with MongoDB Databases and Mongo

## Prerequisites

- Node.js (v20.19.0 or later)
- Node.js
- At least 20.19.0
- When using v22 then at least v22.12.0
- Otherwise any version 23+

```shell
node -v
Expand Down Expand Up @@ -374,10 +377,12 @@ To use the Atlas API tools, you'll need to create a service account in MongoDB A
To learn more about Service Accounts, check the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/api/service-accounts-overview/).

2. **Save Client Credentials:**

- After creation, you'll be shown the Client ID and Client Secret
- **Important:** Copy and save the Client Secret immediately as it won't be displayed again

3. **Add Access List Entry:**

- Add your IP address to the API access list

4. **Configure the MCP Server:**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
"zod": "^3.25.76"
},
"engines": {
"node": ">=20.19.0"
"node": "^20.19.0 || ^22.12.0 || >= 23.0.0"
Copy link

Copilot AI Jul 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version constraint syntax is inconsistent. The third range uses '>= 23.0.0' while the first two use caret ranges (^). Consider using '^23.0.0' for consistency, or if you specifically need all v23+ versions, document why this range differs from the others.

Suggested change
"node": "^20.19.0 || ^22.12.0 || >= 23.0.0"
"node": "^20.19.0 || ^22.12.0 || ^23.0.0"

Copilot uses AI. Check for mistakes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Versions >= 23.0.0 support requiring esm by default

}
}
Loading