Runturu GitHub MCP Server
Exposes git operations on the repository's working copy via dedicated tools (log, diff, show, blame, commit, push, branch/tag management, merge, rebase, reset, checkout, sync) plus a run_git escape hatch for arbitrary git commands.
Provides full read/write access to a single GitHub repository: cloning the working copy, reading files, history, blame and diffs, committing, managing branches, tags and merges/rebases, pushing (including force-with-lease), and arbitrary git commands against https://github.com//.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Github — CMCPT для доступа к репозиторию
MCP-сервер Runturu с полным доступом к одному git-репозиторию GitHub: рабочая копия, чтение файлов и истории, коммиты, ветки, merge/rebase, push (включая force) и произвольные git-команды.
MCP endpoint:
/mcp(streamable HTTP)health:
/healthпорт:
8080манифест:
runturu-mcp.json
Настройки подключения
Задаются при создании CMCP; гейтвей передаёт их в заголовке
X-Runturu-Config (base64url JSON), сервер читает их на каждый запрос.
Ключ | Тип | Обязательно | Что это |
| url | да |
|
| password | да | GitHub PAT с доступом к содержимому репозитория |
| string | нет | ветка при первом клонировании, по умолчанию |
| string | нет | автор коммитов, по умолчанию |
| string | нет | почта автора коммитов, по умолчанию |
Токен нужен с правами Contents: Read and write (fine-grained PAT) или
классический с областью repo. Только чтение — достаточно Contents: Read.
Related MCP server: Git MCP Server
Инструменты
Инструмент | Что делает |
| ветка, HEAD, изменения, размер, remote |
| файлы рабочей копии или ревизии |
| файл из рабочей копии или ревизии |
| история коммитов (по ветке и/или файлу) |
| рабочая копия ↔ HEAD, между ревизиями, staged |
| коммит целиком или файл в ревизии |
| авторство строк |
| локальные и удалённые ветки |
| теги |
| создать/перезаписать файл (без коммита) |
| удалить файл (без коммита) |
| закоммитить всё или указанные пути, |
| push ветки/тегов, |
| fetch + pull ( |
| создать ветку от HEAD или ревизии |
| переключиться на ветку/тег/коммит |
| удалить ветку локально и/или в origin |
|
|
| слить ревизию в текущую ветку |
| rebase, |
| создать/удалить/список тегов |
| произвольная git-команда (escape hatch) |
| пересоздать рабочую копию с нуля |
Как это работает
При первом вызове сервер делает
git init+git fetchизREPO_URLи переключается наDEFAULT_BRANCH.Рабочая копия живёт в
/tmp/cmcp-github/repo— внутри контейнера. Она пропадает при пересоздании контейнера (активация, смена версии, перезапуск хоста) и создаётся заново при следующем вызове. Незакоммиченные изменения при этом теряются, запушенное — нет.Токен передаётся git через
GIT_CONFIG_*какhttp.https://github.com/.extraheader, поэтому не попадает в argv, в.git/configи вgit remote -v. В любом выводе инструментов токен и его base64 маскируются в***.Пути файлов проверяются: абсолютные пути и
..за пределы репозитория запрещены, символические ссылки разрешаются.
Ограничения
Контейнер: 512 МБ памяти, 0.5 CPU, 128 процессов. Очень большие репозитории (>200 МБ) клонировать не получится — лимит платформы.
Сеть: только
github.comпо HTTPS через egress-прокси Runturu. Git-хостинги кроме GitHub, SSH и локальные пути недоступны.Инструменты
push(force=true),reset(mode="hard"),delete_branch,rebase,workspace_resetиrun_git— разрушительные: могут потерять работу. Это осознанный выбор владельца шаблона, агент должен предупреждать о них пользователя.
Локальный запуск
pip install -r requirements.txt
export REPO_URL=https://github.com/owner/repo
export GIT_TOKEN=...
python -m uvicorn server.main:app --port 8080curl -s localhost:8080/health
curl -s localhost:8080/mcp -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Тесты
python -m pytest -qТесты не ходят в сеть: проверяются нормализация адреса, защита путей, маскирование токена и реальные git-операции в локальном временном репозитории.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Manage repositories, users, releases, and automate GitHub workflows
Read-only scan of a public GitHub repo for leaked secrets, with a 0-100 grade.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides secure, controlled access to GitHub operations through the Model Context Protocol with enterprise-grade security features including secret detection, vulnerability scanning, rate limiting, and full audit trails. Supports repository management, file operations, branch creation, commits, and GitHub Actions workflows.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to inspect local Git repositories and interact with the GitHub API for reading commits, diffs, files, issues, comments, pull requests, and project boards.10134 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables write-capable GitHub operations on allowed repositories, including file management, branches, commits, and pull requests.MIT
- AlicenseNot gradedqualityCmaintenanceEnables read-only GitHub repository inspection and deterministic intelligence through MCP tools for repository metadata, file contents, issue triage, pull-request risk signals, and GitHub Actions failure investigation.MIT