MCP Git Server
v2026.6.16Anthropic
Official MCP reference server for local Git operations (commits, branches, version control). One of the seven reference servers still maintained after the 2025-05-29 archival; governance moved to the Agentic AI Foundation (Linux Foundation) on 2025-12-09 (stable spec 2025-11-25; 2026-07-28 revision at RC stage). CVE-2025-68143/68144/68145 (path traversal, argument injection; published 2026-01-20) are fixed in 2025.9.25 and 2025.12.18; current release 2026.6.16 includes all fixes.
Trust Vector Analysis
Dimension Breakdown
๐Performance & Reliability+
Operation success testing
Parsing accuracy assessment
Scalability testing
Conflict handling testing
Error handling testing
๐ก๏ธSecurity+
Access control testing
Operation authorization testing
Credential security analysis
Signing capability review
Protection mechanism testing
๐Privacy & Compliance+
Data flow analysis
Privacy controls assessment
History privacy review
Data sharing analysis
File filtering assessment
๐๏ธTrust & Transparency+
Documentation completeness review
Logging and traceability assessment
Source code review
API documentation review
โ๏ธOperational Excellence+
Setup complexity assessment
Performance benchmarking
Stability analysis
Feature completeness assessment
Community activity analysis
- +Comprehensive Git operation support (commits, branches, merges, logs)
- +Built on mature and reliable Git infrastructure
- +Excellent for development workflows and version control automation
- +Full operation auditability through Git reflog and MCP logs
- +Open source implementation actively maintained under the MCP project (Agentic AI Foundation)
- +Simple setup requiring only local Git installation
- !Repository code and history exposed to LLM provider APIs
- !Risk of destructive operations (force push, branch deletion, history rewrite); no safeguards against accidental commits or pushes
- !No built-in secret detection or sensitive data filtering
- !Can access Git credentials stored on local system
- !Performance may degrade with very large repositories
- !SECURITY: three CVEs published 2026-01-20 (CVE-2025-68143 path traversal in git_init; CVE-2025-68144 argument injection in git_diff/git_checkout; CVE-2025-68145 path traversal bypassing --repository); fixed in 2025.9.25 and 2025.12.18 - versions older than 2025.12.18 remain vulnerable, upgrade to current release
- !STATUS 2026-07-09: actively maintained reference server (one of 7 retained after the 2025-05-29 archival); latest PyPI release 2026.6.16 (2026-06-17) includes all CVE fixes; governance under the Agentic AI Foundation (Linux Foundation, 2025-12-09)
Use Case Ratings
code generation
Excellent for AI-assisted development with version control integration
customer support
Limited applicability; mainly useful for technical support on code repositories
content creation
Good for managing documentation and content versioning in Git
data analysis
Useful for analyzing commit history, code churn, and repository metrics
research assistant
Great for researching code history, finding changes, and tracking evolution
legal compliance
Risk of exposing proprietary code; requires careful access controls
healthcare
Low suitability due to risk of exposing sensitive healthcare code
financial analysis
Moderate risk; requires careful repository access controls
education
Excellent for teaching Git, version control, and collaborative development
creative writing
Good for version controlling writing projects and tracking revisions