Git Mob

by mubashwer

192 downloads
Not rated
GitHub

About

Integrates with the git-mob CLI to manage Git co-authors.

Details

Author
mubashwer
Downloads
192
Categories
Developer Tools, Other, Communication
Tags
#git

- Setup git mob CLI globally or locally
- Add, delete, or list team members
- Select team members for a pairing or mobbing session
- Automatically append Co-authored-by trailers to commit messages
- List coauthors and their Co-authored-by trailers for the active session

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Git Mob
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via NPX and add the server configuration to your MCP client. For Claude Desktop, add the provided JSON block to claude_desktop_config.json. For VS Code, add it to User Settings (JSON) or .vscode/mcp.json. Once configured, the server exposes tools and resources to interact with git mob.

get_git_mob_cli_help

Displays general help and usage information for the Git Mob CLI. You can optionally provide a command ('setup', 'coauthor', or 'help') to get detailed help for that specific command.

setup_git_mob

Configures the Git Mob CLI globally for all repositories on your system. This one-time setup installs a global prepare-commit-msg git hook, which automatically appends Co-authored-by trailers to commit messages during mob or pairing sessions. If a repository overrides the core.hooksPath git configuration (e.g., when using Husky), the setupGitMobLocally tool needs to be invoked in addition to this. If Git Mob isn't working as expected, ask the user if they have completed this initial setup.

setup_git_mob_locally

Sets up the Git Mob CLI for the current repository by installing a local prepare-commit-msg git hook. This hook delegates to the global prepare-commit-msg hook configured by setupGitMob tool. Use this tool only if your repository overrides the core.hooksPath git configuration (e.g., when using Husky). Note: You must run setupGitMob tool at least once before using this tool.

add_team_member

Adds a new team member using their key, name, and email. This member can then be used in a pairing or mobbing sessions as a cauthor. The first name is a good choice for the key.Ask the user if they want mob or pair with this team member.

delete_team_member

Deletes a team member by their key. User can only delete a team member they have added previously. If user did not specify a key, show them list of existing team members and ask them to select one.

list_team_members

Lists all team members that have been added to Git Mob. The team members can then be used in pairing / mobbing sessions as coauthors.Each entry is formatted as: <key> <name> <email>.Ask the user which team member(s) they want to pair or mob with.

set_mob_session_coauthors

Sets the active pairing or mob session by specifying the keys of the team members to include as coauthors. If Git Mob is setup, these coauthors will be automatically added as Co-authored-by trailers to the commit's message when making commits during the session.

clear_mob_session

Clears the active mob or pairing session.

list_mob_session_coauthors

Lists all coauthors currently included in the active mob or pairing session. If Git Mob is setup, these coauthors will be automatically added as Co-authored-by trailers to the commit's message when making commits during the session.

list_mob_session_coauthor_trailers

Lists the git Co-authored-by trailers for the coauthors currently included in the active mob or pairing session. If Git Mob is setup, these Co-authored-by trailers will be automatically added to the commit's message when making commits during the session.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

Node.js server implementing Model Context Protocol (MCP) forgit mobCLI app

You can attribute a git commit to more than one author by adding one or more Co-authored-by trailers to the commit's message. Co-authored commits are visible on GitHub. For more information, seehere.

This MCP Server will help you add them automatically and also help you store and manage co-authors for pair/mob programming sessions.

- Setup git mob CLI
- Add / delete / list team members
- Choose team members for pairing / mobbing session
- Automatic appending of Co-authored-by in for co-authors in commit messages during pairing / mobbing session

- Node.js: Version 18 or higher
- git: Git v2.32 or later must be installed and configured
- git-mob CLI:
git-mob CLI appmust be installed

- git_mob_cli_help: General help and usage information for the Git Mob CLI.
- git_mob_cli_version: The installed version of the Git Mob CLI.

- setup_git_mob: Sets up git-mob globally for the user.
- setup_git_mob_locally: Sets up git-mob locally for the current repository when it overridescore.hooksPathgit configuration variable (e.g when using husky).
- add_team_member: Adds a new team member using their key, name, and email.
- delete_team_member: Deletes a team member by their key.
- list_team_members: Lists all team members that have been added to Git Mob.
- set_mob_session_coauthors: Sets the active pairing or mob session by specifying the keys of the team members to include as coauthors.
- clear_mob_session: Clears the active mob or pairing session.
- list_mob_session_coauthors: Lists all coauthors currently included in the active mob or pairing session.
- list_mob_session_coauthor_trailers: Lists the git Co-authored-by trailers for the coauthors currently included in the active mob or pairing session.
- get_git_mob_cli_help: Displays general help and usage information for the Git Mob CLI.

Add this to yourclaude_desktop_config.json:

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

For installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressingCtrl + Shift + Pand typingPreferences: Open Settings (JSON).

Optionally, you can add it to a file called.vscode/mcp.jsonin your workspace. This will allow you to share the configuration with others.

Note that themcpkey is not needed in the.vscode/mcp.jsonfile.

{ "mcp": { "servers": { "git-mob": { "command": "npx", "args": ["-y", "git-mob-mcp-server"] } } } }

Run thesetup_git_mobMCP tool once to setup git-mob before using other tools

For local development and testing of the MCP server:

git clone https://github.com/Mubashwer/git-mob-mcp-server.git cd git-mob-mcp-server

- Build the TypeScript source code in watch mode (automatically rebuilds on file changes)
- Start the MCP Inspector for testing and debugging the server locally

The MCP Inspector will be available at the URL shown in the terminal output, allowing you to test the server's tools and resources interactively.

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Allows AI assistants to interact with the GitHub API for repository management, code collaboration, and other development tasks.

Interact with Radicle (peer-to-peer code collaboration) and GitHub through a unified interface.

allow Tools like copilot, claude desktop, claude code etc. perform CRUD operations on overleaf projects via git int

Gitee API integration, repository, issue, and pull request management, and more.

A CLI for interacting with GitKraken APIs. Includes an MCP server via gk mcp that not only wraps GitKraken APIs, but also Jira, GitHub, GitLab, and more.

A Claude Kubernetes MCP server, built in Go. The server integrates with ArgoCD, GitLab, Claude AI, and Kubernetes to enable advanced control and automation of Kubernetes environments.

Creates commit messages from staged files in a local git repository.

Perform Git operations on Azure DevOps repositories using a Personal Access Token (PAT).

Interact with Atlassian Bitbucket Cloud to manage repositories, pull requests, workspaces, and code.

An MCP server for interacting with the AtomGit API for version control and code hosting.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.