config.toml for default models, permissions, context compaction, the interface, and MCP servers. Temporary launch options do not automatically rewrite the file.
Configuration locations
Project configuration merges nested objects key by key and replaces arrays as a whole. Settings marked global-only, such as the proxy and default project trust, cannot be overridden by a project.
The global file is created on first run. Writes use an atomic temporary-file-and-rename operation and preserve the leading comment block. TOML does not support
null; unsupported expressions are stripped. Remove an optional key to unset it.
Complete example
Use this as a starting point; you do not need to fill in every optional setting:permissionPreset to "ask" to require individual approvals.
Top-level fields
Models and thinking
Client levels are
off, minimal, low, medium, high, xhigh, and max. Available levels and their effective behavior depend on the provider and model; not every model supports every level.
Interface
Sessions and networking
Shell and commands
Projects and permissions
Project trust controls loading configuration, extensions, and resources. It is not a filesystem sandbox.
Section settings
[compaction].enabled = falseonly disables automatic compaction.reserveTokensreserves window space;keepRecentTokenscontrols recent messages retained.[branchSummary].skipPrompt = trueskips the branch-switch prompt and does not generate a summary by default.[retry].baseDelayMs = 2000uses exponential backoff: 2, 4, and 8 seconds. Keepprovider.maxRetriesat its default0; positive values let SDK retries precede Step’s quota handling and may wait until quota resets.provider.timeoutMssets a per-request timeout.[thinkingBudgets]sets token budgets for thinking levels.[images].autoResize = trueresizes images to within 2,000 px.[images].blockImages = trueprevents sending images to models;[terminal].showImagesonly controls display.[terminal].imagesacceptskitty,iterm2,auto, orfalse; match it to terminal capabilities.[terminal].imageWidthCellsmeasures inline width in terminal columns.clearOnShrinkcontrols clearing after content shrinks,showTerminalProgresscontrols OSC 9;4 progress, andhyperlinksacceptstrue,false, or"auto".[markdown].mermaidacceptsstreaming,final, oroff.[warnings].anthropicExtraUsagedefaults totrueand controls Claude Pro/Max extra-usage notices.
MCP servers
Declare servers in the global configuration:Tool and resource arrays
Resource arrays accept files or directories, glob patterns,
! exclusions, and exact +path / -path controls. Global relative paths resolve from ~/.stepcode/agent; project paths resolve from .stepcode. See Built-in tools for launch options.

