Skip to content

Commit 7fcb137

Browse files
committed
Add mcp configuration button
1 parent 88c549a commit 7fcb137

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/core/src/codewhisperer/activation.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@ export async function activate(context: ExtContext): Promise<void> {
377377

378378
setSubscriptionsForCodeIssues()
379379

380+
/**
381+
* MCP client initialization
382+
*/
383+
const mgr = await McpManager.initMcpManager(globalMcpConfigPath)
384+
globals.mcpManager = mgr
380385
setSubscriptionsForMcp()
381386

382387
function shouldRunAutoScan(editor: vscode.TextEditor | undefined, isScansEnabled?: boolean) {

packages/core/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ export async function activateCommon(
121121
/**
122122
* MCP client initialization
123123
*/
124-
const mgr = await McpManager.initMcpManager(globalMcpConfigPath)
125-
globals.mcpManager = mgr
124+
// const mgr = await McpManager.initMcpManager(globalMcpConfigPath)
125+
// globals.mcpManager = mgr
126126

127127
// telemetry
128128
await activateTelemetry(context, globals.awsContext, Settings.instance, 'AWS Toolkit For VS Code')

0 commit comments

Comments
 (0)