For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

MongoDB for VS Code Extension

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

Image of MongoDB for VS Code
click to enlarge

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.

  • Perform common MongoDB tasks using official MongoDB Agent Skills.

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 Agent Skills in MongoDB VS Code Extension

Use official MongoDB Agent Skills to perform common MongoDB tasks using AI agents.

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.