
Gk Cli
com.gitkrakenPublished by gitkraken.comv3.1.77Updated Oct 24, 2026
The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.
Overview
GitKraken's local MCP server that lets an assistant manage git repositories, work items, issues and pull requests across GitHub, GitLab, Bitbucket and Jira.
- What you can do
- Work with git repositories: run git commands and manage commits, pushes and the commit graph through the gk CLI wrapper, including AI-generated commit messages and pull request descriptions. Manage work items that group one or more repositories, adding repos to a work item and creating new ones. Manage issues and organizations through GitKraken. Work with pull requests and issue and git hosting providers such as GitHub, GitLab, Bitbucket and Jira. Authenticate with the GitKraken platform and add or remove provider tokens.
- When to use it
- Useful when you want an assistant to drive git and hosting workflows from a chat: committing changes, pushing branches, opening pull requests, and tracking issues or work items across several repositories at once.
- Requirements
- Runs as a local process on the user's desktop machine, installed as the npm package @gitkraken/gk (also available via Homebrew, Winget, .deb/.rpm or release binaries on macOS, Windows and Unix). Requires signing in to the GitKraken platform with gk auth login and adding provider tokens for the hosting services you use. No environment variables or headers are declared.
Installation
In SourceWeft
- Open Gk Cli in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
🚀 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.
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.
Workflows
Start with a single repo. You can add more later.
In general, your process will look like this:
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.
git Command Passthrough
You can also use gk to pass through any git command. eg:
Installation
macOS
gk is available from Homebrew with the following command:
Homebrew:
Or download it from the releases page and add it to your binaries folder:
Unix / Ubuntu
gk is available as a downloadable binary from the releases page. Once you have it, add it to your binaries folder:
Or create a new directory, move the binary and add it to $PATH:
You can also [download][releases page] your corresponding package (.deb, .rpm) and install it with:
or
Windows
gk is available from [Winget][winget] with the following command:
⚙️ 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:
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:
To fix this, go to Settings > Security & Privacy > General and click "Allow Anyway".
Try running gk setup again and then click "Open Anyway" to continue.
Source: README.md at commit 5e5eeeb
Tools
0Version history
2- v3.1.77LatestOct 14, 2026
- v3.1.70Sep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.