Server data from the Official MCP Registry
Git and GitHub operations — repo status, diffs, branches, PRs, issues, and Actions.
About
Git and GitHub operations — repo status, diffs, branches, PRs, issues, and Actions.
Security Report
Valid MCP server (1 strong, 1 medium validity signals). 1 code issue detected. No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (4/4 approved).
5 files analyzed · 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-seayniclabs-mooring": {
"args": [
"mooring-mcp"
],
"command": "uvx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Mooring — Git & GitHub MCP Server
Mooring lines for your code — Git and GitHub operations for AI tools.
Mooring is an MCP server that gives AI assistants structured access to local Git repositories and the GitHub API. Local operations use GitPython (no subprocess calls). GitHub operations use the PyGithub library with token masking and rate limit handling built in.
Tools
Local Git
| Tool | Description | Key Parameters |
|---|---|---|
repo_status | Branch, ahead/behind, stash count, staged/unstaged/untracked files | repo_path |
repo_log | Commit log with optional filters | repo_path, max_count, author, since, path, search |
repo_diff | Unified diff — working tree, staged, or between refs | repo_path, staged, from_ref, to_ref |
repo_blame | Git blame with optional line range | repo_path, file_path, start_line, end_line |
repo_branches | All branches with tracking info, last commit, ahead/behind | repo_path |
repo_stash | Stash operations: list, push, pop, apply | repo_path, action, message |
GitHub
| Tool | Description | Key Parameters |
|---|---|---|
gh_pr_list | List pull requests | repo, state, author, label |
gh_pr_detail | PR detail with reviews, comments, and check runs | repo, number |
gh_pr_create | Create a pull request | repo, title, body, head, base, labels, reviewers |
gh_issues | List, create, or update issues | repo, state, action, title, body, number |
gh_actions | List recent GitHub Actions workflow runs | repo, workflow, status |
Utility
| Tool | Description | Key Parameters |
|---|---|---|
health | Server version and status check | (none) |
Installation
# PyPI
pip install mooring-mcp
# Isolated install
pipx install mooring-mcp
Usage
Run the server directly:
mooring
Claude Code
claude mcp add mooring -- mooring
Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"mooring": {
"command": "mooring",
"env": {
"GITHUB_TOKEN": "your-github-personal-access-token"
}
}
}
}
The GITHUB_TOKEN environment variable is required for all GitHub tools (gh_*). Local Git tools work without it.
Security
- Path traversal protection — file paths are resolved and validated against the repository root before any operation
- Symlink escape detection — symlinks that resolve outside the repository are rejected
- Ref validation — Git refs are checked against a safe character pattern and verified to exist before use
- Token masking — error messages are scrubbed for GitHub token patterns (
ghp_*,gho_*,github_pat_*) before being returned - Rate limit handling — GitHub 403 responses are caught and surfaced as clear messages instead of raw exceptions
Development
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
Using with a Gateway
If you're running multiple MCP servers, route them through a gateway like tbxark/mcp-proxy to manage all child processes from a single persistent service. The proxy handles process lifecycle, centralized config, and crash recovery — each server still gets its own SSE endpoint but you manage everything from one config file instead of scattered Claude Code entries.
For a full walkthrough of how this works in practice, see The Hidden Cost of a Loaded MCP Stack on charlieseay.com.
License
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
