Mcp Server Git — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Server Git (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<div align="center"> <h1>mcp-server-git</h1> <p><b>A secure and scalable Git MCP server giving AI agents powerful version control for local and (soon) serverless environments. STDIO & Streamable HTTP</b> <div>27 Tools • 1 Resource • 1 Prompt</div> </p> </div>
<div align="center">
</div>
This server provides 27 comprehensive Git operations organized into six functional categories:
| Category | Tools | Description |
|---|---|---|
| Repository Management | git_init, git_clone, git_status, git_clean | Initialize repos, clone from remotes, check status, and clean untracked files |
| Staging & Commits | git_add, git_commit, git_diff | Stage changes, create commits, and compare changes |
| History & Inspection | git_log, git_show, git_blame, git_reflog | View commit history, inspect objects, trace line-by-line authorship, and view ref logs |
| Branching & Merging | git_branch, git_checkout, git_merge, git_rebase, git_cherry_pick | Manage branches, switch contexts, integrate changes, and apply specific commits |
| Remote Operations | git_remote, git_fetch, git_pull, git_push | Configure remotes, download updates, synchronize repositories, and publish changes |
| Advanced Workflows | git_tag, git_stash, git_reset, git_worktree, git_set_working_dir, git_clear_working_dir, git_wrapup_instructions | Tag releases, stash changes, reset state, manage worktrees, set/clear session directory, and access workflow guidance |
The server provides resources that offer contextual information about the Git environment:
| Resource | URI | Description |
|---|---|---|
| Git Working Directory | git://working-directory | Provides the current session working directory for git operations. This is the directory set via git_set_working_dir and used as the default. |
The server provides structured prompt templates that guide AI agents through complex workflows:
| Prompt | Description | Parameters |
|---|---|---|
| Git Wrap-up | A systematic workflow protocol for completing git sessions. Guides agents through reviewing, documenting, committing, and tagging changes. | changelogPath, skipDocumentation, createTag, and updateAgentFiles. |
This server works with both Bun and Node.js runtimes:
| Runtime | Command | Minimum Version | Notes |
|---|---|---|---|
| Bun | bunx git-mcp-server@latest | ≥ 1.2.0 | Native Bun runtime (optimal performance) |
| Node.js | npx git-mcp-server@latest | ≥ 20.0.0 | Via npx/bunx (universal compatibility) |
The server automatically detects the runtime and uses the appropriate process spawning method for git operations.
Add the following to your MCP Client configuration file (e.g., cline_mcp_settings.json). Clients have different ways to configure servers, so refer to your client's documentation for specifics.
Be sure to update environment variables as needed (especially your Git information!)
#### Using Bun (bunx)
{
"mcpServers": {
"git-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["git-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"GIT_BASE_DIR": "~/Developer/",
"LOGS_DIR": "~/Developer/logs/git-mcp-server/",
"GIT_USERNAME": "your-username",
"GIT_EMAIL": "[email protected]",
"GIT_SIGN_COMMITS": "false"
}
}
}
}#### Using Node.js (npx)
{
"mcpServers": {
"git-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["git-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"GIT_BASE_DIR": "~/Developer/",
"LOGS_DIR": "~/Developer/logs/git-mcp-server/",
"GIT_USERNAME": "your-username",
"GIT_EMAIL": "[email protected]",
"GIT_SIGN_COMMITS": "false"
}
}
}
}#### Streamable HTTP Configuration
MCP_TRANSPORT_TYPE=http
MCP_HTTP_PORT=3015Important: when running in STDIO mode (or HTTP mode launched without a TTY), the server disables ANSI color output by setting NO_COLOR=1 and FORCE_COLOR=0 to ensure clean MCP client streams. You generally do not need to set these manually.
This server provides a comprehensive feature set:
McpError system ensures consistent, structured error responses.none, jwt, or oauth modes.in-memory, filesystem, Supabase, Cloudflare KV/R2) without changing business logic.tsyringe for a clean, decoupled, and testable architecture.Plus, specialized features for Git integration:
git clean and git_reset --hard.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.