Skip to content

Add UNISON_MCP_TIMEOUT environment variable for configurable tool timeouts#6167

Merged
aryairani merged 1 commit intounisonweb:trunkfrom
bbarker:mcp_timeout_fresh
Feb 21, 2026
Merged

Add UNISON_MCP_TIMEOUT environment variable for configurable tool timeouts#6167
aryairani merged 1 commit intounisonweb:trunkfrom
bbarker:mcp_timeout_fresh

Conversation

@bbarker
Copy link
Contributor

@bbarker bbarker commented Feb 7, 2026

Overview

  • What does this change accomplish and why?
    • Adds UNISON_MCP_TIMEOUT environment variable to configure MCP tool call timeouts
    • Previously: hardcoded 60-second timeout with message "timed out after 1 minute"
    • Now: configurable timeout (in seconds) via env var, defaults to 60 seconds, message shows actual timeout value

Interesting/controversial decisions

  • Env var is specified in seconds (not microseconds) for user convenience

Loose ends

None.

Final checklist

  • PR title: "Add UNISON_MCP_TIMEOUT environment variable for configurable tool timeouts"
  • Description is accurate
  • No transcript changes needed - behavior is backward compatible
  • No .cabal file changes

@aryairani aryairani added this pull request to the merge queue Feb 21, 2026
Merged via the queue into unisonweb:trunk with commit 8ca6c14 Feb 21, 2026
17 checks passed
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.

2 participants