Skip to content
Weavz
Menu
MongoDB

MongoDB MCP integration

NoSQL document database — query, insert, update, and delete documents via the Atlas Data API

Sign in, add MongoDB in Apps, then choose the account your AI can use.

10 tools
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Get started with MongoDB

  1. Add MongoDB to your Weavz workspace and connect the account you want to use.
  2. Review the available tools below and enable the actions your task needs. Check the account permissions before allowing changes.
  3. Connect a compatible AI client to your workspace, or use the actions API from your application.

Tools

Name

Find Documents

find_documents

Find multiple documents matching a filter in a collection

Find One Document

find_one

Find a single document matching a filter in a collection

Insert One Document

insert_one

Insert a single document into a collection

Insert Many Documents

insert_many

Insert multiple documents into a collection

Update One Document

update_one

Update a single document matching a filter

Update Many Documents

update_many

Update all documents matching a filter

Delete One Document

delete_one

Delete a single document matching a filter

Delete Many Documents

delete_many

Delete all documents matching a filter

Aggregate

aggregate

Run an aggregation pipeline on a collection

Custom API Call

custom_api_call

Make a custom API call to the MongoDB Atlas Data API

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('mongodb', 'find_documents', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'mongodb',
  input: { /* ... */ },
})

Related Integrations

Explore integrations in other categories

Frequently Asked Questions

Is there a MongoDB MCP server through Weavz?

Yes. Add the MongoDB integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 10 MongoDB actions.

What can an AI agent do with MongoDB?

Available actions include Find Documents, Find One Document, Insert One Document, Insert Many Documents, Update One Document, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.

How do I connect MongoDB to Claude or ChatGPT?

Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add MongoDB, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.

Can I use MongoDB through an API or SDK?

Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.

What authentication does MongoDB require?

The catalog lists custom credentials for MongoDB. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.

How do I review sensitive MongoDB actions?

Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.

What limits or costs apply to MongoDB?

Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.

Connect MongoDB in minutes

Get 20,000 free action executions every month. No credit card required.