slima-mcp CLI commands reference
قراءة 4 دقيقة
The
slima-mcppackage is also a CLI for day-to-day management.

auth
npx slima-mcp@0 auth
Runs the OAuth flow: opens browser, sign in, saves token to ~/.slima/credentials.json.
Options:
--no-browser— don't auto-open, show URL for manual--port 8901— local callback port (default 8900)
status
npx slima-mcp@0 status
Shows:
- Whether the token is valid
- Connected Slima account email
- Last token use
- Time until expiry
logout
npx slima-mcp@0 logout
Deletes ~/.slima/credentials.json (doesn't revoke server-side).
To fully revoke (including server):
- Run
logoutto clear local - Then: Manage authorized apps → revoke
--version
npx slima-mcp@0 --version
Current slima-mcp version.
--help
npx slima-mcp@0 --help
npx slima-mcp@0 auth --help
Per-command details.
Token file location
cat ~/.slima/credentials.json
Format:
{
"token": "slima_xxx...",
"email": "[email protected]",
"created_at": "2026-05-14T..."
}
File permissions are auto-set to 600 — only your user can read.
Cross-platform
| OS | Path |
|---|---|
| macOS / Linux | ~/.slima/credentials.json |
| Windows | %USERPROFILE%\.slima\credentials.json |
Related
Was this helpful?