-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Description
In cases where GitLens is unable to bundle the GitKraken MCP (GK MCP) (usually when an IDE does not support VS Code's bundled MCP API) a more manual setup process is required for the GK MCP to function. Since the bundled and manually setup GK MCP servers are different to an IDE, this can result in duplicate GK MCP servers being setup at once if an IDE starts supporting VS Code's bundled MCP API.
This issue is to explore cleaning up the manually setup versions of the GK MCP server when the bundled version also exists.
Steps to reproduce
-
Run VSCode
-
Go to the folder where GK installer is installed
-
Run
./gk mcp uninstall vscode-insiders
or./gk mcp uninstall vscode
-
Install GitLens pre-release.
-
Using VSCode palette run the command "MCP: List Servers"
Expected result
- previously installed (independent) GitKraken MCP is not in the list
- you see "GitKraken (bundled with GitLens)" MCP server only.
Actual result
you see both MCP servers:
- "GitKraken (bundled with GitLens)"
- "GitKraken" - global in VSCode