MongoDB provides an extension for Microsoft Visual Studio Code which lets you work with MongoDB and your data directly within your coding environment.

click to enlarge
Features
You can use MongoDB for VS Code Extension to:
Explore your MongoDB Data.
Prototype queries and run MongoDB commands.
Interact with your MongoDB data using natural language.
Create a Shared Tier Atlas cluster using a Terraform template.
Get Started
- Install MongoDB for VS Code Extension
- Install MongoDB for VS Code Extension from the VS Code Marketplace.
- Connect to Your MongoDB Deployment
- Connect to your deployment using MongoDB for VS Code Extension.
- Navigate Your Data
- Explore your databases, collections, and documents.
- Explore Your Data with Playgrounds
- Use JavaScript environments to interact your data. Prototype queries, run aggregations, and more.
- MongoDB MCP Server in MongoDB VS Code Extension
- Use the MongoDB MCP server to interact with your MongoDB data in natural language from AI clients like Github Copilot.
- MongoDB Extension for Github Copilot
- Use the MongoDB Extension for Github Copilot to generate code and queries from natural language.
- Create an Atlas Cluster from a Template using Terraform
- Create a Shared Tier Atlas cluster using a Terraform template included with MongoDB for VS Code Extension.