Provides tools for tracking changes between Git repositories, analyzing commits, comparing branches, and managing integration status to help maintain fork parity with upstream repositories.
Enables tracking and managing fork parity with upstream GitHub repositories through commit analysis, branch comparison, and integration status management.
🔄 Fork Parity MCP
Track and manage fork parity with upstream repositories using Model Context Protocol (MCP)
A powerful MCP server that helps you stay in sync with upstream repositories by tracking changes, analyzing commits, and managing integration status. Perfect for maintaining forks while keeping track of upstream developments.
✨ Features
- 🔍 Smart Change Detection - Automatically detect new upstream commits
- 📊 Parity Status Tracking - Track which commits have been reviewed, integrated, or skipped
- 🎯 Commit Analysis - Deep dive into specific commits to understand their impact
- 📋 Adaptation Planning - Generate actionable plans for integrating upstream changes
- 🌿 Branch Comparison - Compare your fork with upstream branches
- ⚙️ Flexible Configuration - Support for custom remote names and branches
- 🚀 CLI Integration - Works seamlessly with Claude and other MCP clients
🚀 Quick Start
Installation
Basic Setup
- Configure your Git remotes:
- Add to your MCP configuration:
- Start tracking:
📖 Usage
Once configured, you can interact with the MCP server through natural language:
🔍 Check for New Changes
📊 Analyze Specific Commits
🎯 Compare Branches
📋 Plan Integration
⚙️ Manage Status
🛠️ Available Tools
Tool | Description |
---|---|
check_upstream_changes | Find new commits in upstream repository |
analyze_commit | Analyze specific commit for compatibility |
compare_branches | Compare fork with upstream branch |
get_parity_status | Get current tracking status |
update_parity_status | Update commit integration status |
create_adaptation_plan | Generate integration roadmap |
fetch_upstream | Fetch latest upstream changes |
show_config | Display current configuration |
setup_upstream | Help configure upstream remote |
⚙️ Configuration
Environment Variables
Variable | Default | Description |
---|---|---|
UPSTREAM_REMOTE_NAME | upstream | Name of upstream remote |
UPSTREAM_BRANCH | main | Upstream branch to track |
REPO_PATH | process.cwd() | Path to Git repository |
Advanced Configuration
Multiple Projects
Track multiple forks simultaneously:
📁 Status Tracking
The server creates a .parity-status.json
file to track:
Status Types
- ✅ integrated - Successfully merged/applied
- 🔍 reviewed - Analyzed but not yet integrated
- ⏭️ skipped - Not applicable to your fork
- ⚠️ conflict - Requires manual resolution
🔧 Development
Prerequisites
- Node.js 18+
- Git repository with upstream remote
Local Development
Testing
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Built with Model Context Protocol (MCP)
- Inspired by the need to maintain fork parity in open source projects
- Thanks to the MCP community for the excellent SDK
📚 Related
🏠 Homepage • 📖 Documentation • 🐛 Report Bug • ✨ Request Feature
Made with ❤️ for the open source community
This server cannot be installed
An MCP server that helps users track and manage fork parity with upstream repositories by detecting changes, analyzing commits, and managing integration status.
Related MCP Servers
- AsecurityAlicenseAqualityA specialized MCP server for in-depth analysis of git repositories, offering tools for branch overview, time period analysis, file changes, and merge recommendations.Last updated -41JavaScriptApache 2.0
- AsecurityFlicenseAqualityMCP server for managing Git operations on local repositories, allowing users to list repositories, get and create tags, list commits, push tags, and refresh repositories through a standardized interface.Last updated -63Python
- AsecurityAlicenseAqualityA MCP server that provides access to GitHub trending repositories and developers data through a simple API interface.Last updated -213PythonMIT License
- AsecurityFlicenseAqualityAn MCP server that provides seamless interaction with Azure DevOps Git repositories, enabling users to manage repositories, branches, pull requests, and pipelines through natural language.Last updated -823TypeScript