1. Conduid
  2. Developer Tools
  3. git
MCP server · Developer Tools

git

MCP server for Git operations

Unclaimed devtools
39Low

Scored 5 months ago · breakdown

About git

git is an MCP server published by git+kwanLeeFrmVi in the Developer Tools category: mCP server for Git operations.

Install

Install
npx mcp-git
Claude Code
claude mcp add mcp-git -- npx -y mcp-git
npx
npx -y mcp-git

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about git

Powered by Claude · Grounded in docs

I know everything about git. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

mcp-git - Git MCP Server

NPM Version Bun Version License

A Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.

MCP Server Usage

This package is designed to be used as an MCP server with clients like Claude Desktop. Here's how to configure it:

Basic Configuration

Add this to your MCP client configuration:

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": ["-y", "mcp-git"]
    }
  }
}

Advanced Configuration

For custom settings:

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": ["-y", "mcp-git"]
    }
  }
}

Installation Options

From Source

  1. Clone this repository
  2. Install dependencies:
    bun install
    
  3. Build:
    bun run build
    
  4. Run:
    bun run start
    

Available Git Tools

The server provides these MCP-accessible Git operations:

Repository Operations

  • git_status - Show working tree status
  • git_init - Initialize new repository
  • git_log - View commit history (with max_count parameter)

Change Management

  • git_diff_unstaged - View unstaged changes
  • git_diff_staged - View staged changes
  • git_diff - Compare with branch/commit
  • git_add - Stage files
  • git_reset - Unstage changes
  • git_commit - Create commit

Branch Operations

  • git_create_branch - Create new branch
  • git_checkout - Switch branches

Content Inspection

  • git_show - View commit contents

Development

Prerequisites

  • Bun v1.2.8 or later
  • Git installed system-wide

Building

bun run build

Testing

bun test

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss proposed changes.

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About git

How do I install git?

Run npx mcp-git, then add the server to your MCP client's configuration.

Is git safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is git still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.