This section includes information on the MongoDB MCP server security options.
Authentication
SCRAM is the default authentication mechanism for MongoDB. To connect to your MongoDB deployments with the MCP server using other authentication methods, see the following pages:
Compatibility
SCRAM | X.509 | Kerberos | LDAP | OIDC | |
---|---|---|---|---|---|
MongoDB Community | ✓ | ✓ | |||
MongoDB Enterprise | ✓ | ✓ | ✓ | ✓ | ✓ |
MongoDB Atlas (M10 and above) | ✓ | ✓ | ✓ | ✓ | |
MongoDB Atlas (Free Tier) | ✓ | ✓ | |||
MongoDB Atlas (Flex) | ✓ | ✓ |
To learn more about the available authentication mechanisms in MongoDB, see Authentication Mechanisms.