MongoDB for VS Code. MongoDB Without Leaving Your IDE.
Build applications and work with your data in MongoDB directly from your VS Code environment. Over one million downloads and counting.
See the MongoDB for VS Code Extension in action! Learn how to navigate your data on MongoDB, build queries and aggregations and export them to popular programming languages, prototype with Playgrounds, and more.
Navigate your MongoDB DataConnect to a MongoDB or Atlas cluster, navigate through your databases and collections, get a quick overview of your schema and indexes, and see the documents in your collections.
MongoDB PlaygroundsThe best way to prototype your CRUD operations and MongoDB commands:
- Edit and run your playgrounds to see the results immediately
- MongoDB Syntax Highlighting
- Intelligent autocomplete for commands, operators and database, collection and field names
- Stage snippets to create aggregations quickly
Quick Access to the MongoDB ShellLaunch the MongoDB Shell from the command palette to quickly connect to the same cluster you have active in VS Code.
Automate Atlas configuration with TerraformDo you manage your infrastructure with Terraform? With MongoDB for VS Code, you can easily leverage the MongoDB Atlas Terraform Provider via a snippet to set up and configure your Atlas resources.
Export to LanguageExport your query or aggregation (including driver-specific language) to your programming language of choice. Current languages supported in include Node.js, Python, Java, C#, and Ruby.
An introduction to MongoDB for VS Code and all the benefits that comes with using this integration.
Install & connect
MongoDB provides an extension for VS Code which allows for work with MongoDB and your data directly within your coding environment.