platform-lsp-integrate
Using the Salesforce LSP
The salesforce-development plugin hosts a local MCP server named
salesforce-lsp that lazily spawns Salesforce Language Server children and
exposes their semantic capabilities as MCP tools. This skill is the contract
other skills follow when they call those tools, and the answer to "how do I use
the Salesforce LSP?" — what each tool does, how to read its result, what every
error code means, and how to fall back when the host is absent.
This is a documentation/reference skill. It does not author or deploy code; it tells you (and other skills) how to drive the LSP tools correctly.
This plugin build vendors Apex + SOQL only. The
salesforce-lsphost ships the Apex language server (@salesforce/apex-ls) and the SOQL language server. The LWC language server is intentionally not bundled in this plugin — thelwc.*tools are registered by the host but will always return anunavailable-class envelope here. Treat anylwc.*call as unavailable and use the fallback (read the component source / deploy-compile).