Skip to main content
Glama

MCP Server Boilerplate

mongo-create-document

Insert new documents into MongoDB collections using JSON data. Specify database, collection, and document content to add records to your database.

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

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