Skip to main content
Glama

MCP Server Boilerplate

mongo-create-document

Create new documents in MongoDB collections by specifying database, collection, and JSON document data for structured data insertion.

Instructions

Create a new document in a MongoDB collection

Input Schema

NameRequiredDescriptionDefault
collectionYesCollection name
databaseYesDatabase name
documentYesDocument to insert as JSON object

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name", "type": "string" }, "database": { "description": "Database name", "type": "string" }, "document": { "additionalProperties": {}, "description": "Document to insert as JSON object", "type": "object" } }, "required": [ "database", "collection", "document" ], "type": "object" }

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/RichardFelix999/mongo-boilerplate-mcp'

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