GitPilot-MCP
An autonomous MCP-powered agent that automates GitHub contributions end-to-end, from issue analysis and code changes to pull requests, conflict resolution, and review updates.
Install / Use
claude mcp add Divyanshu-hash -- npx -y github:Divyanshu-hash/GitPilot-MCPIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of GitPilot-MCP
GitPilot-MCP scores 74/100 on our quality scale, 2620th of 2,870 Automation skills we index.
Its MCP Server is 4.6 KB long, well organised into 22 sections with 9 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-20 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 86/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
GitPilot-MCP compared with similar skills
All 4 of these similar skills score higher than GitPilot-MCP; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| GitPilot-MCP (this skill)by Divyanshu-hash | 74 | 3 | 8mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 90.5k | 19d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.4k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.2k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 85.6k | today | MCP Server |
Frequently asked questions
- How do I install GitPilot-MCP?
- Run
claude mcp add Divyanshu-hash -- npx -y github:Divyanshu-hash/GitPilot-MCP. The install tabs above show the steps for each supported agent. - Which AI agents does GitPilot-MCP work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is GitPilot-MCP safe to use?
- It is Apache-2.0-licensed and scores 86/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is GitPilot-MCP still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubGitPilot MCP
An autonomous MCP-powered agent that automates GitHub contributions end-to-end, from issue analysis and code changes to pull requests, conflict resolution, and review updates.
🚀 Overview
GitPilot MCP is an Autonomous GitHub Contribution Agent built using the Model Context Protocol (MCP). It helps developers and contributors automate the full open-source workflow:
- Forking repositories
- Analyzing issues
- Making code changes
- Running tests
- Creating pull requests
- Syncing with upstream changes
- Handling merge conflicts
- Updating PRs based on maintainer feedback
The agent is designed to be minimal, safe, and extensible, without overengineering.
✨ Key Features
- 🔁 Fork & clone GitHub repositories
- 🌿 Create and manage feature branches
- 🔄 Sync fork with upstream when new PRs are merged
- 🧠 Semantic code understanding using RAG
- ✍️ Generate minimal, clean git diffs
- 🧪 Run tests and retry fixes automatically
- 📦 Commit & push changes
- 🔀 Create pull requests programmatically
- 🛠️ Update existing PRs after review feedback
- ⚠️ Detect merge conflicts before PR updates
🧠 Architecture (High Level)
Issue → Code Context (RAG) → Patch → Tests → Commit → PR
↑
Sync / Review Feedback
The system follows real-world open-source contribution practices.
📂 Project Structure
mcp-github/
│
├── main.py # MCP server & tools
├── rag.py # RAG indexing and search
├── config.py # GitHub token & workspace
├── .rag/ # Vector store (local)
└── README.md
🧩 Installation & Setup
Make sure you have the following installed:
- Python 3.10+
- Git
- Claude Desktop (latest version)
- Ollama (for embeddings)
Step 1: Install uv
uv is used for dependency management and isolated execution.
pip install uv
Step 2: Clone the Repository
git clone https://github.com/<your-username>/GitPilot-MCP.git
cd GitPilot-MCP
Step 3: Initialize the Project (uv)
Initialize the project environment:
uv init
Step 4: Install Dependencies
Add all required dependencies:
uv add fastmcp gitpython pygithub python-dotenv numpy faiss-cpu ollama
Step 5: For MCP tools testing
uv run fastmcp dev main.py
⚙️ MCP Server Configuration
Use the following configuration to run the MCP server locally via uv + fastmcp in Claude-desktop:
paste this configuration in claudee-desktop-config file.
{
"mcpServers": {
"GitPilot-MCP": {
"command": "<PATH_TO_PYTHON>/Scripts/uv.exe",
"args": [
"run",
"--project",
"<PATH_TO_PROJECT_ROOT>",
"--directory",
"<PATH_TO_PROJECT_ROOT>",
"fastmcp",
"run",
"main.py"
],
"transport": "stdio"
}
}
}
🔐 Configuration
Create a config.py file:
GITHUB_TOKEN = "your_github_personal_access_token"
WORKSPACE = "./workspace"
⚠️ The token must have permissions to fork repositories and create pull requests.
🛠️ Available MCP Tools
Some important tools exposed by the agent:
fork_repoclone_repocreate_branchsync_with_upstreamindex_repoget_repo_contextapply_patchrun_testsretry_fix_with_testscommit_and_pushcreate_pull_requestcheck_for_conflictsupdate_pr_after_feedback
Each tool is single-responsibility and composable.
🧪 Testing Workflow
- Apply generated patch
- Run tests (
pytest -qby default) - Retry fixes automatically if tests fail
- Stop immediately once tests pass
🔄 Handling Maintainer Feedback
When a maintainer requests changes:
- Generate a new patch
- Apply it to the same branch
- Commit & push
The existing PR updates automatically. No new PRs are created.
🧩 Design Principles
- ✅ Minimal diffs
- ✅ Short, inline comments only when necessary
- ✅ No hard refresh or destructive git actions
- ✅ No silent failures
- ✅ Extensible for future improvements
🚧 Limitations
- Repository indexing may be limited on very large repos
- Conflict resolution is assisted, not fully automatic
- Designed for local / controlled environments (remote hardening can be added later)
🔮 Future Improvements
- Scoped repository indexing
- PR comment parsing
- CI status polling
- Refresh-token support
- Remote multi-user MCP deployment
📜 License
MIT License (or as per your choice)
🙌 Acknowledgements
Built using:
- FastMCP
- GitPython
- PyGitHub
- Ollama (for embeddings)
- Qdrant / FAISS (vector search)
👨💻 Author
Divyanshu Giri
Related Skills
Agent-Reach
90.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.4kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.2kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
85.6k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
