Distribute and sync dev tool configurations across teams
Project description
๐ฏ DevSync
Distribute and sync coding standards, AI tool configurations, and MCP servers across your team
Works with: Claude Code โข Claude Desktop โข Cline โข Cursor โข GitHub Copilot โข Kiro โข Roo Code โข Windsurf
What is DevSync?
DevSync is a CLI tool for distributing and managing AI coding assistant configurations across teams:
- ๐ Templates: Share coding standards, slash commands, and IDE configurations from Git repositories
- ๐ MCP Servers: Distribute and manage Model Context Protocol server configurations
- ๐ Sync: Keep your team aligned with single-command updates
- โ Safe: Built-in validation, automatic backups, conflict resolution
Note: Commands use
aiconfig(short for DevSync)
๐ Quick Start
Install
pip install devsync
Templates: Share Coding Standards (30 seconds)
# Navigate to where you want to create the template
cd ~/projects # or your preferred location
# Create template repository (creates 'my-standards' directory here)
aiconfig template init my-standards
# Work inside it and install locally to test
cd my-standards
aiconfig template install . --as demo
# Your IDE now has coding standards in .claude/rules/demo.*
MCP: Configure AI Tool Servers (2 minutes)
# Install MCP server configurations from a repository
aiconfig mcp install https://github.com/company/mcp-servers --as backend
# Configure credentials securely (stored in gitignored .env)
aiconfig mcp configure backend
# Sync to AI tools (Claude Desktop, Cursor, Windsurf)
aiconfig mcp sync --tool all
Packages: Install Complete Development Setups (1 minute)
# Install a complete package with instructions, hooks, and commands
aiconfig package install ./example-package --ide claude
# List installed packages
aiconfig package list
# Your IDE now has everything: instructions, MCP servers, hooks, commands
Core Features
๐จ Template System
Distribute any IDE-specific content from Git repositories:
- Coding Standards โ
.claude/rules/(instructions for AI) - Slash Commands โ
.claude/commands/(accessible as/command-name) - IDE Hooks โ Pre/post prompt automation
- Any Configuration โ Snippets, settings, etc.
Key Commands:
aiconfig template install <repo> --as <namespace> # Install templates
aiconfig template list # Show installed templates
aiconfig template update <namespace> # Update to latest version
aiconfig template uninstall <namespace> # Remove templates
๐ Full Template Documentation โ
๐ MCP Server Management
Manage Model Context Protocol servers across your team:
- Share Configurations โ Distribute MCP server setups via Git
- Secure Credentials โ Store secrets in gitignored
.envfiles - Multi-Tool Sync โ One command syncs to Claude Code, Claude Desktop, Cursor, Windsurf
- Environment Resolution โ Automatically inject credentials at sync time
Supported IDEs:
| IDE | MCP Config Location | Tool Limit |
|---|---|---|
| Claude Code | .claude/settings.local.json |
Unlimited |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json |
Unlimited |
| Cursor | .cursor/mcp.json or ~/.cursor/mcp.json |
40 tools |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
100 tools |
| GitHub Copilot | .vscode/mcp.json |
128 tools |
Key Commands:
aiconfig mcp install <repo> --as <namespace> # Install MCP configs
aiconfig mcp configure <namespace> # Set up credentials
aiconfig mcp sync --tool all # Sync to AI tools
aiconfig mcp list # Show installed servers
๐ Full MCP Documentation โ
๐ฆ Configuration Packages
Bundle and distribute complete AI assistant configurations:
- Multi-Component Packages โ Combine instructions, MCP servers, hooks, commands, skills, workflows
- IDE-Aware Installation โ Automatically adapts to target IDE capabilities
- Package Creation โ Generate packages from existing project configurations
- Secret Detection โ Automatically templates secrets in MCP configs
- Conflict Resolution โ Handle existing files with skip, overwrite, or rename strategies
Key Commands:
aiconfig package create --name my-pkg # Create package from project
aiconfig package install <package-path> --ide <ide> # Install package
aiconfig package list # Show installed packages
aiconfig package uninstall <package-name> # Remove package
๐ Full Package Documentation โ
Why DevSync?
For Teams
โ Consistency - Everyone uses the same standards and tools โ Onboarding - New members get configured in minutes โ Compliance - Enforce security policies and code review checklists โ No Secrets in Git - Credentials stay local, configs are shared
For Individuals
โ Portable - Same setup across all your machines โ Composable - Mix company + team + personal configurations โ Discoverable - Install templates from any Git repository โ Safe - Automatic backups, conflict resolution, validation
Real-World Example
Here's how a team at ACME Corp uses DevSync:
# 1. Everyone installs company security policies (global, applies to all projects)
aiconfig template install https://github.com/acme/security-policy --as acme-security --scope global
# 2. Backend team members clone their project
git clone https://github.com/acme/backend-api.git && cd backend-api
# 3. Install team-specific templates (project scope)
aiconfig template install https://github.com/acme/backend-standards --as backend
aiconfig template install https://github.com/acme/python-patterns --as python
# 4. Install and configure MCP servers (for enhanced AI capabilities)
aiconfig mcp install https://github.com/acme/mcp-servers --as backend-mcp
aiconfig mcp configure backend-mcp
aiconfig mcp sync --tool claude
# Done! IDE now has:
# - Global security rules (all projects)
# - Backend coding standards (this project)
# - Python patterns (this project)
# - MCP servers configured (Claude Desktop, Cursor, etc.)
Team members update everything with:
aiconfig template update --all
aiconfig mcp update --all
Documentation
| Guide | Description |
|---|---|
| Templates | Comprehensive guide to the template system |
| MCP Servers | Managing Model Context Protocol servers |
| Packages | Complete package management guide (install, create, manage) |
| CLI Reference | Complete command reference |
| Advanced Usage | Scopes, namespaces, conflict resolution |
| Creating Templates | How to build your own template repositories |
Project vs Global Scope
DevSync supports two installation scopes:
| Scope | Where Files Go | When Active | Best For |
|---|---|---|---|
| Project (default) | <project>/.claude/rules/<project>/.ai-config-kit/ |
Only in that project | Team practices, project standards |
| Global | ~/.claude/rules/~/.ai-config-kit/ |
All projects | Personal tools, company policies |
Example:
# Global: Company-wide security policy (applies everywhere)
aiconfig template install https://github.com/company/security --as security --scope global
# Project: Team-specific patterns (only this project)
cd ~/projects/backend-api
aiconfig template install https://github.com/team/backend-patterns --as backend
Your IDE gets both: global templates (always available) + project templates (context-specific).
What Can You Distribute?
Templates
Any IDE-specific content from Git repositories:
- Coding standards and style guides
- Security checklists and compliance rules
- Custom slash commands (accessible as
/command-name) - Code review templates
- Architecture decision records (ADRs)
- Testing patterns and strategies
- IDE automation hooks (pre-prompt, post-prompt)
Packages
Complete configuration bundles with multiple component types:
| Component | Claude | Cline | Cursor | Kiro | Roo Code | Windsurf | Copilot |
|---|---|---|---|---|---|---|---|
| Instructions | .claude/rules/ |
.clinerules/ |
.cursor/rules/ |
.kiro/steering/ |
.roo/rules/ |
.windsurf/rules/ |
.github/instructions/ |
| MCP Servers | โ | โ | โ | โ | โ | โ | โ |
| Hooks | โ | โ | โ | โ | โ | โ | โ |
| Commands | โ | โ | โ | โ | โ | โ | โ |
| Skills | โ | โ | โ | โ | โ | โ | โ |
| Workflows | โ | โ | โ | โ | โ | โ | โ |
| Memory Files | โ (CLAUDE.md) | โ | โ | โ | โ | โ | โ |
| Resources | โ | โ | โ | โ | โ | โ | โ |
MCP Server Configurations
Model Context Protocol server setups for enhanced AI capabilities:
- Database access (PostgreSQL, MySQL, SQLite)
- API integrations (GitHub, Jira, Slack)
- File system access with proper permissions
- Custom tools and commands
- Development environment connections
Installation & Setup
Requirements
- Python 3.10 or higher
- Git (for cloning template repositories)
- One of: Claude Code, Claude Desktop, Cline, Cursor, GitHub Copilot, Kiro, Roo Code, or Windsurf
Install DevSync
# Using pip
pip install devsync
# Verify installation
aiconfig --version
Quick Configuration
# Check which AI tools are installed
aiconfig tools
# Navigate to where you want to create templates
cd ~/projects # or your preferred location
# Create template repository (creates 'my-standards' directory here)
aiconfig template init my-standards
# Work inside it and install to test
cd my-standards
aiconfig template install . --as demo
# View installed templates
aiconfig template list
Common Use Cases
Scenario 1: New Team Member Onboarding
# Install company standards (once per machine)
aiconfig template install https://github.com/company/standards --as company --scope global
# Clone team project
git clone https://github.com/team/project.git && cd project
# Install project-specific templates
aiconfig template install https://github.com/team/backend-standards --as backend
# Set up MCP servers
aiconfig mcp install https://github.com/team/mcp-servers --as team-mcp
aiconfig mcp configure team-mcp
aiconfig mcp sync --tool all
Scenario 2: Applying Templates to Existing Project
# You're working on a project, discover useful templates
cd ~/projects/my-api
# Install templates immediately
aiconfig template install https://github.com/owasp/security-templates --as owasp
# Templates are now in .claude/rules/owasp.*
# AI assistant immediately knows these security patterns
Scenario 3: Solo Developer / Personal Use
# Install your personal tools globally (applies to all projects)
aiconfig template install https://github.com/yourname/my-tools --as personal --scope global
# Done! All your projects now have your preferred templates
Development
Running Tests
# Run all tests
invoke test
# Run with coverage
invoke test --coverage
# Code quality checks
invoke quality
# Auto-fix linting issues
invoke lint --fix
Project Structure
ai-config-kit/
โโโ ai_tools/ # AI tool integrations (Claude, Cursor, etc.)
โโโ cli/ # CLI commands
โโโ core/ # Core business logic
โ โโโ mcp/ # MCP server management
โ โโโ template/ # Template system
โโโ storage/ # Data persistence
โโโ utils/ # Utilities
tests/
โโโ unit/ # Unit tests
โโโ integration/ # Integration tests
Contributing
We welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests (
invoke test) - Commit (
git commit -m 'feat: add amazing feature') - Push (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
License
MIT License - see LICENSE for details.
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Changelog: CHANGELOG.md
Made with โค๏ธ for AI-powered development teams
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devsync-0.5.7.tar.gz.
File metadata
- Download URL: devsync-0.5.7.tar.gz
- Upload date:
- Size: 137.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
248beca40c1ec5e59ebc50e0ec0a155f5fc8306a66aafa7d23b4b9d2be10646c
|
|
| MD5 |
96888b1fef680fd7df06e09323b5956a
|
|
| BLAKE2b-256 |
3963101ad60fbb2fb4fe04b0ea186a9f343d652cc498b0bd5cdaf71e19f12e80
|
Provenance
The following attestation bundles were made for devsync-0.5.7.tar.gz:
Publisher:
publish.yml on troylar/devsync
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devsync-0.5.7.tar.gz -
Subject digest:
248beca40c1ec5e59ebc50e0ec0a155f5fc8306a66aafa7d23b4b9d2be10646c - Sigstore transparency entry: 953302156
- Sigstore integration time:
-
Permalink:
troylar/devsync@0f567154834c3a27f0c795786e6a3e22753f79bc -
Branch / Tag:
refs/tags/v0.5.7 - Owner: https://github.com/troylar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0f567154834c3a27f0c795786e6a3e22753f79bc -
Trigger Event:
release
-
Statement type:
File details
Details for the file devsync-0.5.7-py3-none-any.whl.
File metadata
- Download URL: devsync-0.5.7-py3-none-any.whl
- Upload date:
- Size: 173.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
298f6e51444daafa38feb2b487343c19151b217e735970a6fc7dc3402249a770
|
|
| MD5 |
3c3c413c61a642b08123002a7a78dff4
|
|
| BLAKE2b-256 |
82d7c5e80f245aa4d65961674ce2b097c33e4e1a25909f90d5d6beef304cfa66
|
Provenance
The following attestation bundles were made for devsync-0.5.7-py3-none-any.whl:
Publisher:
publish.yml on troylar/devsync
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devsync-0.5.7-py3-none-any.whl -
Subject digest:
298f6e51444daafa38feb2b487343c19151b217e735970a6fc7dc3402249a770 - Sigstore transparency entry: 953302157
- Sigstore integration time:
-
Permalink:
troylar/devsync@0f567154834c3a27f0c795786e6a3e22753f79bc -
Branch / Tag:
refs/tags/v0.5.7 - Owner: https://github.com/troylar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0f567154834c3a27f0c795786e6a3e22753f79bc -
Trigger Event:
release
-
Statement type: