MCP.so
ログイン

Git Command MCP Server

@ukiuni

基本情報

カテゴリ

バージョン管理

ライセンス

MIT license

トランスポート

stdio

作者

ukiuni

Git Command MCP Server について

mcp server for git command wrapper

#mcp-git#git-command#mcp-server

Git Command MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mpc-git": {
      "command": "node",
      "args": [
        "/path_to_mcp-git/mcp-git/dist/index.js"
      ]
    }
  }
}

Git Command MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Git Command MCP Server?

It is an MCP server that provides tools for executing various Git commands. It requires a local installation of Git (git or git.exe) and is designed for use with MCP clients like Roo Code or Claude Desktop.

How to use Git Command MCP Server?

Install via npm i mcp-git or clone the repository, then run npm install. Configure your MCP client with the command node and an argument pointing to the absolute path of dist/index.js. Tools are invoked using a git- prefix (e.g., git-status, git-commit).

Key features of Git Command MCP Server

  • Executes Git commands through the Model Context Protocol.
  • Tools follow a consistent git- naming convention.
  • Returns STDOUT, STDERR, and server-side error messages.
  • Requires Git installed locally on the system.
  • Supports popular MCP clients like GitHub Copilot and Cursor.
  • Open source under the MIT License.

Use cases of Git Command MCP Server

  • Automate Git operations via AI assistants (e.g., committing, adding files).
  • Integrate version control commands directly into MCP‑powered workflows.
  • Run Git status, logs, or diffs without leaving the chat interface.
  • Enable AI agents to manage repositories programmatically.

よくある質問

1

What Git commands are supported?

The server provides tools for many common Git commands, each named with a `git-` prefix (e.g., `git-add`, `git-commit`, `git-status`). The exact list is not exhaustive in the README but covers standard operations.

2

What are the runtime requirements?

You need Node.js, npm, and a local Git installation (git or git.exe).

3

Where can I report issues or get help?

Visit the GitHub repository at http://github.com/ukiuni/mcp-git to open issues or discuss.

4

How do I connect this server from an MCP client?

Use the JSON configuration: ```json { "mcpServers": { "mpc-git": { "command": "node", "args": ["/path_to_mcp-git/mcp-git/dist/index.js"] } } } ```

5

How is the tool output structured?

Results are returned as text content containing `STDOUT`, `STDERR`, or `ERROR` sections. If the command succeeds with no output, a success message is provided instead.

コメント

「バージョン管理」の他のコンテンツ