MotionQL
IntelliShell & scripting

A mongosh-style shell that can't be tricked into running code

Type the commands you know from mongosh with autocomplete and history. Commands are parsed as literals, and an optional Script mode runs real JavaScript in a local sandbox.

MotionQL IntelliShell with a find command, autocomplete and results

show dbs, use, find, aggregate, runCommand: the commands you already type, with readable results.

Capabilities

What you can do with it

The commands you know

show dbs, use, find with sort / skip / limit / hint / collation / explain, aggregate, distinct, insert, update, replace, delete, index commands, runCommand and currentOp.

Literal parsing by default

Arguments must be literals and BSON constructors (ObjectId, ISODate, NumberLong, NumberDecimal). Nothing you paste can execute code unless you opt in.

Script mode

Variables, loops and functions in a QuickJS sandbox on your computer, with rs.*, sh.*, exact NumberLong math and cursor read preference. Database calls still follow the connection's policies.

Autocomplete

Collections, fields from a schema sample, and operators.

History and snippets

Per-connection history with search, plus your own snippets.

Query Assist

Edit results in place and explain from the shell.

Scripts as files

Save and open .js files, and schedule a script as a task (Pro).

Guarded writes

Drops and unfiltered deleteMany / updateMany ask for confirmation, and writes are refused on read-only connections.

Related features

Your next query deserves a better IDE.

Create a free account, download MotionQL, and paste your Pro key. You'll be querying in under two minutes.