findLABSCO SUMMARY
Database work in conversation, with your own validation still in the way.
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.
What it is
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.
What you get
- 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
Requirements
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.
Setup effort
One command plus credentials — npx -y mongo-mongoose-mcp, then supply credentials
USE CASES
Answering a question about live data
Query with a filter and projection, or count, without opening a shell.
Getting a number that needs grouping
Run an aggregation pipeline rather than pulling rows back and adding them up.
Fixing one record
Insert or update a single document, with Mongoose validation applied when a schema path is set.
Removing something without losing it
Deletes are soft, so the document can be brought back.
Making a slow query fast
List the indexes on the collection, then create the one that is missing.
Getting oriented in an unfamiliar database
List the collections first.
10 tools
Listed in project docs. Your client may show a different list.
listCollectionsinsertOneupdateOnedeleteOnecountaggregatecreateIndexdropIndexindexesBEFORE YOU INSTALL
What to know first
Tools you get
10 tools named in the project's documentation.
Requires
- npx on PATH
- Node.js
- MONGODB_URI in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
npx -y mongo-mongoose-mcpMCP Clients
Claude Desktop
{
"mcpServers": {
"mongodb-mongoose": {
"command": "npx",
"args": [
"-y",
"mongo-mongoose-mcp"
],
"env": {
"MONGODB_URI": "<YOUR_MONGODB_URI>",
"SCHEMA_PATH": "<YOUR_SCHEMA_PATH>"
}
}
}
}