Mooring
OfficialMooring — MCP-сервер для Git и GitHub
Швартовы для вашего кода — операции с Git и GitHub для ИИ-инструментов.
Mooring — это MCP-сервер, который предоставляет ИИ-ассистентам структурированный доступ к локальным Git-репозиториям и API GitHub. Локальные операции используют GitPython (без вызовов subprocess). Операции с GitHub используют библиотеку PyGithub со встроенной маскировкой токенов и обработкой ограничений частоты запросов (rate limits).
Инструменты
Локальный Git
Инструмент | Описание | Ключевые параметры |
| Ветка, опережение/отставание, количество stash, индексированные/неиндексированные/неотслеживаемые файлы |
|
| Журнал коммитов с опциональными фильтрами |
|
| Unified diff — рабочая директория, индекс или между ссылками |
|
| Git blame с опциональным диапазоном строк |
|
| Все ветки с информацией об отслеживании, последнем коммите, опережении/отставании |
|
| Операции со stash: список, push, pop, apply |
|
GitHub
Инструмент | Описание | Ключевые параметры |
| Список pull request'ов |
|
| Детали PR с ревью, комментариями и результатами проверок |
|
| Создание pull request'а |
|
| Список, создание или обновление issues |
|
| Список недавних запусков рабочих процессов GitHub Actions |
|
Утилиты
Инструмент | Описание | Ключевые параметры |
| Версия сервера и проверка статуса | (нет) |
Related MCP server: Git MCP Server
Установка
# PyPI
pip install mooring-mcp
# Isolated install
pipx install mooring-mcpИспользование
Запустите сервер напрямую:
mooringClaude Code
claude mcp add mooring -- mooringClaude Desktop
Добавьте в конфигурацию Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"mooring": {
"command": "mooring",
"env": {
"GITHUB_TOKEN": "your-github-personal-access-token"
}
}
}
}Переменная окружения GITHUB_TOKEN обязательна для всех инструментов GitHub (gh_*). Локальные инструменты Git работают без неё.
Безопасность
Защита от обхода путей (path traversal) — пути к файлам разрешаются и проверяются относительно корня репозитория перед любой операцией
Обнаружение выхода за пределы через симлинки — симлинки, указывающие за пределы репозитория, отклоняются
Проверка ссылок (ref validation) — Git-ссылки проверяются на соответствие безопасному шаблону символов и подтверждаются на существование перед использованием
Маскировка токенов — сообщения об ошибках очищаются от шаблонов токенов GitHub (
ghp_*,gho_*,github_pat_*) перед возвратомОбработка ограничений частоты запросов — ответы GitHub 403 перехватываются и отображаются как понятные сообщения вместо необработанных исключений
Разработка
git clone https://github.com/seayniclabs/mooring.git
cd mooring
python -m venv .venv && source .venv/bin/activate
pip install -e ".[test]"
python -m pytest tests/ -qЛицензия
TDQS
Clear separation between GitHub API (gh_*) and local git (repo_*) operations. While gh_issues combines list/create/update into one tool whereas PR operations are split into separate tools, the descriptions clearly distinguish their purposes with no overlapping functionality between different tools.
Uses consistent prefixes (gh_ and repo_) but mixes naming patterns: gh_issues and gh_actions use nouns while PR tools use verb_noun (gh_pr_create, gh_pr_list). Local git tools follow git command names (mostly nouns) but lack verb consistency with the GitHub action-oriented names.
Twelve tools is well-scoped for a server bridging GitHub API and local git operations. The count covers essential inspection and management tasks without bloat, with each tool earning its place in the set.
Strong read-only coverage (status, log, diff, blame, list operations) but notable gaps in write operations: no PR update/merge/close, no local git commit/push/pull/checkout, and limited Actions support (list only). The surface supports inspection workflows well but leaves agents unable to complete full git/PR lifecycle operations.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
Plain-English git via MCP: 22 tools to branch, commit, push, and tag. No git jargon.
GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
Manage repositories, users, releases, and automate GitHub workflows
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables code review operations on GitHub and GitLab, including fetching pull/merge requests, viewing diffs, adding comments, analyzing code quality, and creating merge requests directly from your MCP client.1584MIT
- AlicenseBqualityDmaintenanceProvides comprehensive Git functionality to MCP clients, enabling users to manage repositories through operations like commits, diffs, and branch management via natural language. It automatically detects the current working directory and supports multi-project workflows across different local environments.166072MIT

Gitrama MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceProvides 15 MCP tools for AI-powered Git intelligence, enabling commit messages, branch creation, PR descriptions, code review, diff analysis, and push operations directly from your AI assistant.MIT- AlicenseNot gradedqualityFmaintenanceProvides comprehensive git tooling via MCP, including status, diffs, commits, branches, stashes, and multi-root inventory, enabling AI agents to manage repositories.40MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/seayniclabs/mooring'
If you have feedback or need assistance with the MCP directory API, please join our Discord server