Project-local config
A repo can carry its own config overlay. Drop a .agentsync.toml marker at its
root; agentsync finds it by walking up from your current directory.
The marker file
Section titled “The marker file”agents = ["claude", "opencode"] # subset of agents for this project
[[mcp]]id = "company-api"type = "stdio"command = "npx"args = ["-y", "@company/mcp"]
[plugins]disabled = ["screenshot"] # turn off a user-level plugin hereA project overlay can:
- add project-only MCP servers,
- disable a user-level plugin for this repo,
- merge extra memory on top of your user-level memory,
- narrow the set of agents the project applies to.
Apply from inside the repo
Section titled “Apply from inside the repo”cd ~/code/myrepoagentsync apply # auto-detects project scopels .claude/settings.json # project-scope config landedThe overlay merges onto your user config — it doesn’t replace it. User-level servers and plugins still apply unless the project disables them.
Forcing a scope
Section titled “Forcing a scope”agentsync auto-detects scope by looking for the marker, but you can be explicit:
agentsync apply --scope user # ignore any project markeragentsync apply --scope project # require project scopeagentsync apply --project ~/code/myrepo # point at a specific repo Scope & the project marker How discovery and merge work under the hood.