browse
atlas/

MongoDB Atlas CLI

MongoDB

Command line interface for MongoDB Atlas cloud database management and operations.

Databases & DataJSON
01Agent Notes

atlas CLI manages MongoDB Atlas clusters. `atlas clusters create/list/describe`. Use `-o json` for structured output. Requires project context via --projectId or `atlas config set project_id`.


02Global Flags
FlagTypeDescription
-o/--outputenum [json, text, go-template]Output format
--projectIdstringProject ID to target

03Authentication
Methods
access-tokenconfig-file
Env vars
MONGODB_ATLAS_PUBLIC_API_KEYMONGODB_ATLAS_PRIVATE_API_KEYMONGODB_ATLAS_ORG_ID
Config files
~/.config/atlascli/
Setupatlas auth login

04Install
brew install mongodb-atlas-cli
Download binary →

05Capabilities
Reference
binaryatlas
checkatlas --version
authaccess-token, config-file
formatstext
json flag-o json
versionatlascli/v1.53.1