devsync-mcp
Allows management of EditorConfig files for consistent coding styles across the team.
Allows management of Git configuration files (e.g., .gitconfig, .gitignore_global), merging team-standard Git settings with personal customizations.
Allows management of Zsh shell configuration (e.g., .zshrc), merging team shell aliases and PATH additions with personal settings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@devsync-mcp sync the team's dev configs to my machine"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
devsync-mcp
MCP server for AI-merge of team dev configurations. Works with any MCP-capable IDE (Claude Code, Cursor, Windsurf, Copilot, Zed, etc.).
What it does
Teams maintain a shared config profile repo (shell configs, git settings, AI rules, editor configs). devsync-mcp provides MCP tools that let the IDE's LLM intelligently merge team configs with your personal configs — preserving your customizations while incorporating team standards.
Key insight: The MCP server does NOT call an LLM. It provides source and target content to the host IDE's LLM, which performs the intelligent merge.
Related MCP server: session-coord-mcp
Install
pip install devsync-mcpMCP Configuration
Add to your IDE's MCP settings:
{
"mcpServers": {
"devsync-mcp": {
"command": "devsync-mcp",
"transport": "stdio"
}
}
}Tools
Tool | Purpose |
| Clone/pull team config repo |
| List configs in a profile |
| Scan environment for existing configs |
| Return source + target for LLM merge |
| Write merged content with backup |
| Pull latest + present merge plan |
| List previous merge backups |
| Restore from backup |
| Show merged/pending/changed status |
AI-Merge Flow
1. pull_team_profile(git_url) → downloads team config repo
2. list_profile_configs(profile) → shows available configs
3. detect_current_configs() → finds your existing configs
4. preview_merge(profile, config) → returns {source_content, target_content}
5. HOST LLM reads both, produces intelligent merge
6. apply_merge(target, merged) → writes with backupTeam Profile Format
Create a devsync-profile.yaml in your team config repo:
name: acme-team-config
description: ACME Corp standard dev environment
version: 1.0.0
configs:
- name: zshrc-additions
file: shell/zshrc-additions.sh
target: ~/.zshrc
type: shell_profile
description: Team shell aliases and PATH additions
- name: claude-rules
file: ai-rules/claude-rules.md
target: CLAUDE.md
type: ai_rules
description: Team coding standards for Claude CodeConfig Types
shell_profile—.zshrc,.bashrc,.bash_profile,.profilegit_config—.gitconfig,.gitignore_globaleditor_config—.editorconfigai_rules—CLAUDE.md,.cursorrules,AGENTS.md, etc.vscode_settings—.vscode/settings.json, etc.ssh_config—.ssh/configcustom— any file with explicit source/target mapping
Claude Code Skill
Install the /sync-team skill for a guided experience:
cp -r skill/sync-team ~/.claude/skills/Then use /sync-team in Claude Code to walk through the full sync flow.
Development
git clone https://github.com/troylar/devsync-mcp
cd devsync-mcp
pip install -e ".[dev]"
pytestLicense
MIT
Available Tools
9 toolsapply_mergeA
Write LLM-merged content to the target path, creating a backup of the original.
Call this AFTER the LLM has produced the merged content from preview_merge output.
Args: namespace: Profile namespace config_name: Config name that was merged merged_content: The LLM's merged output to write target_path: File path to write the merged content to
Returns: Merge record with backup path, checksums, and status
Inputs: namespace (required), config_name (required), merged_content (required), target_path (required). Returns: object
detect_current_configsA
Scan the user's environment for existing configuration files.
Detects shell profiles, git configs, editor configs, AI rules, and more.
Args: project_root: Project root directory (defaults to cwd)
Returns: List of detected config files with paths, types, and checksums
Inputs: project_root. Returns: object
get_merge_statusA
Show the current merge status for all configs in a profile.
For each config, reports whether it is:
pending: never been merged
merged: last merge matches current file
changed: file has been modified since last merge
Args: namespace: Profile namespace project_root: Project root for project-relative targets
Returns: List of config statuses
Inputs: namespace (required), project_root. Returns: object
list_backupsA
List backup files from previous merge operations.
Args: profile_name: Filter backups by profile (all if not specified)
Returns: List of backup files with paths, sizes, and timestamps
Inputs: profile_name. Returns: object
list_profile_configsA
List all config files in a pulled team profile.
Args: namespace: Profile namespace (as returned by pull_team_profile)
Returns: List of configs with name, type, target path, and description
Inputs: namespace (required). Returns: object
preview_mergeA
Return source (team) and target (user) content for the LLM to intelligently merge.
The MCP server does NOT perform the merge. It returns both contents so the host IDE's LLM can understand the semantics and produce an intelligent merge that preserves personal customizations while incorporating team standards.
Args: namespace: Profile namespace config_name: Name of the config to merge (from list_profile_configs) project_root: Project root for project-relative targets
Returns: Dict with source_content, target_content (None if no existing file), target_path, config_type, and description
Inputs: namespace (required), config_name (required), project_root. Returns: object
pull_team_profileB
Clone or pull a team config profile repository into the local devsync library.
Args: git_url: Git repository URL or local path containing team configs namespace: Override namespace (auto-derived from URL if not provided)
Returns: Profile info with name, description, version, and list of configs
Inputs: git_url (required), namespace. Returns: object
restore_backupA
Restore a config file from a previous backup.
Args: backup_path: Path to the backup file (from list_backups) target_path: Where to restore the file
Returns: Confirmation with restored path
Inputs: backup_path (required), target_path (required). Returns: object
sync_allA
Pull latest profile, detect changes, and present a merge plan.
This is a convenience tool that combines pull + status check into one call. Returns a plan showing which configs need merging.
Args: namespace: Profile namespace project_root: Project root for project-relative targets
Returns: Merge plan with status of each config (pending/merged/changed)
Inputs: namespace (required), project_root. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose: pulling profiles, detecting configs, previewing merges, applying merges, listing status, backups, etc. No two tools overlap in functionality; sync_all is explicitly a convenience wrapper.
All tool names use snake_case and imperative verbs (apply, detect, get, list, preview, pull, restore, sync). The naming patterns are mostly verb_noun, though 'list_profile_configs' and 'list_backups' mix noun sequences. Overall consistent and readable.
With 9 tools, the server covers the config synchronization workflow without unnecessary bloat. Each tool serves a specific, non-redundant role in the lifecycle of pulling, merging, and restoring configs.
The tool surface covers the full lifecycle: pulling profiles, detecting local configs, previewing merges, applying merges, managing backups, and checking status. A minor gap is the lack of a tool to explicitly update a profile (e.g., re-pull), but the workflow is tightly scoped and functional.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
Team memory for AI coding agents and code reviews, reviewed by humans and served over MCP.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables developers to summon AI development team agents directly from their IDE to help with tasks like PR reviews, security evaluation, and CI/CD deployment setup.-
- AlicenseNot gradedqualityDmaintenanceA local-first MCP server for coordinating parallel AI coding sessions with tools like Claude Code and Codex in a single repository.2MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that enables AI coding agents to communicate, share state, and coordinate work in real time via MCP tools or REST API.79 npm10MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for end-to-end Jira and GitHub integration, enabling AI agents in the IDE to automate workflows from issue tracking to pull request management.MIT