git-mcp
@wricardo
git-mcp について
MCP server to interact with a git repository
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is git-mcp?
git-mcp is a Model Context Protocol (MCP) server that interacts with Git repositories. It provides tools for executing Git operations, viewing commit history, tracking file changes, and examining file differences. It is designed for developers and AI assistants that need programmatic access to Git repository data.
How to use git-mcp?
Install the package with go install github.com/wricardo/git-mcp@latest. Then configure your MCP client settings with a WORKDIR environment variable pointing to a local Git repository. Finally, run git-mcp to start the server. The server exposes four tools: git-log, git-changed-files, git-file-diff, and git-file-history.
Key features of git-mcp
- Execute Git operations through MCP tools
- View commit history with hash, author, date, message
- List files changed between commits
- Show detailed file differences between commits
- Track commit history for a specific file
Use cases of git-mcp
- Exploring a Git repository’s commit history
- Reviewing file changes between recent commits
- Inspecting detailed diffs of a specific file
- Tracking changes to a file over time
- Enabling AI assistants to query Git data
FAQ from git-mcp
What are the system requirements for git-mcp?
Go 1.23.0 or later and Git must be installed on your system. You also need access to a Git repository.
How do I configure git-mcp?
Set the WORKDIR environment variable to the absolute path of your Git repository in your MCP client settings (e.g., "env": {"WORKDIR": "/path/to/repo"}).
What tools does git-mcp provide?
git-mcp provides four tools: git-log (commit history), git-changed-files (files changed between HEAD and a given number of commits back), git-file-diff (detailed file differences between commits), and git-file-history (commit history for a specific file).
Can I limit the number of commits displayed?
Yes, the git-log and git-file-history tools accept an optional limit parameter (default 10).
「バージョン管理」の他のコンテンツ
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
GitHub Stars MCP Server
ccbikaiA Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
Integrate MCP with GitHub Copilot
skillsLearn how to use MCP Servers with GitHub Copilot
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
コメント