Skip to content

fix(core): disable mcp tool call timeout#35204

Open
rekram1-node wants to merge 3 commits into
v2from
elicitation-timeout
Open

fix(core): disable mcp tool call timeout#35204
rekram1-node wants to merge 3 commits into
v2from
elicitation-timeout

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • pass an explicit long timeout to MCP tools/call requests
  • preserve progress-token support for servers that send tool-call progress
  • avoid the SDK default request timeout cancelling long-running MCP tools while waiting for user elicitation

The MCP SDK currently defaults requests when timeout is omitted. This follows Claude Code's approach of using an effectively infinite finite timeout (100_000_000 ms) for MCP tool calls while still allowing opencode interruption through the existing abort signal.

Testing

  • bun typecheck from packages/core

@rekram1-node rekram1-node changed the title fix(core): keep mcp elicitations alive fix(core): disable mcp tool call timeout Jul 3, 2026
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