Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories IDEs
Created by Guest
Created on Nov 10, 2020

predefined connections array on settings, this helps on devcontainer setups alot

sqltools is already using similar idea to handle connections "sqltools.connections": [ { "name": "Container database", "driver": "MariaDB", "server": "localhost", "previewLimit": 50, "port": 3306, "database": "....", "username": ".....", "password": "....." } ]
  • ADMIN RESPONSE
    Oct 18, 2025
    Hi all! v1.12.0 and above includes a new mdb.presetConnections configuration for settings.json. It's a simple configuration in form: "mdb.presetConnections": [ { "name": "Preset Connection", "connectionString": "mongodb://localhost:27017" } ] We recommend updating to the latest version of the extension and trying this out! Let us know if you run into any issues.
  • Guest
    Dec 22, 2024
    And just for the linking. Here is the feature request issue on GitHub: https://github.com/mongodb-js/vscode/issues/368
  • Guest
    Dec 22, 2024
    Agree with Russell. Faced the same issue, a lot of other extensions provides this ability, would be great if mongodb extensions will do the same
  • Guest
    Oct 18, 2024
    This is a critical make or break feature and is not only valuable for devcontainers, but also codespaces which is based on devcontainers. The ability to have a complete dev environment including tool configuration at the click of a button is extremely valueable