# Add configurable timeout for context server tool calls \(\#33348\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ae0ee70abddb7883bd5e9610d063508ce5ad532d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ae0ee70abddb7883bd5e9610d063508ce5ad532d

Requested commit: ae0ee70abddb7883bd5e9610d063508ce5ad532d

Commit: ae0ee70abddb7883bd5e9610d063508ce5ad532d

Tree: 7c279d9743fce1eaf6efbc618c3c6005698884a4

Author: Rafał Krzyważnia

Committer: GitHub

## Message

```
Add configurable timeout for context server tool calls (#33348)

Closes: #32668

- Add
[tool_call_timeout_millis](https://github.com/cline/cline/pull/1904)
field to ContextServerCommand, like in Cline
- Update ModelContextServerBinary to include timeout configuration
- Modify Client to store and use configurable request timeout
- Replace hardcoded REQUEST_TIMEOUT with self.request_timeout
- Rename REQUEST_TIMEOUT to DEFAULT_REQUEST_TIMEOUT for clarity
- Maintain backward compatibility with 60-second default

Release Notes:

- context_server: Add support for configurable timeout for MCP tool
calls

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
```

## Parents

- [893eb92f9185d864af0503936b8d2ac448d98cce](https://git.cafe/gitcafe/zed/commit/893eb92f9185d864af0503936b8d2ac448d98cce?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ae0ee70abddb7883bd5e9610d063508ce5ad532d?format=markdown)
