What
An LSP server, or language server, is a helper program that gives code intelligence such as definitions and references. Claude Code's requests to these servers used to wait with no limit.
- Requests now time out after 60000 milliseconds (one minute) by default, with the error
no response after ...ms. - The LSP server configuration gains an optional
requestTimeoutfield:Maximum time to wait for the server to answer a request (milliseconds). Defaults to 60000.Before, only startup and shutdown timeouts could be set. - Claude Code now tells servers it supports file-watch notifications (
didChangeWatchedFiles), without dynamic registration.
Why
A language server that hangs no longer blocks the call forever. If you use a slow server, you can raise the limit, and you can lower it to fail sooner.
Names in the bundlerequestTimeout
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up requestTimeout, on mid-conversation-effort-example.
ctx, cancel := context.WithTimeout(ctx, requestTimeoutSeconds*time.Second)build-with-claude/mid-conversation-effort-example see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up requestTimeout, on mid-conversation-effort-example.
Anthropic's release notes agree
Fixed LSP tool calls hanging indefinitely when a language server uses dynamic capability registration or stops responding; requests now time…