Repository navigation
Releases
0.2.3
Accepting the End User License Agreement is now required. The first CLI data command or MCP tool call opens a browser page with the EULA (v1.0) and waits for you to accept. The acceptance is recorded locally and reused afterwards, so it happens once per machine.
connections.yaml validation got stricter. Unknown keys are now rejected — at the top level and inside a connection entry — where they used to be ignored. If your file carries a stray or misspelled key, this release refuses to load it and names the key and line. This is deliberate: connections add and connections remove rewrite the file from what they parsed, so a misspelling such as passwrd: was silently dropped from the file on the next write.
Fixed
- connections add now works on a connections.yaml that exists but is empty. It used to fail with a missing field parse error, leaving you to write the connections: key by hand — the very key the command exists to write. Empty, whitespace-only and comment-only files are all accepted.
- The message shown when the config is missing or has no entries now covers the empty file as well, suggests the connections add command that fixes it, and quotes the path so it survives spaces.
- The update notice now appears on the first run after a version is released, instead of the run after that.
Added
- Clearer per-tool help text and connection error hints in the CLI.
Docs
- README has a new Per-project configuration section: giving each project its own connections.yaml via --config, pointing an MCP client registration at it, and passing credentials through the client's env block. It also states plainly that .env files are not read — env:VAR is resolved from the environment of the process running the binary.
0.2.2 minor fixes
What's Changed
- chore(deps): bump the github-actions group with 5 updates
- fix: skip latest.json update for pre-releases
- fix: render MongoDB driver errors as a clean single line
- security: harden CLI auth — remove runtime overrides and add JWT signature verification
- feat: add call-home authorisation step to login flow
- Bump the version to 0.2.2
v0.2.1
First public release of 3t-mcp — a Model Context Protocol server and CLI for MongoDB, built by the Studio 3T team.
MCP tools
| Tool | What it does |
|---|---|
list_databases |
List databases with size and collection stats |
list_collections |
List collections with storage and document stats |
list_indexes |
List indexes for a collection |
execute_query |
Run a MongoDB find query; accepts pipeline via stdin |
explain_query |
Explain query execution plan |
analyze_schema |
Sample documents and infer collection schema |
aggregate |
Run an aggregation pipeline with pagination and response size limits |
scan_pii |
Scan a collection for personally identifiable information |
CLI
All tools are available as stt-cli subcommands (databases, collections, indexes, query execute, explain, schema analyze, aggregate, scan-pii). Multi-connection support via YAML config.