Docs Menu

Install MongoDB for VS Code

On this page

  • Prerequisites
  • Procedure

MongoDB for VS Code is currently available as a Preview in the Visual Studio Marketplace. The product, its features, and the corresponding documentation may change during the Preview stage.

Before you can install MongoDB for VS Code, you must install Visual Studio Code. You can download Visual Studio Code from


In Visual Studio Code, click the Extensions icon in the left navigation.

Alternatively, you can open the Extensions view by pressing:

  • Control + Shift + X or
  • Command + Shift + X.

Once the installation is complete, the Install button changes to the Manage gear button.

Once you install MongoDB for VS Code, you can view data in your deployment and create Playgrounds to interact with your data.

To configure MongoDB for VS Code settings, see MongoDB for VS Code Settings.

Give Feedback
© 2021 MongoDB, Inc.


  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.