Slima MCP

slima-mcp CLI commands reference

Lectura de 4 min

The slima-mcp package is also a CLI for day-to-day management.

Slima Authorized Apps: tokens obtained via slima-mcp CLI appear here and can be revoked

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):

  1. Run logout to clear local
  2. 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?