Skip to content

Configuration overview ​

Mogick keeps user-level and project-level configuration separate. Global configuration applies to every project for the current user, while project configuration applies only to the current workspace.

Configuration files ​

FileGlobal pathProject pathPurpose
config.json<config-dir>/config.json.mogick/config.jsonLLM, permission, memory, session, and runtime settings
mcp.json<config-dir>/mcp.json.mogick/mcp.jsonMCP server definitions
auth.json<config-dir>/auth.json.mogick/auth.jsonOAuth tokens, API keys, and other credentials; never commit this file
sessions.sqlite<db-path>—Persistent session data

Projects can also contain .mogick/skills/, which holds project Skills. Plan Artifacts are saved with the session in the session store.

Project settings generally override fields with the same name in the global configuration; fields omitted by the project continue to use global values. A non-empty project-level llm.providers[] replaces the entire global array, while auth.providers entries are merged by provider ID.

Find the right configuration page ​

GoalPage
Connect a model service or configure OAuth or an API keyAuthentication and models
Configure MCP serversMCP server configuration
Change the session policy or per-tool permissionsTool permission policies
Change session heartbeat, timeout, concurrency, or storageSession and history settings

Common environment variables ​

VariablePurpose
MOGICK_CONFIG_DIROverride the default global configuration directory
MOGICK_DATA_DIROverride the data directory
MOGICK_CONFIG_FILESelect the main config.json; does not change auth, MCP, Skills, or data paths
MOGICK_RUNTIME_ENVSelect runtime preset
MOGICK_TUI_THEMESet auto, dark or light
bash
export MOGICK_CONFIG_DIR=/home/user/.mogick
export MOGICK_DATA_DIR=/mnt/mogick-data
mogick

See Data directories and environment variables for the complete list.

Path placeholders <config-dir> and <db-path> refer to the effective profile/channel paths; see Data directories.