Query, search, and write documents in MongoDB Atlas from Chatflow, Workflow, and Agent applications. Supports find, full-text search, vector search, aggregation, insert, update, and delete operations.
A Tool-type Dify plugin that lets Chatflow, Workflow, and Agent applications query, search, and write documents in MongoDB Atlas directly from a workflow node or agent tool call.
Companion plugins:
- Use the Voyage AI plugin to generate real vector embeddings and pipe them into the Vector Search tool's Query Vector field.
- Use the MongoDB Atlas Datasource plugin to feed Atlas collections into the Dify Knowledge Base / RAG pipeline.
Search for MongoDB Atlas Tool in the Dify Plugin Marketplace and click Install.
When installing the plugin, you will be prompted for:
Query documents using a MongoDB filter.
Output (JSON): Each document is yielded as its own JSON message — is the first document, is the second, etc. Results are directly iterable in Dify's Iterate/Loop nodes.
Atlas across all text fields. Requires an Atlas Search index.
Output (JSON): Each document is yielded as its own JSON message — directly iterable.
Output (text): A JSON array of stringified documents, pipeable to the Rerank tool's parameter.
Each document includes a field.
Atlas approximate nearest-neighbour search. Requires an Atlas Vector Search index.
* Provide either or .
Tip: Use the Voyage AI plugin's Embed Text tool to generate . The output variable can be piped directly into — the plugin automatically handles the array format.
Output (JSON): Each document is yielded as its own JSON message — directly iterable.
Output (text): A JSON array of stringified documents, pipeable to the Rerank tool's parameter.
Each document includes a field. The embedding field is excluded from results.
Run a raw MongoDB aggregation pipeline.
Output (JSON): Each result document is yielded as its own JSON message — directly iterable.
Output:
Output:
⚠️ Passing as deletes all documents in the collection.
Output:
Note: All query/search tools yield one JSON message per document. This means , , etc. are individual documents — you can pipe the output directly to an Iterate or Loop node without extracting a nested field.
All connections use , which appears in Atlas logs and the Atlas Monitoring dashboard under Application Names.
Apache 2.0 — see LICENSE [blocked] for details.