merge-god
Verified Safeby jrepp
Overview
A Python library and MCP server for autonomously syncing GitHub repository data (PRs, branches, CI status, comments) to a local SQLite database, and enabling LLM-driven automation of Git/GitHub workflows (merging, rebasing, PR reviews, CI fixes) through a structured tool-calling system and git worktree management.
Installation
python -m github_sync.mcp_server --workspace /path/to/workspaceEnvironment Variables
- ANTHROPIC_API_KEY
- CLAUDE_CODE_USE_BEDROCK
- ANTHROPIC_MODEL
- ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION
- GITHUB_TOKEN
Security Notes
The server executes external 'git' and 'gh' commands via subprocess, which carries an inherent risk if inputs are not perfectly sanitized, though the codebase demonstrates efforts in handling arguments and resolving file paths. Sensitive API keys are explicitly configured to be provided via environment variables, preventing hardcoding. No direct 'eval' or obvious malicious patterns were found. Running in a controlled environment is advisable due to subprocess calls.
Similar Servers
git-mcp-server
A Model Context Protocol (MCP) server that provides Git-specific tools and resources for AI/LLM agents to interact with version control systems.
gh-mcp
A GitHub CLI extension to seamlessly run the github-mcp-server in a Docker container using existing `gh` authentication.
sqlite-mcp
A Model Context Protocol (MCP) server that enables LLMs to interact with SQLite databases by providing tools and resources for querying and managing data.
tinystruct-mcp
A modular Java server providing a JSON-RPC interface for file system and Git/GitHub operations, aimed at automation and DevOps workflows.