Most Mongo servers write straight through the driver. This one runs writes through your Mongoose schemas when you give it the path, and its deletes are soft — so a wrong call is recoverable.
A MongoDB MCP server with optional Mongoose support. Point it at your Mongoose schema folder and writes go through Mongoose validation and hooks; leave that unset and the same tools run schemaless. Deletes are soft.
- Documents queried with filter and projection, counted, or run through an aggregation pipeline
- The collections in the database, listed
- A document inserted, updated, or soft-deleted
- Indexes created, dropped and listed for a collection
- Mongoose validation and hooks applied on writes when a schema path is set
Node.js 18 or higher and a MongoDB instance. The connection string is required; the schema path, pointing at the root folder of your Mongoose schema objects, is what turns validation on.
One command plus a key — npx -y mongo-mongoose-mcp, then supply credentials
