Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

Amp can be configured through settings in VS Code (.vscode/settings.json) and the CLI configuration file. All settings use the amp. prefix.

CLI Configuration Paths

The CLI configuration file location varies by operating system:

Operating SystemPathExample
Windows%APPDATA%\amp\settings.jsonC:\Users\USERNAME\AppData\Roaming\amp\settings.json
macOS~/.config/amp/settings.json/Users/USERNAME/.config/amp/settings.json
Linux~/.config/amp/settings.json/home/USERNAME/.config/amp/settings.json

Corporate Networks

When using the Amp CLI in corporate networks with proxy servers or custom certificates, set these standard Node.js environment variables in your shell profile or CI environment as needed:

export HTTP_PROXY=your-proxy-url
export HTTPS_PROXY=your-proxy-url
export NODE_EXTRA_CA_CERTS=/path/to/your/certificates.pem

Core Settings

SettingTypeDefaultAvailabilityDescription
amp.urlstring-VS Code & CLIURL to the Amp server, usually https://ampcode.com/
amp.notifications.enabledbooleantrueVS CodePlay notification sound when done or blocked
amp.anthropic.thinking.enabledbooleantrueVS Code & CLIEnable Claude's extended thinking capabilities
amp.todos.enabledbooleantrueVS Code & CLIEnable TODOs tracking for managing tasks
amp.tools.disablearray[]VS Code & CLIDisable specific tools by name. Use 'builtin:toolname' to disable only the builtin tool with that name (allowing an MCP server to provide a tool by that name).
amp.tools.stopTimeoutnumber300VS Code & CLIHow many seconds to wait before canceling a running tool
amp.debugLogsbooleanfalseVS CodeEnable debug logging in the Amp output channel
amp.ui.zoomLevelnumber1VS CodeZoom level for the Amp user interface

Example for amp.tools.disable:

[
  "read_file", 
  "create_file", 
  "edit_file", 
  "undo_edit", 
  "list_directory", 
  "glob", 
  "format_file", 
  "Grep", 
  "codebase_search", 
  "Bash", 
  "read_web_page", 
  "web_search", 
  "get_diagnostics", 
  "think", 
  "mermaid", 
  "todo_write", 
  "todo_read", 
  "Task", 
  "run_routine", 
  "builtin:edit_file"
]

Terminal & Environment

SettingTypeDefaultAvailabilityDescription
amp.terminal.commands.hidebooleantrueVS CodeWhether to hide the integrated VS Code terminal by default when starting commands
amp.terminal.commands.environmentstring"vscode-terminal"VS Code & CLIWhat environment to use when running terminal commands
amp.terminal.commands.vscodeTerminal.detachTimeoutnumber90VS CodeHow many seconds to wait before detaching a running command to continue the conversation. The command continues to run in the background. This setting only has an effect when using the vscode-terminal environment
amp.terminal.commands.nodeSpawn.loadProfilestring"always"VS Code & CLIBefore running commands (including MCP servers), whether to load environment variables from the user's profile (.bashrc, .zshrc, .envrc) as visible from the workspace root directory

Options for amp.terminal.commands.environment:

  • vscode-terminal
  • node-spawn

Options for amp.terminal.commands.nodeSpawn.loadProfile:

  • always
  • never
  • daily

Advanced Settings

SettingTypeDefaultAvailabilityDescription
amp.mcpServersobject-VS Code & CLIModel Context Protocol servers that expose tools. See Custom Tools (MCP) documentation.
amp.commands.allowlistarray[]VS Code & CLIRun specific terminal commands without waiting for user confirmation. See Command Allowlisting documentation.

Example for amp.commands.allowlist:

[
  "pnpm exec tsc --build", 
  "pnpm -C web check", 
  "pnpm -C server test"
]