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.
Click on "Install 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., "@Fork Parity MCPauto-triage the last 10 upstream commits"
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.
π Fork Parity MCP v2.0.0
Enterprise-grade fork parity management with AI-powered analysis and automated workflows
A comprehensive MCP server that revolutionizes how you maintain fork parity with upstream repositories. Features intelligent commit analysis, automated conflict detection, GitHub Actions integration, and advanced notification systems. Built for teams and organizations managing complex fork relationships.
β¨ Features
π§ AI-Powered Analysis
π Smart Commit Triage - Automatically categorize commits by impact and priority
π― Advanced Analysis - Deep dependency chain analysis, breaking change detection
π‘οΈ Security Assessment - Automated security impact evaluation
β‘ Performance Impact - Predict performance implications of upstream changes
π Automation & Integration
π€ GitHub Actions Workflows - Complete CI/CD integration with automated checks
π Real-time Dashboards - Comprehensive parity status with actionable insights
π Multi-channel Notifications - Slack, Discord, email, and webhook support
π Migration Planning - Automated conflict resolution and integration roadmaps
ποΈ Enterprise Features
π Analytics & Metrics - Track integration velocity and technical debt
π Batch Processing - Handle multiple commits with intelligent prioritization
π¨ Customizable Workflows - Adapt to your team's specific processes
π Multi-repository Support - Manage multiple forks from a single interface
π οΈ Developer Experience
π‘ Learning System - Adapts to your integration patterns over time
π§ Conflict Simulation - Preview merge conflicts before integration
π Review Templates - Structured commit review and documentation
π― Impact Analysis - Understand downstream effects of changes
Related MCP server: Git MCP
π Quick Start
Installation
npm install -g @moikas/fork-parity-mcpBasic Setup
Configure your Git remotes:
# Add upstream remote (if not already added)
git remote add upstream https://github.com/original/repository.git
# Verify remotes
git remote -vAdd to your MCP configuration:
{
"mcpServers": {
"fork-parity": {
"command": "node",
"args": ["/path/to/fork-parity-mcp/src/enhanced-server.js"],
"env": {
"REPO_PATH": "/path/to/your/fork"
}
}
}
}Optional: Set up GitHub Actions automation:
# Generate workflow files
fork-parity setup-github-actions --workflows=daily_sync,pr_checks,critical_alertsStart tracking:
# Fetch latest upstream changes
git fetch upstream
# You're ready to go! ππ Usage Examples
π§ AI-Powered Analysis
"Auto-triage the last 20 upstream commits"
"Run advanced analysis on commit abc123 including security assessment"
"Batch analyze commits from the last sprint"π Dashboard & Monitoring
"Generate a comprehensive parity dashboard"
"Show me actionable items with high priority"
"Get detailed status since last month"π Integration Planning
"Create an integration plan for the next quarter"
"Generate migration plan for commits abc123, def456, ghi789"
"Analyze potential conflicts for commit xyz890"π€ Automation
"Sync with upstream and run full analysis"
"Set up GitHub Actions with daily sync and PR checks"
"Configure Slack notifications for critical alerts"π Review & Documentation
"Create a review template for commit abc123"
"Update commit def456 status to integrated with adaptation notes"
"Learn from this successful integration pattern"π οΈ Available Tools (15 Total)
π§ Analysis & Triage
Tool | Description |
| AI-powered commit categorization and prioritization |
| Deep dependency, security, and performance analysis |
| Process multiple commits with intelligent triage |
π Status & Monitoring
Tool | Description |
| Comprehensive parity status with analytics |
| Real-time dashboard with metrics and insights |
| Prioritized list of commits requiring action |
π Integration & Planning
Tool | Description |
| Update commit status with rich metadata |
| Generate structured review templates |
| Create integration roadmap with effort estimates |
| Detailed migration planning for complex changes |
π€ Automation & Workflows
Tool | Description |
| Automated upstream sync with analysis |
| Configure GitHub Actions workflows |
| Advanced conflict detection and resolution |
π Notifications & Learning
Tool | Description |
| Configure multi-channel notification system |
| Machine learning from successful integrations |
βοΈ Configuration
Environment Variables
Variable | Default | Description |
|
| Name of upstream remote |
|
| Upstream branch to track |
|
| Path to Git repository |
Advanced Configuration
{
"mcpServers": {
"fork-parity": {
"command": "fork-parity-mcp",
"env": {
"UPSTREAM_REMOTE_NAME": "origin-upstream",
"UPSTREAM_BRANCH": "develop",
"REPO_PATH": "/home/user/my-fork"
}
}
}
}Multiple Projects
Track multiple forks simultaneously:
{
"mcpServers": {
"project-a-parity": {
"command": "fork-parity-mcp",
"env": {
"REPO_PATH": "/home/user/project-a"
}
},
"project-b-parity": {
"command": "fork-parity-mcp",
"env": {
"REPO_PATH": "/home/user/project-b",
"UPSTREAM_BRANCH": "development"
}
}
}
}π Status Tracking
The server creates a .parity-status.json file to track:
{
"commits": {
"abc123": {
"status": "integrated",
"notes": "Applied with modifications for our auth system",
"timestamp": "2024-01-15T10:30:00Z"
},
"def456": {
"status": "skipped",
"notes": "Not applicable to our fork",
"timestamp": "2024-01-15T11:00:00Z"
}
},
"lastUpdated": "2024-01-15T11:00:00Z"
}Status Types
β integrated - Successfully merged/applied
π reviewed - Analyzed but not yet integrated
βοΈ skipped - Not applicable to your fork
β οΈ conflict - Requires manual resolution
βΈοΈ deferred - Postponed for future integration
π pending - Awaiting analysis or review
π§ Development
Prerequisites
Node.js 18+
Git repository with upstream remote
Local Development
# Clone the repository
git clone https://github.com/moikas-code/fork-parity-mcp.git
cd parity-mcp
# Install dependencies
npm install
# Run the enhanced server
node src/enhanced-server.js
# Or run the CLI
node src/cli.js --helpTesting
# Check syntax
npm run check-syntax
# Lint code (ESLint configured)
npx eslint src/*.js --ignore-pattern="*-old.js"
# Test server startup
node src/enhanced-server.js
# Check package
npm pack --dry-runπ€ 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.
π What's New in v2.0.0
π§ AI-Powered Commit Triage - Intelligent categorization and prioritization
π Advanced Analysis Engine - Deep dependency chains, security assessment, performance impact
π€ GitHub Actions Integration - Complete workflow automation with customizable templates
π Real-time Dashboards - Comprehensive analytics and actionable insights
π Multi-channel Notifications - Slack, Discord, email, and webhook support
π― Conflict Simulation - Preview and resolve conflicts before integration
π Learning System - Adapts to your integration patterns over time
π Enterprise Features - Batch processing, migration planning, and team workflows
π 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
Special thanks to contributors who helped reach v2.0.0 production readiness
π Related
π Homepage β’ π Setup Guide β’ π Implementation Details β’ π Report Bug β’ β¨ Request Feature
Made with β€οΈ for the open source community β’ v2.0.0 Production Ready π
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.