Labsco
MCP SERVER

Git Mob

by Mubashwer

Manage Git Mob from the agent — add team members once, set who is pairing right now, and get the Co-authored-by trailers for the current session.

Git Hosting & Code ReviewVerified
Summary
Returning the trailers themselves, not just the session state, is what makes this usable by an agent that is about to write a commit.

The session is configuration; the trailers are the thing that has to end up in the commit message. An agent composing a commit needs the literal Co-authored-by lines, and having them as their own call means it does not have to reconstruct them from names and emails and get the format subtly wrong. Setting a session by short keys rather than full identities is the other ergonomic decision that matters in practice — pairing changes daily and typing two email addresses each morning is why people stop bothering.

What it is

A client for the Git Mob CLI, which attaches Co-authored-by trailers to commits during pairing and mob sessions: team member management, session control, and trailer retrieval.

What you get
  • Team members added once by key, name and email, then referenced by key thereafter — list and delete round it out.
  • set_mob_session_coauthors sets the active pairing or mob session from those keys, and clear_mob_session ends it.
  • list_mob_session_coauthors shows who is currently in the session, and list_mob_session_coauthor_trailers returns the actual Co-authored-by lines.
  • Setup covers both scopes: globally for every repository, or locally for the current one by installing a local hook.
  • get_git_mob_cli_help returns the CLI's own usage information.
Requirements

The Git Mob CLI, which the setup tools configure either globally or per repository.

Setup effort

One command — npx -y git-mob-mcp-server