BeakrGo to website
Docs/Developer Guide/Configuration

Configuration

Configuration options for the Beakr CLI and MCP server.

Config file

Credentials and scope are stored in ~/.beakr/config.json. This file is created automatically by beakr auth login.

KeyDescription
api_keyBearer token for API authentication
api_urlAPI base URL (default: https://api.thebeakr.com)
project_idDefault project scope
dev_identity_idDev mode identity ID
dev_emailDev mode email
dev_display_nameDev mode display name

Environment variables

Environment variables override config file values. Useful for CI/CD and MCP server configuration.

VariableDescription
BEAKR_API_KEYAPI bearer token
BEAKR_API_URLAPI base URL
BEAKR_PROJECT_IDDefault project scope
BEAKR_DEV_IDENTITYDev identity ID
BEAKR_DEV_EMAILDev email
BEAKR_DEV_DISPLAY_NAMEDev display name

Priority order

When resolving configuration values, the CLI checks in this order:

  1. Per-command flags (--project, etc.)
  2. Environment variables (BEAKR_*)
  3. Config file (~/.beakr/config.json)
  4. Defaults (org-wide scope, production API URL)

Page resolution

When a command accepts a page argument, the CLI resolves it flexibly:

  1. UUID (exact match)
  2. Slug (exact match)
  3. Title (search)

This means you can reference pages by any identifier: beakr kb cat "Project Overview" works the same as beakr kb cat project-overview.