Settings Sources
Claude Code loads settings from multiple files, merged in priority order. Higher-priority sources override lower ones.User Settings (Lowest Priority)
Path:
Global settings that apply to all projects. Define your default permission mode, preferred tools, and baseline configuration here.
~/.claude/settings.jsonGlobal settings that apply to all projects. Define your default permission mode, preferred tools, and baseline configuration here.
Project Settings
Path:
Project-level settings shared with the team via version control. Use this for project-specific permission overrides, allowed tools, and MCP server definitions that all contributors should share.
.{your_project}/settings.json (in the project root)Project-level settings shared with the team via version control. Use this for project-specific permission overrides, allowed tools, and MCP server definitions that all contributors should share.
Local Settings (Highest Priority)
Path:
Personal overrides that are not committed to version control. Use this for developer-specific preferences that should not affect teammates — for example, enabling
.{your_project}/settings.local.json (in the project root)Personal overrides that are not committed to version control. Use this for developer-specific preferences that should not affect teammates — for example, enabling
bypassPermissions on a trusted project.Settings are merged top-down. A field defined in
.{your_project}/settings.local.json takes precedence over the same field in .{your_project}/settings.json, which in turn overrides ~/.claude/settings.json.MCP Servers
MCP (Model Context Protocol) servers defined in any of the settings files above are automatically loaded when the Claude Code agent starts. These servers extend the agent’s tool capabilities with custom tools, data sources, and integrations. See MCP Servers for details on configuring MCP server connections.Skills
Skills are markdown instruction files that the Claude Code agent discovers and loads automatically. They provide domain-specific knowledge and behavioral instructions. Skills are loaded from two locations:| Location | Scope |
|---|---|
~/.claude/skills/ | Global skills available across all projects |
.{your_project}/skills/ | Project-specific skills committed with the repository |
