MongoDB
NoSQL document database — query, insert, update, and delete documents via the Atlas Data API
Actions
| Name | Description |
|---|---|
find_documentsFind multiple documents matching a filter in a collection | Find multiple documents matching a filter in a collection |
find_oneFind a single document matching a filter in a collection | Find a single document matching a filter in a collection |
insert_oneInsert a single document into a collection | Insert a single document into a collection |
insert_manyInsert multiple documents into a collection | Insert multiple documents into a collection |
update_oneUpdate a single document matching a filter | Update a single document matching a filter |
update_manyUpdate all documents matching a filter | Update all documents matching a filter |
delete_oneDelete a single document matching a filter | Delete a single document matching a filter |
delete_manyDelete all documents matching a filter | Delete all documents matching a filter |
aggregateRun an aggregation pipeline on a collection | Run an aggregation pipeline on a collection |
custom_api_callMake a custom API call to the MongoDB Atlas Data API | Make a custom API call to the MongoDB Atlas Data API |
Quick Start
import { WeavzClient } from '@weavz/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute({
integrationName: 'mongodb',
actionName: 'find_documents',
input: { /* ... */ },
connectionId: 'conn_id',
workspaceId: 'ws_id',
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect MongoDB to my app?
Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.
What actions does MongoDB support?
MongoDB supports 10 actions including Find Documents, Find One Document, Insert One Document, Insert Many Documents, Update One Document, and more.
Can I use MongoDB with AI agents?
Yes. Add MongoDB to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.
What authentication does MongoDB use?
MongoDB uses Custom. Weavz handles token management, refresh, and secure credential storage automatically.
How much does the MongoDB integration cost?
The MongoDB integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.
Connect MongoDB in 2 minutes
Get 1,000 free actions every month. No credit card required.