vscode
Connect to MongoDB and Atlas and directly from your VS Code environment, navigate your databases and collections, inspect your schema and use playgrounds to pro
What is vscode?
Connect to MongoDB and Atlas and directly from your VS Code environment, navigate your databases and collections, inspect your schema and use playgrounds to prototype queries and aggregations.
Overview of vscode
What it is
MongoDB for VS Code is an extension that allows you to connect to MongoDB and MongoDB Atlas directly from your VS Code environment. It enables navigation of databases and collections, schema inspection, and the use of playgrounds to prototype queries and aggregations.
Key features
- Navigate databases, collections, and read-only views; view and edit documents; get a quick overview of schema and indexes.
- MongoDB Playgrounds: prototype and execute CRUD operations and other MongoDB commands with syntax highlighting and intelligent autocomplete for MongoDB Shell API, BSON types, Query API, system variables, and database/collection/field names.
- Document editing: open documents in editor tabs, edit, and save changes back to MongoDB.
- Quick access to the MongoDB Shell from the command palette (requires
mongoshin$PATH). - Terraform snippet for MongoDB Atlas: type
atlasin a Terraform file to get started with the MongoDB Atlas Provider. - Atlas Stream Processing: connect to Atlas Stream Processing instances and develop stream processors using playgrounds.
- MongoDB MCP Server: register a built-in MCP server with VS Code so AI agents (e.g., GitHub Copilot agent mode) can query data, inspect schemas and indexes, and manage Atlas resources through the active connection.
Use cases
- Prototype and test queries, aggregations, and MongoDB commands directly inside VS Code.
- Browse and edit documents in MongoDB collections without leaving the editor.
- Manage MongoDB Atlas infrastructure with Terraform snippets.
- Develop stream processors for Atlas Stream Processing.
- Enable AI agents to interact with MongoDB data and schema through the MCP server.
Getting started
See the repository README for installation instructions.
License and pricing
Licensed under Apache-2.0. Open source and free to use.
Based on the project's public README and repository metadata.