AnnouncementBuilt for unpredictable AI demand: Atlas Infinite and MongoDB 9.0 are here. Read more >  >>
AnnouncementMeet the intelligent data platform built for the AI era. Read more > >>
NewNow in public preview: Atlas Agent Engine, the secure way to run AI agents at scale. Read more > >>

Getting started with the MongoDB MCP Server

Follow these steps to get started with the MongoDB MCP Server.

Illustration of a pair of hands working on a laptop

Start your journey to AI-assisted engineering

number_1

Deploy or connect

The MongoDB MCP Server provides database and Atlas tools for a range of operations. Install the server or use the Atlas Managed MCP Server and connect to your MongoDB deployment with the proper access and permissions.

Learn more
number_2

Configure with your favorite AI tool

The MongoDB MCP Server can be set up through various IDE templates or marketplaces, installed via coding agent commands, or configured directly in configuration files.

Get started
number_3

Ship faster

Explore and manage databases with natural language directly in your development environment and generate context-aware queries and code.

View usage examples

Explore more resources

general_content_play

MongoDB MCP Server with Cursor

Step-by-step guide to setting up Cursor with the MongoDB MCP Server for natural language queries, database operations, and AI-powered engineering.

Watch video
general_content_play

MongoDB MCP Server with Windsurf

Step-by-step guide to using Windsurf with the MongoDB MCP Server for agentic coding with database context.

Watch video
general_action_read

Check out our docs

Get the most out of the MongoDB MCP Server with in-depth documentation, configuration files snippet, usage examples, and more.

View usage examples

Get started with the MongoDB MCP Server

Supercharge your coding agents with database context.
Read the DocsView on GitHub
WHY USE MCP SERVER?
  • Ship better software, faster
  • Works with your favorite AI tools
  • Simplified development workflows