Skip to main content

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

CI Coverage PyPI version Python 3.10+ License: MIT Known Vulnerabilities

Works with: Aider • Amazon Q • Amp • Antigravity • Augment • Claude Code • Claude Desktop • Cline • Codex CLI • Continue.dev • Cursor • Gemini CLI • GitHub Copilot • JetBrains AI • Junie • Kiro • OpenCode • OpenHands • Roo Code • Tabnine • Trae • Windsurf • Zed


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 on naming: This project was previously called "AI Config Kit" (PyPI: ai-config-kit, CLI: aiconfig). As of v0.6.0, the CLI command is devsync and the PyPI package is pip install devsync. If you have an older version installed, update with pip install --upgrade 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 .env files
  • 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
Amazon Q .amazonq/mcp.json Unlimited
Antigravity .mcp.json Unlimited
Augment .augment/mcp.json Unlimited
Claude Code .claude/settings.local.json Unlimited
Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json Unlimited
Continue.dev .continue/config.json Unlimited
Cursor .cursor/mcp.json or ~/.cursor/mcp.json 40 tools
Gemini CLI ~/.gemini/settings.json Unlimited
GitHub Copilot .vscode/mcp.json 128 tools
JetBrains AI .aiassistant/mcp.json Unlimited
OpenHands .openhands/mcp.json Unlimited
Tabnine .tabnine/mcp.json Unlimited
Trae .mcp.json Unlimited
Windsurf ~/.codeium/windsurf/mcp_config.json 100 tools
Zed .zed/settings.json Unlimited

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 Support Summary
Instructions All 22 IDEs
MCP Servers Amazon Q, Antigravity, Augment, Claude, Continue.dev, Copilot, Cursor, JetBrains AI, OpenHands, Roo Code, Tabnine, Trae, Windsurf, Zed
Hooks Claude Code
Commands Claude Code, Roo Code
Skills Claude Code
Workflows Windsurf
Memory Files Claude Code (CLAUDE.md)
Resources All IDEs except Copilot

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 or more supported AI coding tools (Aider, Amazon Q, Amp, Antigravity, Augment, Claude Code, Cline, Codex CLI, Continue.dev, Cursor, Gemini CLI, GitHub Copilot, JetBrains AI, Junie, Kiro, OpenCode, OpenHands, Roo Code, Tabnine, Trae, Windsurf, Zed)

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:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests (invoke test)
  5. Commit (git commit -m 'feat: add amazing feature')
  6. Push (git push origin feature/amazing-feature)
  7. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines.


License

MIT License - see LICENSE for details.


Support


Made with ❤️ for AI-powered development teams

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devsync-0.10.0.tar.gz (148.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devsync-0.10.0-py3-none-any.whl (196.3 kB view details)

Uploaded Python 3

File details

Details for the file devsync-0.10.0.tar.gz.

File metadata

  • Download URL: devsync-0.10.0.tar.gz
  • Upload date:
  • Size: 148.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for devsync-0.10.0.tar.gz
Algorithm Hash digest
SHA256 c5d4aa18685ce0ef2e7a99dde1f7cc2dd72c1d0ad94f0af2a5f0eca3cc0e8a9d
MD5 2f0717c453ecd37e0b0ed626bf7636e0
BLAKE2b-256 dab5fe67f995d81d5143e0caf4f8aaeed0c83ce10d27727b5531a9818f1d6ee0

See more details on using hashes here.

Provenance

The following attestation bundles were made for devsync-0.10.0.tar.gz:

Publisher: publish.yml on troylar/devsync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devsync-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: devsync-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 196.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for devsync-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d8b7f3c3ed3e50571c11435a3c7c785cc6103e047a78b1554d02776463bfb18
MD5 50281acbfbcd74e8ffc83db7c1e5b863
BLAKE2b-256 96ee4f83eedbea7853f640011d6d8bd4d7eb9ab2caa36d59b447cee9447de27b

See more details on using hashes here.

Provenance

The following attestation bundles were made for devsync-0.10.0-py3-none-any.whl:

Publisher: publish.yml on troylar/devsync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page