Позволяет ИИ-агентам исследовать репозитории GitHub, анализировать issue, проверять контекст кода и валидировать изменения с помощью локального исследовательского корпуса на базе SQLite.
Также известен как morluto/gitcontribute
- Звёзды
- 37
- Инструменты
- —
- Загрузки, 30 дней
- —
- Последняя версия
- 3.0.2
- Последний коммит
- 14 сент. 2026 г.
- Лицензия
- MIT
Что такое GitContribute MCP?
Позволяет ИИ-агентам исследовать репозитории GitHub, анализировать issue, проверять контекст кода и валидировать изменения с помощью локального исследовательского корпуса на базе SQLite.
Сводка сгенерирована из README проекта
О GitContribute MCP server
GitContribute предоставляет исследовательскую среду для кодинг-агентов, помогая им готовить качественные вклады в репозитории GitHub. Инструмент работает как MCP server, CLI или терминальный интерфейс, помогая разработчикам и ИИ-агентам пройти путь от обнаружения issue до подготовки валидированного pull request. Система синхронизирует инструкции к репозиторию, обсуждения и контекст кода в локальный корпус SQLite, что позволяет проводить исследования и изучение данных офлайн без постоянных сетевых запросов.
Пользователи настраивают окружение с помощью Node.js или Go, а инструмент может интегрироваться с GitHub CLI для аутентификации. В отличие от многих инструментов автоматизации, он никогда не пишет в GitHub напрямую. Вместо этого он фокусируется на сборе доказательств, проверке наличия параллельных работ и запуске локальных команд валидации, таких как тесты или бенчмарки. Это гарантирует, что любые предлагаемые изменения подкреплены зафиксированными наблюдениями и проверены относительно базовой версии до того, как человек приступит к ревью финального черновика.
Что вы можете с ним делать
- 1Поиск подходящих задач для контрибьюцииПопросите агента найти и ранжировать открытые issue в конкретном репозитории на основе их масштаба и рисков координации.
- 2Глубокое исследование issueДайте агенту команду изучить конкретный номер issue, чтобы обобщить проблему и собрать релевантный контекст кода.
- 3Проверка на дубликатыЗапросите проверку, чтобы узнать, не была ли проблема уже решена другими pull request или отчетами.
- 4Локальная валидация изменений кодаПоручите агенту запустить утвержденные команды тестирования, чтобы сравнить предлагаемое изменение с текущим базовым состоянием.
Взято из README проекта. Каждый вариант использования проверен на соответствие цитате из него.
Как установить GitContribute MCP
Форматы проверены 10 ноя 2026Добавить в CursorДобавить в GooseУстановка GitContribute MCP в Claude Code
$ claude mcp add gitcontribute -- npx -y gitcontributeУстановка GitContribute MCP в Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"gitcontribute": {
"command": "npx",
"args": [
"-y",
"gitcontribute"
]
}
}
}Установка GitContribute MCP в VS Code
.vscode/mcp.json
{
"servers": {
"gitcontribute": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gitcontribute"
]
}
}
}Установка GitContribute MCP в VS Code CLI
$ code --add-mcp '{"name":"gitcontribute","type":"stdio","command":"npx","args":["-y","gitcontribute"]}'Установка GitContribute MCP в Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"gitcontribute": {
"command": "npx",
"args": [
"-y",
"gitcontribute"
]
}
}
}Установка GitContribute MCP в Codex
$ codex mcp add gitcontribute -- npx -y gitcontributeУстановка GitContribute MCP в Codex config.toml
~/.codex/config.toml
[mcp_servers.gitcontribute] command = "npx" args = ["-y", "gitcontribute"]
Установка GitContribute MCP в Gemini CLI
$ gemini mcp add -s user gitcontribute npx -- -y gitcontributeУстановка GitContribute MCP в Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"gitcontribute": {
"command": "npx",
"args": [
"-y",
"gitcontribute"
]
}
}
}Автоматические проверки
Запущено 14 нояб. 2026 г.Полный отчёт →Прошло наши автоматизированные проверки. Это не аудит безопасности: изучите код и предоставьте серверу минимально необходимый доступ. Как работают проверки
- Связанный и доступный исходный репозиторийmorluto/gitcontribute is public and reachablegithub.com/morluto/gitcontribute ↗Пройдено
- Пакет указывает этот репозиторий как источникgitcontribute names morluto/gitcontribute as sourcenpmjs.com/package/gitcontribute ↗Пройдено
- Происхождение сборки (аттестация Sigstore)Sigstore attestation for gitcontributenpmjs.com/package/gitcontribute/v/3.0.2#provenance ↗Пройдено
- Open source лицензия (OSI)MITspdx.org/licenses/MIT.html ↗Пройдено
- Коммит или релиз за последний годLast commit or release 2026-09-14github.com/morluto/gitcontribute ↗Пройдено
- OpenSSF ScorecardНе проверялось
- Имя пакета не похоже на популярный пакетNo popular package one edit away from gitcontributeПройдено
- Нет критических предупреждений в пакете или его зависимостях1 resolved dependencies checked; no critical advisoryosv.dev ↗Пройдено
- Нет скрытых инструкций для модели0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersПройдено
- Деструктивные инструменты помеченыНе проверялось
- Удалённая конечная точка отвечает на рукопожатие MCPНе проверялось
README
Открыть на GitHubGitContribute
Contribution research for agents: check repository guidance, related work, code context, and validation before writing a patch.
Quick start · Workflow · CLI · MCP · Safety · Documentation

gitcontribute is available as a CLI, terminal UI, and MCP server for coding
agents.
GitHub can show you open issues. It cannot tell you whether an issue is still relevant, already being implemented, appropriate for an outside contributor, or supported by enough evidence to work on safely.
GitContribute collects repository guidance, related issues and pull requests, code context, accepted contribution patterns, and validation results in a local SQLite corpus. Results identify missing or stale coverage.
find work -> understand it -> check competing work -> prove the change -> prepare the handoff
[!IMPORTANT] GitContribute never writes to GitHub. It prepares local research and drafts for you to review.
Quick start
Run the guided setup with Node.js 18 or newer:
npx --yes gitcontribute@latest setup
Choose MCP to use GitContribute from a supported coding agent, CLI for the terminal and TUI, or Both. The wizard shows every planned change before applying it. Adding a repository during setup does not contact GitHub or start a sync.
After setup, start with a repository or an exact issue:
| Task | Coding agent | CLI |
|---|---|---|
| Find candidates | Find contribution candidates in owner/repo. Rank them by contribution fit, evidence, scope, and coordination risk. |
gitcontribute archive sync owner/repogitcontribute radar owner/repo --limit 10 |
| Research an issue | Investigate owner/repo#42. Check guidance, discussion, code, prior fixes, competing work, and missing evidence. |
gitcontribute archive sync owner/repo --numbers 42gitcontribute research brief issue:owner/repo#42 |
Results include source references, coverage gaps, and suggested next steps.
Install a persistent command:
npm install --global gitcontribute@latest
gitcontribute setup
Pin GitContribute to a project:
npm install --save-dev gitcontribute
npm exec -- gitcontribute setup --mode mcp --codex --token-source none --yes
Build from source with Go 1.26 or newer:
go install github.com/morluto/gitcontribute/cmd/gitcontribute@latest
Native npm binaries are included for macOS ARM64/x64, Linux ARM64/x64, and
Windows x64. You also need git. The gh CLI is optional and can provide
authentication through gh auth token.
Contribution workflow
1. Find a candidate
Search a repository or rank its open issues by available evidence, scope, risks, blockers, and signs that maintainer coordination is needed.
Find contribution candidates in golang/go. Exclude issues with active
implementation work and explain why each remaining candidate is worth
investigating.
The ranking only covers stored observations. Results report incomplete coverage.
2. Research an issue
Build a research brief from the issue, repository guidance, discussion, linked work, indexed code, and historical contributions. Extracted maintainer text and checkboxes are not presented as complete acceptance criteria.
Investigate issue owner/repo#42. Summarize the confirmed problem, likely scope,
relevant code, maintainer guidance, and open questions.
3. Check related work
Look for duplicate reports, linked pull requests, closing relationships, and semantically overlapping work before investing in an implementation.
Check whether owner/repo#42 has duplicate reports or competing implementation
work. Tell me what you checked and identify any missing coverage.
Incomplete coverage is reported instead of being treated as proof that no competing work exists. In the MCP workflow, follow the returned typed recovery action, poll the durable job, and reread the affected exact thread or repository before drawing that conclusion.
4. Validate a change
Record a reproduction, test, benchmark, or other validation and compare the unmodified baseline with a candidate. Validation commands run only after explicit approval.
Validate my candidate change against the baseline. Run the approved checks,
record both results, and explain whether the evidence supports the change.
Stored runs include the command, outcome, timing, and available process metrics.
5. Prepare a draft
Create a local issue, pull-request, or review draft tied to the research and validation evidence already collected.
Prepare a pull-request draft for this contribution. Tie its claims to the
recorded evidence, include the validation results, and do not post anything.
Draft revisions retain their exact rendered bytes and provenance.
Interfaces and storage
GitContribute stores repositories, threads, code snapshots, investigations, evidence, validation results, and contribution outcomes in SQLite. Network access is explicit; once information has been synced, corpus search and inspection work offline.
GitHub read APIs Local checkout
| |
| explicit sync / hydrate | explicit index / acquire
v v
+------------------------------------------------+
| Local SQLite corpus |
| observations · coverage · evidence · outcomes |
+------------------------+-----------------------+
| offline reads
+---------+---------+
v v
CLI / TUI Coding agents
The CLI and MCP server use the same application services and side-effect boundaries.
CLI
The CLI exposes the same workflow without requiring an MCP client:
# Sync repository context and current threads
gitcontribute archive sync-context owner/repo
gitcontribute archive sync owner/repo
# Find and inspect contribution candidates
gitcontribute radar owner/repo --limit 10
gitcontribute research brief issue:owner/repo#42
# Search stored threads and indexed code
gitcontribute search threads "connection timeout" --repo owner/repo
gitcontribute search code "context.WithTimeout" --repo owner/repo
For implementation work:
gitcontribute investigation start-thread issue:owner/repo#42 --json
gitcontribute workspace create <investigation-id>
gitcontribute validation define --kind=test --command="go test ./..." \
--working-dir=/path/to/workspace <investigation-id>
gitcontribute validation run <validation-id> --kind=base --execute
gitcontribute validation run <validation-id> --kind=candidate --execute
gitcontribute validation compare <base-run-id> <candidate-run-id>
gitcontribute readiness opportunity <opportunity-id>
gitcontribute prepare pr --approach="Bound retries with context" \
--workspace <workspace-id> <opportunity-id>
Run gitcontribute --help or gitcontribute <command> --help for the complete
command and flag reference. Most non-interactive commands accept --json;
machine-readable output goes to stdout and progress goes to stderr.
Launch the local TUI with:
gitcontribute tui
MCP
The MCP server advertises one unified catalog. Hosts such as Codex and Claude Code can discover large MCP catalogs with native tool search, so setup does not ask users to choose permanent capability profiles.
gitcontribute setup --mode mcp --codex --token-source none --yes
gitcontribute setup --mode mcp --all-clients --token-source none --yes
To start the stdio server directly:
gitcontribute mcp serve --transport=stdio
Add --read-only to remove tools that permit network access, local writes, or
execution. See MCP catalog and composition for capability
boundaries, snapshot recovery, resource handoffs, and common tool sequences.
GitHub users are stored as first-class actors. Live discovery records identity only; profile, social-account, organization, pinned-item, repository, and contribution facts are synchronized independently. See the actor corpus for the data and freshness model.
Side-effect boundaries
GitContribute separates corpus reads, GitHub reads, local writes, process execution, and external mutation.
| Operation | Network | Local write | Runs a process | GitHub write |
|---|---|---|---|---|
| Search and inspect stored research | No | No | No | No |
| Record investigations and evidence | No | Yes | No | No |
| Sync or hydrate GitHub context | Yes | Yes | No | No |
| Acquire and index code | Yes | Yes | git only |
No |
| Run an explicitly approved validation | No by default | Yes | Yes | No |
- Corpus reads never fetch data.
- Crawling and indexing never execute repository-controlled code.
- Explicit validation commands run on your host with your user permissions.
- GitContribute has no GitHub mutation capability.
- There is no hosted corpus or product telemetry.
See Architecture for the complete boundary definitions.
Documentation
- Onboarding and configuration
- MCP catalog and composition
- Actor corpus
- Architecture and side-effect boundaries
- Operational runbooks
- Security policy
- Contributing
Storage
GitContribute follows platform conventions:
| Platform | Configuration | Data |
|---|---|---|
| Linux | $XDG_CONFIG_HOME/gitcontribute or ~/.config/gitcontribute |
$XDG_DATA_HOME/gitcontribute or ~/.local/share/gitcontribute |
| macOS | ~/Library/Application Support/gitcontribute |
~/Library/Application Support/gitcontribute/Data |
| Windows | %APPDATA%\gitcontribute |
%LOCALAPPDATA%\gitcontribute\Data |
The default corpus is gitcontribute.db in the data directory. Run
gitcontribute metadata or gitcontribute doctor --json to inspect the local
setup.
Platform support
Linux and macOS are the primary development and test targets. Windows builds
are tested in CI and use the standard %APPDATA% and %LOCALAPPDATA%
locations.
Development
make verify
go run ./cmd/gitcontribute --help
Before changing package boundaries or side effects, read docs/architecture.md. See CONTRIBUTING.md for the repository workflow.
Вопросы о GitContribute MCP
Как добавить GitContribute MCP в Claude Code?
Выполните claude mcp add gitcontribute -- npx -y gitcontribute в терминале. Добавьте --scope user, чтобы сервер был доступен во всех проектах.
Как добавить GitContribute MCP в Cursor?
Откройте ~/.cursor/mcp.json и добавьте сервер в mcpServers, используя конфигурацию Cursor из раздела установки выше.
Записывает ли GitContribute данные в GitHub?
Нет, GitContribute никогда не записывает данные в GitHub; он только подготавливает локальные исследования и черновики для вашего ознакомления.
Как хранятся данные исследований?
Все данные репозитория, результаты расследований и валидации хранятся в локальном корпусе SQLite.
Можно ли использовать GitContribute офлайн?
Да, после того как информация будет синхронизирована с локальным корпусом, поиск и изучение данных работают без подключения к сети.