Skip to content

MCP tool calls timeout after 60 seconds for long-running requests #2250

@mohdgufran07

Description

@mohdgufran07

I'm using the TypeScript MCP SDK for a chatbot application and I'm encountering timeout errors when a tool call takes longer than 60 seconds to complete.

Some user queries require retrieving data from multiple sources and performing additional processing before generating a response. In these cases, the request may legitimately take more than a minute, but the MCP client times out before the response is returned.

Is there a recommended way to configure or increase the timeout for tool calls without affecting other request types? If not, would it make sense to support a configurable timeout specifically for long running tool executions?

Any guidance would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for a new feature that's not currently supported

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions