gk mcp install
Install the GitKraken MCP server in one or more MCP clients
Synopsis
Install the GitKraken MCP server in one or more MCP clients. Supported platforms: vscode, vscode-insiders, claude-cli, claude, antigravity, windsurf, cursor, zed, copilot, gemini, trae, codex, kiro, jetbrains-copilot, opencode
You can install in multiple clients at once by passing several platform names, or use –all to install in all detected clients. Use –type=cli to restrict that to command-line clients: configuring a gui client (editor or desktop app) goes through its own binary and can launch it. Each client’s type is reported by –list –json.
A client whose GitKraken entry already matches what would be written is left untouched. An entry that has drifted — a moved gk binary, stale arguments, an outdated config layout — is repaired. Use –force to rewrite the entry either way.
gk mcp install [flags]
Examples
gk mcp install <PLATFORM>
gk mcp install <PLATFORM> --file-path
gk mcp install vscode claude cursor
gk mcp install --all
gk mcp install --type=cli
gk mcp install --list
gk mcp install vscode --force
Options
--all Install in all detected MCP clients
--file-path string Fully qualified path to the file the mcp server configuration will be written
-f, --force Force reinstall even if the client is already configured.
-h, --help help for install
--json Output list in JSON format (use with --list)
-l, --list List all supported MCP clients and detect which are installed
--type string Install only in detected clients of this type (cli or gui)
Options inherited from parent commands
--no-telemetry Disable telemetry (OTel spans, Sentry) for this invocation
--output string Output format: text or json (default "text")
--session string (Optional) Isolate auth and cache under a named session
SEE ALSO
- gk mcp - Start a local MCP server for your favorite MCP client to interact with