update-document
Updates documents which could overwrite existing data
How to use it
update-document is exposed by the Mongodb Lens MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the update-document tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Mongodb Lens
npx -y mongodb-lensOther tools in Mongodb Lens (9)
Can perform batch deletions when configured to do so
Creates users with permissions that could enable further changes
Removes documents matching specified criteria
Permanently deletes collections and all their documents
Permanently deletes entire databases
Removes indexes (can impact query performance)
Removes database users and their access permissions
Can overwrite existing collections when using the drop target option
Executes multiple operations in a transaction (potential for complex changes)