Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

MCP Request Timeout Issue

Open ivan-mezentsev opened this issue 1 year ago • 6 comments

Operating System

ALL

Kiro Version

0.1.0

Bug Description

MCP tool calls are failing with timeout errors:
Error calling MCP tool: MCP error -32001: Request timed out

Steps to Reproduce

This timeout limitation prevents execution of legitimate MCP operations that require extended processing time, including:

  • Heavy analytical database queries (several minutes)
  • Deep research service calls with lengthy response times
  • Complex data processing operations
  • Large-scale search and retrieval tasks

Expected Behavior

MCP requests should not have arbitrary time constraints, as the nature of MCP operations can vary significantly in execution duration depending on the complexity and scope of the task.

Conversation ID

No response

Additional Context

No response

ivan-mezentsev avatar Jul 15 '25 15:07 ivan-mezentsev

Hi @ivan-mezentsev thank you for opening this issue. There currently timeout limit for mcp calls is as 60 secs. I'll mark this as a feature request and discuss with the team.

nadetastic avatar Jul 15 '25 18:07 nadetastic

I would like to also vote that this is a high priority need. When using CLINE in visual studio code there is a JSON timeout option for accessing MCP Servers: "timeout": 120, When using Kiro there is no such setting and the 60 second default is making the MCP client very difficult to use. We want to be able to pull down specification files from external sources such as Spira or Jira and they can take longer than 60 seconds if they have to make multiple REST API calls. Making the MCP Server request timeout configuration would be huge for us if implemented.

adammarksandman avatar Aug 06 '25 23:08 adammarksandman

I have the same issue with the Dockerized Playwright MCP server. A 60-second timeout is not enough when Playwright needs to download a new version of the Docker image and then start up.

AntonioAngelino avatar Sep 19 '25 07:09 AntonioAngelino

@nadetastic any update for this? Seems to be a common issue in IDE's (in MCP clients in general)

https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1539

mohidmakhdoomi avatar Oct 06 '25 20:10 mohidmakhdoomi

I was surprised to run into this limitation on Kiro because I don't experience the same limitation with other MCP hosts I use. Making the timeout configurable, or even disabling it, is desirable. In particular, I use an MCP server that can involve blocking for potentially hours. The work-around is to poll, which consumes tokens faster.

Jonathan-Improving avatar Jun 05 '26 14:06 Jonathan-Improving

.... lo curioso es que el issuse 2566 ducplicado reportado es que no pueden conectar un mpc del mismo aws jajajajaj ....Actualmente, Kiro tiene un tiempo de espera fijo de 60 segundos para las conexiones de inicio del servidor MCP. Esto causa problemas con servidores como awslabs.core-mcp-server, que requieren.... Por favor prioricen y den al menos 120 segundos...

JhonQ2024 avatar Jun 18 '26 14:06 JhonQ2024