Membungkus aksi git, GitHub, GitLab, Bitbucket, dan Jira sehingga AI client dapat mengelola repo, work items, commit, issue, dan pull request.
Juga dikenal sebagai gitkraken/gk-cli, @gitkraken/gk
- Stars
- 467
- Tools
- —
- Unduhan, 30 hari
- 304.568
- Versi terbaru
- 3.1.77
- Commit terakhir
- 12 Nov 2026
- Lisensi
- —
Apa itu GitKraken MCP?
GitKraken adalah MCP server. Membungkus aksi git, GitHub, GitLab, Bitbucket, dan Jira sehingga AI client dapat mengelola repo, work items, commit, issue, dan pull request.
Ringkasan dibuat dari README proyek
Tentang GitKraken MCP server
Mengelola banyak repository dan tugas pengembangan dari AI client adalah kemampuan yang ditawarkan oleh gk-cli. Local MCP server ini bertindak sebagai jembatan antara LLM Anda dan workflow pengembangan Anda dengan membungkus aksi git, GitHub, GitLab, Bitbucket, dan Jira. Ini memungkinkan developer untuk menangani work items, issue, dan pull requests melalui interface yang terpadu, bahkan saat bekerja di beberapa repository berbeda secara bersamaan.
Pengguna berinteraksi dengan server ini dengan melakukan konfigurasi pada sistem macOS, Windows, atau Unix. Setup memerlukan autentikasi dengan platform GitKraken melalui command auth dan menambahkan provider tokens untuk hosting services spesifik Anda. Setelah dikonfigurasi, server menyediakan tools untuk pembuatan commit message berbasis AI dan pembuatan pull request otomatis. Server ini juga mendukung passthrough command git standar, yang memungkinkan AI untuk mengeksekusi command seperti status atau remote secara langsung melalui interface.
Apa yang bisa Anda lakukan dengannya
- 1Pembuatan commit dan PR otomatisAI client dapat menggunakan server ini untuk menulis commit messages dan membuat pull requests menggunakan kecerdasan buatan.
- 2Manajemen tugas multi-repositoryDeveloper dapat mengelompokkan berbagai repository ke dalam satu work item untuk mengelola fitur kompleks di seluruh codebase.
- 3Pelacakan issue dan work itemAnda dapat menginstruksikan AI untuk mengelola development backlog Anda dan melacak issue tertentu menggunakan provider actions yang terintegrasi.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal GitKraken MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal GitKraken MCP di Claude Code
$ claude mcp add gk-cli -- npx -y @gitkraken/gkInstal GitKraken MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"gk-cli": {
"command": "npx",
"args": [
"-y",
"@gitkraken/gk"
]
}
}
}Instal GitKraken MCP di VS Code
.vscode/mcp.json
{
"servers": {
"gk-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gitkraken/gk"
]
}
}
}Instal GitKraken MCP di VS Code CLI
$ code --add-mcp '{"name":"gk-cli","type":"stdio","command":"npx","args":["-y","@gitkraken/gk"]}'Instal GitKraken MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"gk-cli": {
"command": "npx",
"args": [
"-y",
"@gitkraken/gk"
]
}
}
}Instal GitKraken MCP di Codex
$ codex mcp add gk-cli -- npx -y @gitkraken/gkInstal GitKraken MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.gk-cli] command = "npx" args = ["-y", "@gitkraken/gk"]
Instal GitKraken MCP di Gemini CLI
$ gemini mcp add -s user gk-cli npx -- -y @gitkraken/gkInstal GitKraken MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"gk-cli": {
"command": "npx",
"args": [
"-y",
"@gitkraken/gk"
]
}
}
}Pengecekan otomatis
Berjalan 12 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)No licenseTemuan
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerLolos
- Remote endpoint menggunakan HTTPSTidak diperiksa
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaLolos
README
Lihat di GitHub🚀 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.
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
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:

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.

Pertanyaan tentang GitKraken MCP
Bagaimana cara menambahkan GitKraken MCP ke Claude Code?
Jalankan claude mcp add gk-cli -- npx -y @gitkraken/gk di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan GitKraken MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Apa fungsi GitKraken MCP server?
Ini adalah local MCP server yang membungkus aksi git, GitHub, dan Jira serta menyediakan tools bagi LLM untuk bekerja dengan GitKraken APIs dan fungsionalitasnya.
Bagaimana cara melakukan autentikasi GitKraken CLI?
Jalankan gk auth login untuk autentikasi dengan platform GitKraken; provider tokens untuk hosting services dapat ditambahkan dengan gk provider.
Apakah GitKraken bisa membuat commit messages dan pull requests menggunakan AI?
Ya, gk work commit --ai membuat commit messages berbasis AI dan gk work pr create --ai menghasilkan pull requests.
Apakah GitKraken CLI mendukung banyak repository sekaligus?
Ya, work items dapat mencakup beberapa repo sehingga Anda mendapatkan UX seperti monorepo di seluruhnya.