@atoms-tech/atoms-mcp 0.98.2 → 0.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,6 +81,9 @@ ATOMS MCP uses **OAuth 2.1 with PKCE** — the same flow used by GitHub CLI and
|
|
|
81
81
|
# Interactive login (opens browser)
|
|
82
82
|
npx @atoms-tech/atoms-mcp@latest login
|
|
83
83
|
|
|
84
|
+
# Email and password account (asks for the password in this terminal)
|
|
85
|
+
npx @atoms-tech/atoms-mcp@latest login --email you@example.com
|
|
86
|
+
|
|
84
87
|
# Check current session
|
|
85
88
|
npx @atoms-tech/atoms-mcp@latest whoami
|
|
86
89
|
|
|
@@ -95,12 +98,17 @@ npx @atoms-tech/atoms-mcp@latest logout
|
|
|
95
98
|
3. Tokens are stored locally at `~/.atoms/credentials.json`
|
|
96
99
|
4. Tokens auto-refresh — you only need to login once
|
|
97
100
|
|
|
101
|
+
The browser login continues with Google. If you sign in to ATOMS with an email and password, use
|
|
102
|
+
`login --email` instead: it asks for your password without showing it (never pass it as an argument),
|
|
103
|
+
signs in, and saves the same credentials file.
|
|
104
|
+
|
|
98
105
|
You can also set `ATOMS_ACCESS_TOKEN` as an environment variable for CI/headless use.
|
|
99
106
|
|
|
100
107
|
## CLI Commands
|
|
101
108
|
|
|
102
109
|
```
|
|
103
110
|
npx @atoms-tech/atoms-mcp@latest login # Authenticate with ATOMS
|
|
111
|
+
npx @atoms-tech/atoms-mcp@latest login --email [address] # Sign in with email and password
|
|
104
112
|
npx @atoms-tech/atoms-mcp@latest logout # Clear stored credentials
|
|
105
113
|
npx @atoms-tech/atoms-mcp@latest whoami # Show current user
|
|
106
114
|
npx @atoms-tech/atoms-mcp@latest --help # Show all commands
|