CG

cyanheads/git-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

243 stars 58 forks 品質 82 トレンド 26Apache-2.0

cyanheads/git-mcp-server は、https://github.com/cyanheads/git-mcp-server. からインポートされたMCPサーバー候補です。

概要

cyanheads/git-mcp-server は、https://github.com/cyanheads/git-mcp-server. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

@cyanheads/git-mcp-server AIエージェント向けのGit MCPサーバー。STDIOとStreamable HTTP。 28 道具 ·1 リソース ·1 プロンプト


道具

28のgit操作は7つのカテゴリーに分類されています。

カテゴリ ツール 説明
リポジトリ管理 git_init、git_clone、git_status、git_clean リポジトリの初期化、リモートからのクローン、状況確認、追跡されていないファイルをクリーンアップ
ステージング&コミットgit_add、git_commit、git_diff ステージ変更、コミット作成、変更の比較
履歴と検査git_log、git_show、git_blame、git_reflog コミット履歴の表示、オブジェクトの検査、作者のトレース、参照ログの閲覧
分析git_changelog_analyze LLM駆動のチェンジログ解析のためのgitコンテキストと指示を集める

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。


Tools

28 git operations organized into seven categories:

Category Tools Description
Repository Management git_init, git_clone, git_status, git_clean Initialize repos, clone from remotes, check status, clean untracked files
Staging & Commits git_add, git_commit, git_diff Stage changes, create commits, compare changes
History & Inspection git_log, git_show, git_blame, git_reflog View commit history, inspect objects, trace authorship, view ref logs
Analysis git_changelog_analyze Gather git context and instructions for LLM-driven changelog analysis
GitHub で README 全文を見る

インストール

npx @cyanheads/git-mcp-server@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "git-mcp-server": { "type": "stdio", "command": "npx", "args": ["@cyanheads/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": "cyanheads", "GIT_EMAIL": "[email protected]", "GIT_SIGN_COMMITS": "true" } } } }