{"version":"2.1.333","anchor":"language-server-tool-refuses-when-the-work-may-be-acting-on","canonical_anchor":"language-server-tool-refuses-when-the-work-may-be-acting-on","heading":"Language servers refuse to run on files that may come from outside text","tier":"notice","area":"LSP","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/language-server-tool-refuses-when-the-work-may-be-acting-on","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Language servers refuse to run on files that may come from outside text\n\nThe LSP tool now refuses to start a language server when the work may be acting on outside text, or on files in Claude's own folders\n\n**What**\n\nA language server is a helper program that understands code in a given language, for things like finding where a function is defined. Claude Code's LSP tool, which talks to these servers, now has new refusals:\n\n- No language server can start for this work, because it may be acting on text from outside the conversation.\n\n- This work cannot use the language server for this file.\n\n- Language servers do not open files in Claude's own folders, such as the scratchpad, because they can run what is saved there. Claude is told to read the file instead, and that retrying will not help.\n\nBefore, the only refusals were a message for restricted sessions and a general one saying no language server was available for the file type.\n\n**Why**\n\nA language server can run code found in the folders it opens. These refusals stop it from doing so in folders that may hold untrusted content.\n\n- Area: LSP\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}