Connect Gemini CLI
قراءة 3 دقيقة
Gemini CLI adds an MCP server in one command — the cleanest setup.

Prereqs
- Gemini CLI ≥ 0.4 (check:
gemini --version) - Node.js (comes with npm)
Steps
1 · Get token
npx slima-mcp@0 auth
2 · Add the server
gemini mcp add slima --command "npx -y slima-mcp@0"
3 · Verify
gemini mcp list
slima should appear in the active server list.
New chat:
gemini chat "List my Slima books"
Remove / reset
Remove:
gemini mcp remove slima
Reset token (e.g. after revocation):
npx slima-mcp@0 auth # re-run OAuth
gemini mcp restart slima
Multi-machine
If you use multiple machines:
- Token must be set per-machine (run
npx slima-mcp@0 authon each) - Same Slima account can have multiple tokens, no conflict
Related
Was this helpful?