Mooring
OfficialMooring — Git & GitHub MCP-Server
Festmacherleinen für Ihren Code — Git- und GitHub-Operationen für KI-Tools.
Mooring ist ein MCP-Server, der KI-Assistenten strukturierten Zugriff auf lokale Git-Repositories und die GitHub-API bietet. Lokale Operationen nutzen GitPython (keine Subprocess-Aufrufe). GitHub-Operationen verwenden die PyGithub-Bibliothek mit integrierter Token-Maskierung und Ratenbegrenzungs-Handling.
Tools
Lokales Git
Tool | Beschreibung | Wichtige Parameter |
| Branch, ahead/behind, Stash-Anzahl, gestagte/ungestagte/ungetrackte Dateien |
|
| Commit-Log mit optionalen Filtern |
|
| Unified Diff — Working Tree, gestagt oder zwischen Refs |
|
| Git Blame mit optionalem Zeilenbereich |
|
| Alle Branches mit Tracking-Info, letztem Commit, ahead/behind |
|
| Stash-Operationen: list, push, pop, apply |
|
GitHub
Tool | Beschreibung | Wichtige Parameter |
| Pull Requests auflisten |
|
| PR-Details mit Reviews, Kommentaren und Check-Runs |
|
| Pull Request erstellen |
|
| Issues auflisten, erstellen oder aktualisieren |
|
| Kürzliche GitHub Actions Workflow-Runs auflisten |
|
Dienstprogramme
Tool | Beschreibung | Wichtige Parameter |
| Server-Version und Statusprüfung | (keine) |
Related MCP server: Git MCP Server
Installation
# PyPI
pip install mooring-mcp
# Isolated install
pipx install mooring-mcpVerwendung
Starten Sie den Server direkt:
mooringClaude Code
claude mcp add mooring -- mooringClaude Desktop
Fügen Sie dies zu Ihrer Claude Desktop-Konfiguration (claude_desktop_config.json) hinzu:
{
"mcpServers": {
"mooring": {
"command": "mooring",
"env": {
"GITHUB_TOKEN": "your-github-personal-access-token"
}
}
}
}Die Umgebungsvariable GITHUB_TOKEN ist für alle GitHub-Tools (gh_*) erforderlich. Lokale Git-Tools funktionieren auch ohne diese.
Sicherheit
Schutz vor Pfad-Traversal — Dateipfade werden aufgelöst und vor jeder Operation gegen das Repository-Root validiert
Erkennung von Symlink-Ausbrüchen — Symlinks, die außerhalb des Repositorys aufgelöst werden, werden abgelehnt
Ref-Validierung — Git-Refs werden gegen ein sicheres Zeichenmuster geprüft und vor der Verwendung auf Existenz verifiziert
Token-Maskierung — Fehlermeldungen werden vor der Rückgabe nach GitHub-Token-Mustern (
ghp_*,gho_*,github_pat_*) durchsucht und bereinigtRatenbegrenzungs-Handling — GitHub 403-Antworten werden abgefangen und als klare Meldungen statt als rohe Exceptions ausgegeben
Entwicklung
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/ -qLizenz
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
12 tool updates
v0.1.1- First observed
gh_actions - First observed
gh_issues - First observed
gh_pr_create - First observed
gh_pr_detail - First observed
gh_pr_list - First observed
health - First observed
repo_blame - First observed
repo_branches - First observed
repo_diff - First observed
repo_log - First observed
repo_stash - First observed
repo_status
TDQS
Scored across 12 tools
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.
Related MCP Connectors
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables 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.1541 npm4MIT
- 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.16130 npm3MIT

Gitrama MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceProvides 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.21 npmMIT