fix(mcp): always register lsp server
This commit is contained in:
+1
-4
@@ -35,10 +35,7 @@ export function createBuiltinMcps(disabledMcps: string[] = [], config?: OhMyOpen
|
||||
}
|
||||
|
||||
if (!disabledMcps.includes("lsp")) {
|
||||
const lspConfig = createLspMcpConfig()
|
||||
if (lspConfig) {
|
||||
mcps.lsp = lspConfig
|
||||
}
|
||||
mcps.lsp = createLspMcpConfig()
|
||||
}
|
||||
|
||||
return mcps
|
||||
|
||||
Reference in New Issue
Block a user