A browser-based port of MongoDB Compass (version 0.5.0) that provides a GUI for MongoDB databases. Released as an npm package and Docker image, it supports MongoDB Atlas, Amazon DocumentDB, and Azure Cosmos DB. Features include query export to JSON/CSV, data import, Gen AI integration, editable connections, and a Mongo shell (added in 0.5.0). Compass Web is built on top of @mongodb-js/compass-web v1.46.2 and is designed for easy deployment in web environments. It offers CLI and environment variable configuration, optional basic auth and OIDC support, and connection encryption. The project is actively maintained with frequent releases.
npm install compass-webNo compatibility data collected yet for this library.
Installs and runs the Compass Web server with a local MongoDB connection.
Use --master-password to enable encrypted persistent storage.
Pass --enable-edit-connections flag or set CW_ENABLE_EDIT_CONNECTIONS=true.
Use OIDC authentication instead of basic auth for production.
Use space delimiters: --mongo-uri="uri1 uri2"
Ensure build tools are installed (e.g., python, make, C++ compiler).
Install globally: npm install -g compass-web
Use --port flag to specify a different port.
Start MongoDB or verify the connection string.
No dependency data recorded yet.