Skip to main content

MongoDB

Where to get a MongoDB connection string and how to connect it to Nora.
MongoDB integrations expect a single connection string that encodes host, port, credentials, and database. The string is treated as a sensitive value (encrypted at rest) and exposed to the agent as the MONGODB_URI env var.

Where to apply for credentials

ProviderWhere to get the connection string
MongoDB AtlasCluster → Connect → Connect your application → Driver: Node.js
AWS DocumentDBRDS Console → DocumentDB → your cluster → Connect with mongo shell
Self-hostedBuild by hand: mongodb://user:pass@host:27017/db?authSource=admin
For Atlas, the format is:
mongodb+srv://<user>:<password>@<cluster>.mongodb.net/<database>?retryWrites=true&w=majority
URL-encode any special characters in the username or password.

Connect in Nora

1

Open the MongoDB integration

From an agent’s detail page, open the Integrations tab and find MongoDB.
2

Paste the connection string

Paste the full URI into the Connection String field. Test it locally first with mongosh or your driver — Nora doesn’t dial out from the control plane.
3

Connect

Click Connect. Nora parses the URI to confirm it uses mongodb:// or mongodb+srv:// and stores it encrypted.

Verify the connection

The Test button repeats the URI parse. The agent runtime verifies real connectivity on its first query.

MCP server

No official MongoDB MCP server today. Community packages exist but aren’t stable.

Environment variables Nora injects

VariableSource
MONGODB_URIConnection String field