Mooring
OfficialMooring — Git & GitHub MCPサーバー
コードのための係留ロープ — AIツール向けのGitおよびGitHub操作。
Mooringは、AIアシスタントにローカルGitリポジトリおよびGitHub APIへの構造化されたアクセスを提供するMCPサーバーです。ローカル操作にはGitPythonを使用します(サブプロセス呼び出しは行いません)。GitHub操作にはPyGithubライブラリを使用し、トークンのマスキングとレート制限の処理が組み込まれています。
ツール
ローカルGit
ツール | 説明 | 主要パラメータ |
| ブランチ、先行/遅延、スタッシュ数、ステージング済み/未ステージング/追跡対象外ファイル |
|
| フィルタ付きコミットログ |
|
| ユニファイド差分 — ワーキングツリー、ステージング済み、または参照間 |
|
| 行範囲指定可能なGit blame |
|
| 追跡情報、最終コミット、先行/遅延を含む全ブランチ |
|
| スタッシュ操作: 一覧表示、プッシュ、ポップ、適用 |
|
GitHub
ツール | 説明 | 主要パラメータ |
| プルリクエストの一覧表示 |
|
| レビュー、コメント、チェック実行を含むPR詳細 |
|
| プルリクエストの作成 |
|
| Issueの一覧表示、作成、更新 |
|
| 最近の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ツール (gh_*) には GITHUB_TOKEN 環境変数が必要です。ローカルGitツールはこれなしでも動作します。
セキュリティ
パストラバーサル保護 — ファイルパスは解決され、操作前にリポジトリルートに対して検証されます
シンボリックリンクエスケープ検出 — リポジトリ外を指すシンボリックリンクは拒否されます
参照(Ref)の検証 — 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