Conversation
0c2be54 to
4c73222
Compare
4c73222 to
ac2e892
Compare
ac2e892 to
0a1565e
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR fixes issue #4626 by preventing duplicate MCP (Model Context Protocol) configurations. When the GitKraken MCP is registered, it now automatically uninstalls any existing external MCP configuration with the same app name to avoid duplication.
Key changes:
- Modified
onRegistrationCompletedto accept additional parameters and call a new uninstall method - Added
uninstallExternalMcpmethod to remove duplicate external MCP configurations - Updated CHANGELOG.md to document the fix
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/env/node/gk/mcp/integration.ts | Added logic to uninstall external MCP configurations after successful registration to prevent duplicates |
| CHANGELOG.md | Added entry documenting the fix for MCP duplication issue #4626 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0a1565e to
03b255a
Compare
|
@eamodio I have one doubt here. I suppose, the result of the fix should give us the following:
However, now we might have problem with the option #2. That's because, I call deduping after the successful config call, here: But it's never called twice until the version of the GK CLI is updated: Therefore, the question is the following:
cc @axosoft-ramint |



Description
Fixes #4626
Checklist
Fixes $XXX -orCloses #XXX -prefix to auto-close the issue that your PR addresses