Skip to content

feat: add 'never' option for mcp_timeout to disable timeout #8633

Description

@Skyline-23

Problem

Currently, mcp_timeout in experimental config only accepts positive integers (milliseconds). There's no way to completely disable timeout for MCP tool calls.

Some MCP tools may take a long time to execute (e.g., long-running browser automation, complex code analysis), and users need an option to disable the timeout entirely.

Proposed Solution

Allow mcp_timeout to accept "never" as a value to disable timeout:

{
  "experimental": {
    "mcp_timeout": "never"
  }
}

Alternatives Considered

  • Using a very large number (e.g., 999999999) - not intuitive
  • A separate boolean flag - adds complexity

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions