File tree Expand file tree Collapse file tree
webview-ui/src/components/mcp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import {
1717 DialogDescription ,
1818 DialogFooter ,
1919 ToggleSwitch ,
20+ StandardTooltip ,
2021} from "@src/components/ui"
2122import { buildDocLink } from "@src/utils/docLinks"
2223import { Section } from "@src/components/settings/Section"
@@ -132,6 +133,24 @@ const McpView = () => {
132133 < span className = "codicon codicon-refresh" style = { { marginRight : "6px" } } > </ span >
133134 { t ( "mcp:refreshMCP" ) }
134135 </ Button >
136+ < StandardTooltip content = { t ( "mcp:marketplace" ) } >
137+ < Button
138+ variant = "secondary"
139+ style = { { width : "100%" } }
140+ onClick = { ( ) => {
141+ window . postMessage (
142+ {
143+ type : "action" ,
144+ action : "marketplaceButtonClicked" ,
145+ values : { marketplaceTab : "mcp" } ,
146+ } ,
147+ "*" ,
148+ )
149+ } } >
150+ < span className = "codicon codicon-extensions" style = { { marginRight : "6px" } } > </ span >
151+ { t ( "mcp:marketplace" ) }
152+ </ Button >
153+ </ StandardTooltip >
135154 </ div >
136155 < div
137156 style = { {
You can’t perform that action at this time.
0 commit comments