# Gk Cli

> Gk Cli is an MCP server for developer tools. GitKraken's command-line tool with an MCP server for repos, pull requests and issues. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, macOS, Windows, Linux
- **Repository:** https://github.com/gitkraken/gk-cli
- **MCP Registry name:** com.gitkraken/gk-cli
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The gk CLI centres on work items, a way to treat a feature or issue as one unit across several repositories so multiple repos feel like a monorepo. Beyond the CLI, the same program provides a local MCP server that wraps git, GitHub and Jira actions and adds tools that use GitKraken's own APIs. The registry describes it as managing repos, pull requests and issues across GitHub, GitLab, Bitbucket and more.

The typical flow from the README is to sign in with gk auth login, create a work item in a repository, commit with AI-written messages, push and open a pull request generated with AI. Any git command can also be passed through gk. Installation is through Homebrew, Winget, Snap, packages or release binaries, and the MCP package is also on npm. Client-specific instructions are in GitKraken's Help Center.

## Features

- **Work items:** Group several repositories under one feature.
- **AI commits:** Generates commit messages.
- **AI pull requests:** Creates PRs with generated text.
- **Git passthrough:** Run any git command through gk.
- **Provider tokens:** Authenticate with hosting providers.
- **MCP server:** Local server for git, GitHub and Jira actions.

## Good for

- Let an assistant manage a repo and its PRs
- Make coordinated changes across several repositories
- Generate commit messages and PR descriptions
- Work across GitHub and GitLab from one tool

## Install

### Claude Code (Terminal)

```sh
claude mcp add gk-cli -- npx -y @gitkraken/gk
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gk-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@gitkraken/gk"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gk-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@gitkraken/gk"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gk-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@gitkraken/gk"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gk-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@gitkraken/gk"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gk-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@gitkraken/gk"
      ]
    }
  }
}
```

## FAQ

### How do I install it?

Homebrew, Winget, packages or a downloadable binary.

### Does it need a login?

Yes, gk auth login authenticates with GitKraken.

### Which hosts does it support?

The registry lists GitHub, GitLab, Bitbucket and more.

### Can I run plain git?

Yes, via passthrough.

### How do I add Gk Cli to Claude Code?

Run this command in your terminal: claude mcp add gk-cli -- npx -y @gitkraken/gk

### What are the best alternatives to Gk Cli?

The closest alternatives to Gk Cli are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/gk-cli
