Expands connectivity with CLI to support new MCP tools#4946
Merged
Conversation
🤖 Augment PR SummarySummary: This PR expands GitLens���������������������� connectivity with the GitKraken CLI by adding IPC and MCP-based integrations, enabling the CLI (and MCP tools) to trigger GitLens workflows. Changes:
Technical Notes: The MCP provider now injects a 🤖 Was this summary useful? React with 👍 or 👎 |
This was
linked to
issues
Feb 2, 2026
Closed
Closed
Closed
sergeibbb
reviewed
Feb 3, 2026
a645781 to
4587ebc
Compare
sergeibbb
approved these changes
Feb 4, 2026
axosoft-ramint
approved these changes
Feb 5, 2026
- adds ping route to IPC server - passes IPC URL into the MCP config - fixes request handler to handle empty body
Adds args for: - pre-select an issue - use default options on each step - callback for completion of branch/worktree
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR adds Model Context Protocol (MCP) support to enable communication between the GitLens extension and the GitLens CLI.
New CLI integration features
gitlens.gitkraken.cli.insiders.enabledsetting to use experimental insiders builds--gitlens-urlparameter in MCP server definitionscompose- Opens commit composerstart-review- Starts reviewing a PRstart-work- Starts work on an issueget-launchpad-item- Retrieves specific launchpad itemget-launchpad-list- Lists all launchpad itemsping- Health check endpointNew GitLens core changes
Start Review Command (
gitlens.startReview):GitLens: Start Review)Enhanced Start Work Command (new optional args):
Chat Integration (
gitlens.sendToChat):Local Setup
In
settings.json, add:"gitlens.gitkraken.cli.integration.enabled": true"gitlens.gitkraken.cli.insiders.enabled": trueRisk
New CLI integration features - low
Currently, if the
gitlens.gitkraken.cli.integration.enabledsetting is not applied, no new features will appear.New GitLens core changes - medium
gitlens.startReviewis an additive command, which we could be hidden from the command palette and still expose for the CLI to call.Start Work Commandhad no changes to the existing usage of Start Work flow, but major refactoring was done to accept optional args to avoid some interactive steps when called programmatically, so there is potential for regression.Resolves issues: #4797 #4907 #4908 #4909 #4910 #4912