feat(mcp): register lsp tier-1 stdio MCP server

This commit is contained in:
YeonGyu-Kim
2026-05-18 12:11:21 +09:00
parent d95a45c872
commit c2c078fec3
5 changed files with 71 additions and 8 deletions
+7 -5
View File
@@ -1,9 +1,11 @@
import { getAllServers } from "../../../tools/lsp/config"
import { createLspMcpConfig } from "../../../mcp/lsp"
export function getInstalledLspServers(): Array<{ id: string; extensions: string[] }> {
const servers = getAllServers()
const lspMcpConfig = createLspMcpConfig()
return servers
.filter((s) => s.installed && !s.disabled)
.map((s) => ({ id: s.id, extensions: s.extensions }))
if (!lspMcpConfig) {
return []
}
return [{ id: "lsp-tools-mcp", extensions: ["*"] }]
}