Configuration
Amp reads settings from these locations:
- User settings:
- macOS:
~/.config/amp/settings.jsonor~/.config/amp/settings.jsonc - Linux:
~/.config/amp/settings.jsonor~/.config/amp/settings.jsonc - Windows:
%USERPROFILE%\.config\amp\settings.jsonor%USERPROFILE%\.config\amp\settings.jsonc
- macOS:
- Workspace settings: the nearest
.amp/settings.jsonor.amp/settings.jsonc, searched upward from your current working directory to the repository root, or the current directory outside a Git repository - Custom user settings: pass
--settings-file <path>to point Amp at a different user settings file
Run amp config edit to open your user settings file in $EDITOR, or add --workspace to edit
workspace settings.
When the same setting appears in multiple places, workspace settings override user settings.
All settings use the amp. prefix.
Settings
amp.fuzzy.alwaysIncludePathsType:
array, Default:[]Glob patterns for paths that should always be included in fuzzy file search, even if they are ignored by Git. This is useful for build output directories or generated files you want to reference with
@mentions.Examples:
["dist/**", "node_modules/@myorg/**"]amp.showCostsType:
boolean, Default:trueShow cost information for threads in the CLI while working. Workspace admins can also hide costs for all workspace members in workspace settings.
amp.git.commit.ampThread.enabledType:
boolean, Default:trueAdd the Amp thread trailer to Git commits. When disabled, commits made by the agent will not include the
Amp-Thread-ID: <thread-url>trailer. You can also set the environment variableAMP_DISABLE_AMP_THREAD_TRAILER=1.amp.git.commit.coauthor.enabledType:
boolean, Default:trueAdd Amp as a coauthor in Git commits. When disabled, commits made by the agent will not include the
Co-authored-by: Amp <amp@ampcode.com>trailer. You can also set the environment variableAMP_DISABLE_AMP_COAUTHOR_TRAILER=1.amp.keymapType:
object, Default:{}Customize the CLI keymap. Keymap entries in user settings override entries in workspace settings. See Customize the Keymap for more information.
amp.mcpServersType:
objectModel Context Protocol servers that expose tools. See the MCP documentation.
amp.defaultVisibilityType:
objectDefine default thread visibility per repository origin using mappings such as
{"github.com/org/repo": "workspace"}. Values areprivate,workspace, andgroup.amp.notifications.enabledType:
boolean, Default:truePlay notification sounds when the agent completes a task or is blocked waiting for user input. Over SSH, or when
AMP_FORCE_BELis set, Amp sends a terminal bell instead of using host audio.amp.remoteThreadCreation.enabledType:
boolean, Default:falseLet ampcode.com create new threads that open in the interactive Amp TUI on this machine, in the directory where it was started. Toggle it from the TUI command palette with
amp: enable remote creation of threads.amp.skills.disableClaudeCodeSkillsType:
boolean, Default:falseDisable loading skills from Claude Code directories (
.claude/skills/,~/.claude/skills/, and~/.claude/plugins/cache/). This does not affect.agents/skills/,~/.config/agents/skills/,~/.agents/skills/,~/.config/amp/skills/,amp.skills.path, built-in skills, personal skills, or workspace skills.amp.skills.pathType:
stringPath to additional directories containing skills. This setting supports colon-separated paths, or semicolon-separated paths on Windows. Use
~for your home directory. Example:~/my-skills:/shared/team-skillsamp.terminal.copyOnSelectType:
boolean, Default:trueBy default, the Amp TUI copies the selection to the clipboard. When set to
false, selecting text in the thread transcript does not copy it automatically. Press Ctrl+C to copy an active transcript selection manually.amp.terminal.detailsExpandedByDefaultType:
boolean, Default:falseExpand thinking and tool call details by default in the CLI transcript. Press
Alt+T to collapse or expand details for the current session.amp.thread.autoArchiveOnQuitType:
boolean, Default:falseAutomatically archive open CLI threads when quitting Amp. This applies to the active thread and any background threads connected in the current CLI session.
amp.tools.disableType:
array, Default:[]Disable specific tools by name. Use
builtin:toolnameto disable only the built-in tool with that name while allowing an MCP server to provide a tool by the same name. Glob patterns using*are supported.amp.mcpPermissionsType:
array, Default:[]Allow or block MCP servers that match a pattern. Amp applies the first matching rule. If no rule matches an MCP server, Amp allows it.
- For a remote MCP server, use the
urlkey to match the server endpoint. - For a local MCP server, use the
commandandargskeys to match an executable command and its arguments.
Here are some examples:
"amp.mcpPermissions": [ // Allow specific trusted MCP servers { "matches": { "command": "npx", "args": "* @playwright/mcp@*" }, "action": "allow" }, { "matches": { "url": "https://mcp.trusted.com/mcp" }, "action": "allow" }, // Block potentially risky MCP servers { "matches": { "command": "python", "args": "*bad_command*" }, "action": "reject" }, { "matches": { "url": "*/malicious.com*" }, "action": "reject" } ]The following rules block all MCP servers:
"amp.mcpPermissions": [ { "matches": { "command": "*" }, "action": "reject" }, { "matches": { "url": "*" }, "action": "reject" } ]- For a remote MCP server, use the
amp.updates.modeType:
string, Default:"auto"Control update checking.
"warn"shows update notifications."disabled"turns off update checks."auto"installs updates automatically. Setting theAMP_SKIP_UPDATE_CHECK=1environment variable overrides this setting and disables all update checks.
Enterprise Managed Settings
Enterprise workspace administrators can enforce settings that override user and workspace settings by deploying their policies to these locations on machines that run Amp:
- macOS:
/Library/Application Support/ampcode/managed-settings.json - Linux:
/etc/ampcode/managed-settings.json - Windows:
%ProgramData%\ampcode\managed-settings.json
This managed settings file uses the same schema as regular settings files, with one additional field:
amp.admin.compatibilityDateType:
stringThe date used to determine which migrations Amp must apply for backward compatibility. Use the
YYYY-MM-DDformat, such as2024-01-15.
Proxies and Certificates
When using the Amp CLI in a corporate network 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