PluginBench
MCP Server
Active

com.gitkraken/gk-cli MCP Server

com.gitkraken/gk-cli

GitKraken CLI as an MCP server for managing repos, PRs, and issues across GitHub, GitLab, Bitbucket and more.

What is the com.gitkraken/gk-cli MCP server?

The GitKraken MCP Server is a local MCP server that wraps git, GitHub, and Jira functionality to help manage repositories, pull requests, and issues across multiple git hosting providers. It enables AI agents to work with Work Items (features or issues), generate AI-powered commits and PRs, and interact with GitKraken APIs.

GitKraken CLI provides an MCP server that streamlines working with git and issue/hosting providers. It focuses on "Work Items" to let you manage multiple repos at once with a unified experience, and includes AI-powered commit message and PR generation. The server wraps git commands, GitHub, Jira, and GitKraken APIs for seamless integration with AI agents.

How to install com.gitkraken/gk-cli

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "gk-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@gitkraken/gk",
        "mcp"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • work — Interact with and manage work items across multiple repositories
  • issue — Manage issues across your git hosting providers
  • graph — Display commit graph in current repository
  • auth — Authenticate with the GitKraken platform
  • provider — Add or remove provider tokens for git hosting services
  • organization — Manage your GitKraken organizations
  • workspace — Interact with your workspaces
  • git passthrough — Pass through any git command directly via the gk CLI

Use cases

  • Create and manage work items across multiple repositories simultaneously
  • Generate AI-powered commit messages and pull requests
  • Manage issues and pull requests across GitHub, GitLab, and Bitbucket from the command line
  • Authenticate with multiple git hosting providers and manage tokens
  • View commit graphs and work with git repositories using familiar git commands

com.gitkraken/gk-cli MCP server FAQ

What is the GitKraken MCP Server?

It's a local MCP server that wraps git, GitHub, Jira, and GitKraken APIs to help AI agents manage repositories, pull requests, issues, and work items across multiple git hosting providers like GitHub, GitLab, and Bitbucket.

Is GitKraken CLI free?

The README does not specify pricing details. Visit the GitKraken website or help center for current pricing information.

How do I install the MCP server?

Install via npm with `npm install @gitkraken/gk` or use platform-specific installers (Homebrew for macOS, Winget for Windows, or download from releases). Then configure it in your AI application using the instructions in the GitKraken Help Center.

What authentication is required?

You need to authenticate with the GitKraken platform using `gk auth login`. You can also add provider tokens for GitHub, GitLab, Bitbucket, and other services using `gk provider`.

Can I use this with multiple repositories at once?

Yes, the core feature is Work Items that let you manage multiple repos simultaneously with a unified experience, similar to working in a monorepo.

Does it support AI-powered features?

Yes, it includes AI-powered commit message generation (`gk work commit --ai`) and pull request generation (`gk work pr create --ai`).

README (reference)

Source of truth, from the repository.

🚀 GitKraken CLI

gk is GitKraken on the command line. The core functionality is focused on "Work Items" which can be thought of as the feature or issue you are trying to tackle. This allows you to work with multiple repos at once and get the same UX as if you were in a monorepo. We also provide robust AI-powered commit messages and Pull Request generation. It also provides an MCP server that streamlines working with git and your Issue and git hosting providers.

GitKraken CLI is available on macOS, Windows, and Unix systems.

cli header wide

Table of Contents

MCP Server

The GitKraken MCP server is a local MCP server that is powerful and easy to use. It wraps git, GitHub, Jira MCP actions as well as provides tools to LLMs that work with GitKraken APIs and functionality. You can find specific installation instructions based on your chosen AI application in the Help Center.

If you want to read more about the MCP server, you can check out the introduction blog post

Documentation

gk help is going to be your best source for exploring the CLI. But also see the workflows below.

Welcome to GitKraken CLI, a premium CLI experience for managing multiple repositories with familiar GIT CLI commands

Usage:
  gk [flags]
  gk [command]

AUTHENTICATING
  auth         Authenticate with the GitKraken platform
  provider     Add or remove provider tokens

CORE COMMANDS
  graph        Display commit graph in current repository
  issue        Manage your issues
  organization Manage your Gitkraken organizations
  work         Interact with your work.
  workspace    Interact with your workspaces. Alias: 'ws'

Additional Commands:
  help         Help about any command
  setup        Display information about your current system configuration
  version      Print the version number of GK CLI

Flags:
  -h, --help   help for gk

Use "gk [command] --help" for more information about a command.

Workflows

Start with a single repo. You can add more later.

In general, your process will look like this:


# Authenticate
gk auth login

# Navigate to a git repo directory on your filesystem
cd ./path/to/repo

# Then create a Work Item and the current directory
# will be automatically added to the Work Item
gk work create "My new work item"

# Edit files...
# ...

# Commit your changes using AI
gk work commit --ai

# Push your changes
gk work push

# Create a Pull Request
gk work pr create --ai

Once you have familiarized yourself with using a single repo, try out creating work items and generating commits and PRs for multiple repos at a time by just adding multiple repos to a new Work Item.

# Add a repo to the current work item
gk work add ./path/to/repo # path could be as simple as "." if you are in the directory already

git Command Passthrough

You can also use gk to pass through any git command. eg:

gk status
gk remote -v
# etc

Installation

macOS

gk is available from Homebrew with the following command:

Homebrew:

brew install gitkraken-cli

Or download it from the releases page and add it to your binaries folder:

mv ~/Downloads/gk /usr/local/bin/gk

Unix / Ubuntu

Get it from the Snap Store

gk is available as a downloadable binary from the releases page. Once you have it, add it to your binaries folder:

mv ~/Downloads/gk /usr/local/bin/gk

Or create a new directory, move the binary and add it to $PATH:

mkdir "$HOME/cli"
mv ~/Downloads/gk "$HOME/cli"
export PATH="$HOME/gk:$PATH"

You can also [download][releases page] your corresponding package (.deb, .rpm) and install it with:

sudo apt install ./gk.deb

or

sudo rpm -i ./gk.rpm

Windows

gk is available from [Winget][winget] with the following command:

winget install gitkraken.cli

⚙️ Configuration

Nerd Fonts

The GitKraken CLI supports Nerd Fonts to display icons for some commands. To ensure correct icon rendering, please obtain and install a Nerd Font available at https://www.nerdfonts.com/. After installation, set the selected Nerd Font as the default font for your terminal.

Troubleshooting

gk login freezes after authenticating in browser

This problem is due to the browser. Currently we know that Safari and Brave do not allow to respond to localhost through port 1314. To fix this, change your default browser or copy the URL before the redirect and open it in another browser.

gk from Oh-My-Zsh

Oh-My-Zsh has gitk aliased as gk and that can create some problems. To fix this, type in your terminal:

unalias gk

Manual macOS Installation

If you install the CLI manually from the releases page on macOS, you will likely run into a security error that looks like this:

not opened

To fix this, go to Settings > Security & Privacy > General and click "Allow Anyway".

allow anyway

Try running gk setup again and then click "Open Anyway" to continue.

open anyway

Related MCP servers

Official GitLab MCP Server

View repository →

MCP server for GitScrum — manage tasks, sprints, time tracking, and client workflows via AI

5
TypeScript
MIT
View repository →

Search, order, and manage eSIM data packages for 190+ countries.

On-demand GPU nodes for agents: create nodes, run commands, and submit jobs, billed by the minute.

Rewrite AI-generated text so it reads as human, in a persona's voice.

0
View repository →

Search, verify and compare 7.9M+ nonprofits from official charity registries in 100+ countries.

0
JavaScript
View repository →