MCP Server for MongoDB

Build 25.0.9440

SearchDocument

Retrieves an entire MongoDB document as a JSON-formatted string, maintaining its native structure.

Input

Name Type Description
Collection String The name of the MongoDB collection to search within.
_id String The unique identifier (_id) of the document to retrieve from the collection.

Result Set Columns

Name Type Description
Document String Returns the full JSON document as a string, preserving its original structure.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440