-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagentsync.example.yaml
More file actions
49 lines (42 loc) · 1.54 KB
/
Copy pathagentsync.example.yaml
File metadata and controls
49 lines (42 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# agentsync.yaml — Configuration for syncing AI agent configs
# See: https://github.com/spyrae/agentsync
version: 1
# Source of truth — where to read MCP servers and rules from
source:
type: claude # Currently only "claude" is supported
global_config: ~/.claude.json # Claude Code global config
project_mcp: .mcp.json # Project-level MCP servers
rules_file: CLAUDE.md # Project rules (Markdown)
# Target agents — where to write synced configs
targets:
cursor:
type: cursor
mcp_path: ~/.cursor/mcp.json
rules_path: .cursor/rules/project.mdc
rules_format: mdc # MDC = Markdown with YAML frontmatter
exclude_servers: []
codex:
type: codex
config_path: ~/.codex/config.toml
rules_path: AGENTS.md
rules_format: md
exclude_servers:
- codex # Codex can't call itself
antigravity:
type: antigravity
mcp_path: ~/.gemini/antigravity/mcp_config.json
protocols:
- stdio # Only stdio servers (no HTTP)
exclude_servers: []
# Rules filtering — sections to exclude from generated rules
rules:
exclude_sections:
# Add section headers (## or ###) that are agent-specific
# and should NOT appear in generated rules for other agents
- "MCP Servers"
- "Context Management & Agents"
# Sync options
sync:
backup: true # Create backups before writing
backup_dir: .agentsync/backups # Where to store backups
log_dir: .agentsync/logs # Where to store sync logs