Skip to main content
Save your API key so the CLI and MCP server can use it automatically.

Synopsis

You’ll be prompted to paste your API key. Paste it and press enter.

What it does

  • Stores the key at ~/.config/percio/credentials.json.
  • Makes the key available to every future percio and percio-mcp invocation on this machine.

Example

When to use this

  • First time you install the CLI on a machine.
  • After rotating your API key on the dashboard.

When not to use this

  • In CI — prefer the PERCIO_API_KEY environment variable so nothing writes to disk.
  • On shared machines where you don’t want your key persisted for other users of your account.
See Authenticate for the full comparison.

Where the key is stored

Delete this file to log out. PERCIO_API_KEY (if set) takes precedence over whatever is in the file.

What’s next