open-index/open-npm huggingface dataset:
npm package: @jixo/mcp-git
Description: 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.
Latest version: 4.0.0

# mcp-git: A git MCP server

## Overview

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.

This project is a TypeScript implementation, providing robust, type-safe tools for interacting with Git repositories.

### Tools

1.  **`git_status`**

    - Shows the working tree status.
    - Input: `{ repoPath: string }`
    - Returns: Current status of the working directory as text output.

2.  **`git_diff_unstaged`**

    - Shows changes in the working directory not yet staged.
    - Input: `{ repoPath: string }`
    - Returns: Diff output of unstaged changes.

3.  **`git_diff_staged`**

    - Shows changes that are staged for commit.
    - Input: `{ repoPath: string }`
    - Returns: Diff output of staged changes.

4.  **`git_diff`**

    - Shows differences between the current state and a branch or commit.
    - Input: `{ repoPath: string, target: string }`
    - Returns: Diff output comparing the current state with the target.

5.  **`git_commit`**

    - Records changes to the repository.
    - Input: `{ repoPath: string, message: string }`
    - Returns: Confirmation with the new commit hash.

6.  **`git_add`**

    - Adds file contents to the staging area.
    - Input: `{ repoPath: string, files: string[] }`
    - Returns: Confirmation of staged files.

7.  **`git_reset`**

    - Unstages all staged changes.
    - Input: `{ repoPath: string }`
    - Returns: Confirmation of the reset operation.

8.  **`git_log`**

    - Shows the commit logs.
    - Input: `{ repoPath: string, maxCount?: number }` (default: 10)
    - Returns: Formatted string of commit entries.

9.  **`git_create_branch`**

    - Creates a new branch.
    - Input: `{ repoPath: string, branchName: string, baseBranch?: string }`
    - Returns: Confirmation of branch creation.

10. **`git_checkout`**

    - Switches branches.
    - Input: `{ repoPath: string, branchName: string }`
    - Returns: Confirmation of the branch switch.

11. **`git_show`**

    - Shows the contents and metadata of a commit.
    - Input: `{ repoPath: string, revision: string }`
    - Returns: Contents of the specified commit.

12. **`git_init`**
    - Initializes a Git repository.
    - Input: `{ repoPath: string }`
    - Returns: Confirmation of repository initialization.

## Installation & Usage

It's recommended to run this tool using `npx` to ensure you are always using the latest version without global installation.

### Usage with Claude Desktop

Add this to your `claude_desktop_config.json`:
npm package: @jixun/js-transformer
Description: Yet Another JavaScript AST Transformer using recast.
Author: Jixun
Latest version: 1.0.0-alpha5

JS Transformer
==============

[![MIT License](https://img.shields.io/github/license/JixunMoe/js-transformer)](https://github.com/JixunMoe/js-transformer/blob/master/LICENSE)
![npm (scoped)](https://img.shields.io/npm/v/@jixun/js-transformer)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/JixunMoe/js-transformer)

> Yet Another JavaScript AST Transformer using recast.

Documentation: [Wiki](https://github.com/JixunMoe/js-transformer/wiki) | Source Code

---

WIP: Still under heavy development, expect the following:

* Expect heavy API change.
* Expect broken code.
* Expect low-quality or temporary code in various places...
npm package: @jizhongce/vue-click-outside
Description: Customized directives which can be used in vue to trigger some handler or function when click outside the element.
Author: jizhongce
Latest version: 1.1.2

vue-click-outside
========================

1. 点击视图外关闭视图
2. 这是一个vue自定义指令，可适用于全局和局部


Installation
========================

```
npm install @jizhongce/vue-click-outside
```

使用 & 参数
========================

#### 全局引用

```
import ClickOutside from '@jizhongce/vue-click-outside'


vue.use(ClickOutside)
```


#### 局部引用

在想要使用的组件内加入

```
import { ClickOutside } from @jizhongce/vue-click-outside'

export default {
  directives: {
    ClickOutside
  }
}

```

#### 用法

```
v-click-outside="{closehandler: 'handlerfunction', excluderef: ['some-class-you-want-exclude']}"
```

*closehandler* 传入用于关闭视图的函数，*excluderef* 传入想要排除的元素的class，比如当点击一些button后不想关闭视图，那就把这些button的class带入


#### 例子

```
<el-card v-show="show" v-click-outside="{closehandler: 'closeCard', excluderef: ['DetailedPkgButton']}">
.......
</el-card>

export default {
    data() {
        show: true
    },
    methods:{
		test(val){
			console.log(val)
		},

		closeCard(){
			this.show = false
		},
    },
    directives: {
        ClickOutside
 	}

}
```

例子中当点击元素class中带有DetailedPkgButton的标识时将不会关闭对话框

License
========================

MIT
Copyright (c) 2019 Zhongce Ji