Skip to content

Commit 8e54633

Browse files
committed
Updates mcp autoinstall setting
1 parent 257cc38 commit 8e54633

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4111,15 +4111,12 @@
41114111
"experimental"
41124112
]
41134113
},
4114-
"gitlens.gitkraken.cli.autoInstall.enabled": {
4114+
"gitlens.gitkraken.mcp.autoInstall.enabled": {
41154115
"type": "boolean",
4116-
"default": false,
4117-
"markdownDescription": "Specifies whether to automatically install the GitKraken CLI",
4116+
"default": true,
4117+
"markdownDescription": "Specifies whether to automatically install the GitKraken MCP",
41184118
"scope": "window",
4119-
"order": 40,
4120-
"tags": [
4121-
"experimental"
4122-
]
4119+
"order": 40
41234120
},
41244121
"gitlens.terminal.overrideGitEditor": {
41254122
"type": "boolean",

src/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,12 +389,16 @@ interface GitCommandsConfig {
389389
interface GitKrakenConfig {
390390
readonly activeOrganizationId: string | null;
391391
readonly cli: GitKrakenCliConfig;
392+
readonly mcp: GitKrakenMcpConfig;
392393
}
393394

394395
interface GitKrakenCliConfig {
395396
readonly integration: {
396397
readonly enabled: boolean;
397398
};
399+
}
400+
401+
interface GitKrakenMcpConfig {
398402
readonly autoInstall: {
399403
readonly enabled: boolean;
400404
};

src/plus/gk/utils/-webview/mcp.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function mcpExtensionRegistrationAllowed(): boolean {
2525
// TODO: Remove experimental setting for production release
2626
return (
2727
configuration.get('ai.enabled') &&
28-
configuration.get('gitkraken.cli.autoInstall.enabled') &&
28+
configuration.get('gitkraken.mcp.autoInstall.enabled') &&
2929
supportsMcpExtensionRegistration()
3030
);
3131
}

0 commit comments

Comments
 (0)