Back to Home
haroldcampbell icon

git-control-mcp

Verified Safe

by haroldcampbell

Overview

Provides Micro-Control Protocol (MCP) tools for common Git and GitHub operations, enabling automated source control management and integration with developer environments like Codex CLI.

Installation

Run Command
uv run env PYTHONPATH=src python -m git_control.server

Security Notes

The server uses `subprocess.run` to execute `git` and `gh` commands. While the `run_git` tool enforces an allowlist of subcommands, other tools (e.g., `stage_files`, `commit_changes`, `fetch`) accept `extra_args` which are passed directly to specific git subcommands. This could potentially allow injection of additional, unintended git flags if the client providing `extra_args` is untrusted. The server primarily operates over stdio for local interaction, reducing the external attack surface. Explicit warnings are provided for destructive Git operations.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens300
Stars0
Forks0
Last Update2026-01-18

Tags

GitGitHubAutomationDeveloper ToolsMCP Server