The shell binary needs to be in your $PATH. The shell binary can be either the mongo shell or the new MongoDB Shell (mongosh). In the extension's settings you can switch between the two. code example
Example: how to connect remote mongodb in cmd
mongo "mongodb://[email protected]:28015/?authSource=admin"