MongoDB for VS Code

Database

Connect to MongoDB, explore databases, and run queries from VS Code

by MongoDB

3000000+
Installs

One-click install

More clients (VS Code Insiders, Antigravity…)

Antigravity (Google) and other VS Code forks support the same Marketplace — search for MongoDB for VS Code inside the IDE.

CLI install

Run this command in your terminal to install the extension:

code --install-extension mongodb.mongodb-vscode

Install from VS Code

  1. Open VS Code and press Ctrl+Shift+X (or Cmd+Shift+X on macOS) to open the Extensions panel.
  2. Search for mongodb.mongodb-vscode.
  3. Click Install and reload if prompted.

Details

Publisher: MongoDB
Category: Database
Installs: 3000000+
Extension ID: mongodb.mongodb-vscode