MongoDB MCP Server
Installation
Use the upstream install or setup path that matches your environment:
- npm view mongodb@vX.Y.Z dist.tarball
- npm install mongodb
- npm install -D @types/node
- npm init -y
Requirements and caveats from upstream:
MongoDB Node.js Driver
- The official MongoDB driver for Node.js.
- Upgrading to version 7? Take a look at our upgrade guide here!
Basic usage or getting-started notes:
To verify the integrity of the downloaded package, run the following command:
After you've created your own project using npm init, you can run:
bash
Extracted from upstream docs: https://raw.githubusercontent.com/mongodb/node-mongodb-native/HEAD/README.md