Connect your agent

Quick connect (CLI login)

Connect Claude Code, Claude Desktop, Cursor, and more with one command.

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 login

This opens your browser to approve the connection, then automatically configures whatever MCP client it finds on your machine (Claude Code, Claude Desktop, Cursor).

What happens

  1. Your terminal shows a short code and opens the connect page in your dashboard.
  2. 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.
  3. 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 it and remove it from this machine

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's remote-MCP connector), skip the CLI entirely — see the "Claude.ai (and other OAuth clients)" section on the MCP clients page instead. No key, no CLI, nothing to run locally.

MCP · Connect your agentEdit on GitHub