MCP.so
ログイン

Git Command MCP Server

@ukiuni

Git Command MCP Server について

mcp server for git command wrapper

基本情報

カテゴリ

バージョン管理

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

ukiuni

設定

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

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

ツール

ツールは検出されませんでした

ツールは 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.

FAQ from Git Command MCP Server

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.

What are the runtime requirements?

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

Where can I report issues or get help?

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

How do I connect this server from an MCP client?

Use the JSON configuration:

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

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.

コメント

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