LAUNCHMongoDB 8.3 is built for the sub-100ms retrieval & zero downtime AI demands. Read blog >
AI DATAStop fighting your data layer. Get the memory & retrieval agents need to scale. Read blog >

Getting started with MongoDB for Visual Studio Code

Access your MongoDB clusters, browse your data and schemas, and test queries in playgrounds—all without leaving VS Code.

Get the ExtensionConnect MongoDB Atlas
An illustration of a computer with code on the monitor.

Launch VS Code in three easy steps

number_1

Get the extension

Install the extension directly from Visual Studio Code (View > Extensions > MongoDB for VS Code) or from the marketplace.

VS Code marketplace
number_2

Connect to MongoDB

Connect to MongoDB Atlas or your own deployment using only your connection string.

Get connection string
number_3

Explore your data with playgrounds

Prototype and execute CRUD operations and other MongoDB commands directly inside VS Code.

Learn to create playgrounds

Explore more resources

general_content_expertise

Open source

Our VS Code extension is open-source under the Apache 2.0 license. Explore the code, report issues, or contribute new features.

Contribute on GitHub
technical_mdb_llm

AI-powered development

Use GitHub Copilot to write complex queries in natural language and accelerate your development, powered by the MongoDB MCP Server.

Read the docs
general_content_tutorial

Uplevel your MongoDB Skills

Master key MongoDB concepts like data modeling, security, and scaling by completing our free, hands-on courses.

Unlock free badges

Get the MongoDB extension for Visual Studio Code

Install the extension and start working with your data in minutes.
Get It For FreeRegister now
GET STARTED TODAY
  • Manage MongoDB without leaving your IDE
  • Rapidly prototype queries & aggregations
  • Generate queries from natural language
  • Instantly generate application code
  • Direct Shell access