> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nuphos.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MongoDB

> Connect a database with a bounded agent access policy.

An Administrator opens **Connectors → Connect → MongoDB** (the Add database
flow). MongoDB is the released engine for this interface; do not infer support
for other database engines from an installed CLI.

Enter a name and connection string, plus environment and tags when useful.
Choose **Agent access**: Disabled, Metadata only, or Read-only queries. Test the
connection and review the result before adding it. Enter the URI in the secure
field; it can contain credentials and must not be pasted into a chat or repo.

## Two permission layers

The database account can be read-only or write-capable, but the selected Nuphos
agent policy still constrains operations. Prefer a database account with the
smallest server-side privileges as well. A valid URI does not bypass MongoDB
network rules, TLS requirements or authentication database settings.

## Inspect and query

Use the database's Overview, Collections and Query pages, or select the connection
for an agent. Ask for bounded results and a specific database/collection. Review
Changes, Access and Audit where relevant. Backup/Restore and Parameters workflows
are not released through this interface; do not plan around hidden entries.

## Troubleshoot and remove

Check backend reachability, network allow-lists, TLS and the database user before
changing permissions. Removing the binding ends that connection in Nuphos; it
does not delete the database or revoke its database user. Rotate or revoke that
user at MongoDB separately when required.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.