Skip to main content
MongoDBResource exposes a MongoDB connection as a read-only filesystem: databases at the top level, collections inside, individual documents at the leaves. Setup steps for the connection URI live at MongoDB Credentials.

Node

Browser

The browser variant routes Mongo operations through an HTTP driver (no direct DB connection from the page). The browser examples ship a mongo_proxy Vite plugin that forwards to a server-side mongodb driver:

Config

Mount mode

read. For the database/collection/document layout see the Python MongoDB docs.