Skip to content

Add timeout overrides for MCP server configuration#278

Open
BitsInBytes wants to merge 2 commits into
zed-industries:mainfrom
BitsInBytes:patch-1
Open

Add timeout overrides for MCP server configuration#278
BitsInBytes wants to merge 2 commits into
zed-industries:mainfrom
BitsInBytes:patch-1

Conversation

@BitsInBytes
Copy link
Copy Markdown

Fixes for issue 227 (#277)

When mcpServers are provided dynamically via ACP session/new or session/load, codex-acp rebuilds each server config and hard-sets:

startup_timeout_sec = None
tool_timeout_sec = None

This makes timeout tuning impossible for dynamically injected MCP servers, even though static TOML-configured servers support these fields.

This change now allows MCP meta data to be included to configure the MCP timeouts.

Fixes for issue 227 (zed-industries#277)

When mcpServers are provided dynamically via ACP session/new or session/load, codex-acp rebuilds each server config and hard-sets:

startup_timeout_sec = None
tool_timeout_sec = None

This makes timeout tuning impossible for dynamically injected MCP servers, even though static TOML-configured servers support these fields.

This change now allows MCP meta data to be included to configure the MCP timeouts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant