High-risk tools in LSP MCP Server
2 of the 9 tools in LSP MCP Server are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
restart_lsp_serverExecuteRestart the LSP server process. Use this tool to reset the LSP server if it becomes unresponsive, has stale data, or when you need to apply configuration changes. Can optionally...
-
start_lspExecuteStart the LSP server with a specified root directory. IMPORTANT: This tool must be called before using any other LSP functionality. The root directory should point to the project
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.