Skip to main content
Glama

MCP-MongoDB-MySQL-Server

mongodb_update

Modify documents in a MongoDB collection by specifying a filter and update operations. Supports updating single or multiple records via the MCP-MongoDB-MySQL-Server interface.

Instructions

Update documents in a MongoDB collection

Input Schema

NameRequiredDescriptionDefault
collectionYesCollection name
filterYesMongoDB query filter
manyNoUpdate multiple documents if true
updateYesMongoDB update operations

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name", "type": "string" }, "filter": { "description": "MongoDB query filter", "type": "object" }, "many": { "description": "Update multiple documents if true", "optional": true, "type": "boolean" }, "update": { "description": "MongoDB update operations", "type": "object" } }, "required": [ "collection", "filter", "update" ], "type": "object" }
Install Server

Other Tools from MCP-MongoDB-MySQL-Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yaoxiaolinglong/mcp-mongodb-mysql-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server