Skip to content

[mcp] Increase default tool timeout to 300 seconds#28234

Merged
adaley-openai merged 1 commit into
mainfrom
dev/adaley/mcp-tool-timeout-300s
Jun 15, 2026
Merged

[mcp] Increase default tool timeout to 300 seconds#28234
adaley-openai merged 1 commit into
mainfrom
dev/adaley/mcp-tool-timeout-300s

Conversation

@adaley-openai

Copy link
Copy Markdown
Contributor

Summary

  • Increase the default MCP tool-call timeout from 120 to 300 seconds.

Validation

  • just test -p codex-mcp
  • just fmt

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR increases the default timeout used for MCP tool calls in the Rust MCP client, allowing longer-running tools to complete without timing out under the default configuration.

Changes:

  • Increased DEFAULT_TOOL_TIMEOUT in the MCP client from 120s to 300s.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@adaley-openai adaley-openai merged commit 41db093 into main Jun 15, 2026
32 checks passed
@adaley-openai adaley-openai deleted the dev/adaley/mcp-tool-timeout-300s branch June 15, 2026 20:07
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants