r/mongodb • u/gokhanozgezer • 4h ago
I built a self-hosted, browser-based MongoDB manager for teams (open source, AGPL-3.0)
Hi r/mongodb! Compass is a great tool, but it's built for one person on one laptop. I wanted something my whole team could use from a browser, running on our own server, with roles, an audit log and backups built in. So I built Mongo Manager.
GitHub: https://github.com/mongo-manager/mongo-manager
What it does for MongoDB specifically:
- Query plans: explain output as a tree with warnings, and a suggested index prefilled ("why is it slow?"). On sharded clusters it shows each shard's plan.
- Aggregation builder: stage cards with a live preview of each stage on a sample;
$out/$mergeonly run after a confirmation. Pipelines export to Node.js, Python, Java, Go, C#, PHP, Ruby and Rust. - Indexes: every type and option,
$indexStatsusage, plus Atlas Search and Vector Search indexes. - Schema analysis: field types, frequency and value histograms; generate validation rules from a sample and test them against existing documents.
- Replica sets: member status and replication lag with 7 days of history, lag alerts, and change streams with filters and pre-images.
- Sharding: chunk distribution per shard, zones, balancer windows, and a shard key check before you shard a collection.
- Live sync: a continuous, verified copy between connections, ending with a cutover.
- Backups: mongodump archives or encrypted files, scheduled, to S3, Google Drive, WebDAV or a local folder; restores get a dry run first.
- Auth: SCRAM, X.509, LDAP, AWS IAM, OIDC, Kerberos, SSH tunnels; CSFLE and Queryable Encryption.
For teams: admin/editor/viewer roles, access per connection, 2FA, a hash-chained audit log, and rule-based masking of personal data.
Try it: npx @mongo-manager/app (Node 24+), Docker, or a standalone binary. Supports MongoDB 6.0+, Atlas included. Works fully offline.
About AI: there's an optional AI agent (your own provider, or Ollama locally) that never changes anything without your confirmation. Also, to be upfront: most of the code was written with Claude. I designed it, reviewed it, and the server tests run against real MongoDB 6.0, 7.0, 8.0 and 8.3 servers and replica sets.
It's a new project, so I'd really appreciate feedback, especially from people running replica sets or sharded clusters in production. What would you need before trusting a tool like this with your databases?