Skip to content

Commit e21d52c

Browse files
authored
Add MCP Servers to Chat config menu (microsoft#253113)
1 parent ad582f1 commit e21d52c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatActions.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,16 @@ After generating the initial instructions (in less than 20 tool calls, count dow
874874
icon: Codicon.settings,
875875
order: 6
876876
});
877+
878+
MenuRegistry.appendMenuItem(CHAT_CONFIG_MENU_ID, {
879+
command: {
880+
id: 'workbench.views.mcp.marketplace.focus',
881+
title: localize2('mcp.servers', "MCP Servers")
882+
},
883+
when: ContextKeyExpr.and(ChatContextKeys.enabled, ContextKeyExpr.equals('view', ChatViewId)),
884+
order: 14,
885+
group: '1_level'
886+
});
877887
}
878888

879889
export function stringifyItem(item: IChatRequestViewModel | IChatResponseViewModel, includeName = true): string {

0 commit comments

Comments
 (0)