mongo-memory-cli
v1.6.0
Published
Installable CLI for the hosted Mongo Memory MCP server
Readme
mongo-memory-cli
Installable CLI for the hosted Mongo Memory MCP server.
Install
npm install -g mongo-memory-cliFirst-time auth
mongo-memory auth loginThat command:
- starts a short-lived CLI auth session
- opens the hosted browser login flow
- waits for the server to hand the generated API key back automatically
- stores the CLI config locally for reuse
If the CLI cannot open the browser automatically:
mongo-memory auth login --manualLeave the terminal command running while you complete the browser login.
Verify
mongo-memory auth status --json
mongo-memory health --jsonUsage
mongo-memory search "connection pooling" --json
mongo-memory store "Mongo uses connection pooling with 10 max connections" --domain technical
mongo-memory get <memory-id>
mongo-memory update <memory-id> --content "Updated content"
mongo-memory delete <memory-id>Config location
macOS:
~/Library/Application Support/mongo-memory/config.jsonLinux:
~/.config/mongo-memory/config.jsonWindows:
%APPDATA%\mongo-memory\config.jsonOverride the config path by setting MONGO_MEMORY_CONFIG_FILE=/path/to/config.json.
