# GitKraken MCP server

> Wraps git, GitHub, GitLab, Bitbucket and Jira actions so an AI client can manage repos, work items, commits, issues and pull requests.

- Repository: https://github.com/gitkraken/gk-cli
- Page: https://hostedmcp.org/servers/gitkraken/gk-cli
- Official: yes
- Transport: stdio
- Stars: 465
- Latest version: 3.1.77

## Install

### Claude Code

```sh
claude mcp add gk-cli -- npx -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"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.gk-cli]
command = "npx"
args = ["-y", "@gitkraken/gk"]
```

### Gemini CLI (`~/.gemini/settings.json`)

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

## FAQ

### What does the GitKraken MCP server do?

It is a local MCP server that wraps git, GitHub and Jira actions and exposes tools for LLMs to work with GitKraken APIs and functionality.

### How do I authenticate the GitKraken CLI?

Run gk auth login to authenticate with the GitKraken platform; provider tokens for hosting services can be added with gk provider.

### Can GitKraken generate commit messages and pull requests with AI?

Yes, gk work commit --ai creates AI-powered commit messages and gk work pr create --ai generates pull requests.

### Does the GitKraken CLI support multiple repositories at once?

Yes, work items can include multiple repos so you get monorepo-like UX across them.
