Skip to content

Commit 28e01ee

Browse files
Uses proxy path for MCP config in vscode
1 parent 41c0245 commit 28e01ee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/env/node/gk/cli/integration.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export class GkCliIntegrationProvider implements Disposable {
311311
if (appName === 'vscode') {
312312
const config = {
313313
name: 'GitKraken',
314-
command: Uri.file(`${directoryPath}\\${mcpFileName}`).fsPath,
314+
command: mcpExtractedPath.fsPath,
315315
args: ['mcp'],
316316
type: 'stdio',
317317
};
@@ -336,7 +336,9 @@ export class GkCliIntegrationProvider implements Disposable {
336336
);
337337
}
338338

339-
Logger.log('MCP configuration completed');
339+
Logger.log(
340+
`MCP configuration completed.${appName === 'vscode' ? " Click 'install' to install." : ''}`,
341+
);
340342
} catch (error) {
341343
const errorMsg = `MCP server configuration failed: ${error}`;
342344
Logger.error(errorMsg);

0 commit comments

Comments
 (0)