The fastest way to connect an MCP client to Vlozi — no copying a key out of a settings page, no editing a config file by hand.
npx @vlozi/cli auth loginThis opens your browser to approve the connection, then automatically configures whatever MCP client it finds on your machine (Claude Code, Claude Desktop, Cursor).
Or, skip the terminal — tell your agent
Already inside Claude Code, Cursor, Codex CLI, Gemini CLI, Windsurf, Antigravity, or Grok Build? Copy this and send it as a chat message — your agent runs the command and the browser step for you:
Set up Vlozi for me so you can manage my blog, content, and workspace from here.
1. Install the CLI: run `npm i -g @vlozi/cli`.
2. Authenticate: run `vlozi auth login` and complete the sign-in in the browser it opens — this also connects you (this agent) automatically, no separate MCP config needed.
Once that's done, let me know when it's ready and list my blog categories.What happens
- Your terminal shows a short code and opens the connect page in your dashboard.
- Log in if you aren't already, review what's connecting (client name, the IP it's connecting from), and pick a role — the same roles you'd choose from in Settings → API Keys.
- Click Approve. The CLI picks this up within a few seconds and finishes setup.
Under the hood this mints an ordinary API key, the same kind Settings → API Keys creates — it just skips the copy-paste. The key shows up there afterward too, so you can review, rotate, or revoke it exactly like any other key.
Other commands
npx @vlozi/cli auth status # is the connection still working, and when does it expire?
npx @vlozi/cli auth token # print the raw key, e.g. for piping into a script
npx @vlozi/cli auth logout # revoke the key server-side and delete the local credentials fileauth logout revokes the key so it stops working everywhere, and removes it from Claude Code if this CLI was the one that configured it there — it doesn't touch Cursor's or Claude Desktop's config files, so remove the vlozi entry from those by hand (or run vlozi configure again) if you'd configured them too.
auth login mints a 90-day key. auth status warns you before it expires — run auth login again to refresh it.
Add --json to any command for machine-readable output, or --no-color to disable colored output.
Not detected automatically?
If your client isn't one of the ones the CLI configures directly, it prints a ready-to-paste config block instead. See MCP clients for the full list and manual setup — also the right page for CI pipelines and other headless/non-interactive cases, where a plain API key is the better fit anyway.
TIP
If your client has its own built-in "Connect" or "Sign in" button (Claude.ai, ChatGPT), skip the CLI entirely — see the "Claude.ai, ChatGPT (and other OAuth clients)" section on the MCP clients page instead. No key, no CLI, nothing to run locally.