Custom MCP Server timed out time is extremely short

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Custom MCP Server timed out time is extremely short. I didn’t have time to enter the necessary data into the MCP Server interaction mode because it kept timed out.

Steps to Reproduce

Using an interactive MCP Server and waiting for about 4-5 minutes, it will time out. I need to increase the timeout.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.50 (user setup)
VSCode Version: 1.105.1
Commit: 56f0a83df8e9eb48585fcc4858a9440db4cc7770
Date: 2025-12-06T23:39:52.834Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045

For AI issues: which model did you use?

Opus 4.5 thinking

For AI issues: add Request ID with privacy disabled

abc42d8a-8ac5-4849-afe7-777013af2d21

Additional Information

I just want MCP Server to have more timeout, like 9 minutes is that ok?

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. The issue is clear: the error “MCP error -32001: Request timed out” occurs during elicitation (when the MCP server asks the user for input).

We need a few more details:

  • Your mcp.json (without secrets)
  • Which MCP server you use (link to the repo if public, or a minimal code example)
  • Transport: stdio, SSE, or Streamable HTTP
  • Full logs: Output Cmd+Shift+U → “MCP Logs” - a snippet around the -32001 error moment

From the screenshot, this looks like a limitation in Cursor’s elicitation implementation - the timeout for waiting on user input is too short.

1 Like

2025-12-09 11:30:16.762 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:30:22.974 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:30:22.975 [info] Connected to stdio server, fetching offerings

2025-12-09 11:30:22.979 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:30:38.210 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:30:38.210 [info] Connected to stdio server, fetching offerings

2025-12-09 11:30:38.217 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:30:59.324 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:30:59.324 [info] Connected to stdio server, fetching offerings

2025-12-09 11:30:59.334 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:31:21.435 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:31:21.435 [info] Connected to stdio server, fetching offerings

2025-12-09 11:31:21.444 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:32:13.755 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:32:13.755 [info] Connected to stdio server, fetching offerings

2025-12-09 11:32:13.762 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:33:13.783 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:33:13.783 [info] Connected to stdio server, fetching offerings

2025-12-09 11:33:13.791 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:33:44.891 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:33:44.891 [info] Connected to stdio server, fetching offerings

2025-12-09 11:33:44.896 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:33:51.096 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:33:51.096 [info] Connected to stdio server, fetching offerings

2025-12-09 11:34:51.100 [error] Error listing tools: MCP error -32001: Request timed out

2025-12-09 11:35:24.964 [error] Client error for command Received a response for an unknown message ID: {“jsonrpc”:“2.0”,“id”:384,“result”:{“content”:[{“type”:“text”,“text”:“Tôi vẫn ở đây, hãy gọi lại ai_interaction nhé, đang xem xét một số thứ để nhờ bạn hỗ trợ\n\n<AI_INTERACTION_CONTINUE_CHAT>true</AI_INTERACTION_CONTINUE_CHAT>”}],“isError”:false}}

2025-12-09 11:35:24.967 [error] Client error for command Received a response for an unknown message ID: {“jsonrpc”:“2.0”,“id”:385,“result”:{“content”:[{“type”:“text”,“text”:“Vẫn ở đây nè, call lại tool ai_interaction nha, đang research để nhờ bạn tư vấn :+1:\n\n<AI_INTERACTION_CONTINUE_CHAT>true</AI_INTERACTION_CONTINUE_CHAT>”}],“isError”:false}}

2025-12-09 11:35:24.969 [error] Client error for command Received a response for an unknown message ID: {“jsonrpc”:“2.0”,“id”:386,“result”:{“tools”:[{“name”:“ai_interaction_tool”,“description”:“\n​:rocket: AI_INTERACTION TOOL - INTEGRATION WITH SYSTEM PROMPT RULES :rocket:\n=======================================================================\n​:clipboard: OUTPUT FORMAT - CLEAN TAG-BASED:\n\n\n<AI_INTERACTION_ATTACHED_FILES>\nFOLDERS:\n- workspace_name/relative/path/to/folder\n\nFILES:\n- workspace_name/relative/path/to/file.js\n\n</AI_INTERACTION_ATTACHED_FILES>\n\n<AI_INTERACTION_WORKSPACE>workspace_name</AI_INTERACTION_WORKSPACE>\n<AI_INTERACTION_CONTINUE_CHAT>true/false</AI_INTERACTION_CONTINUE_CHAT>\n\n🔧 WORKSPACE PATH PROCESSING:\n- Input format: \“workspace_name/relative_path_from_workspace_root\”\n- Agent workspace detection logic:\n * CÙNG workspace → BỎ TIỀN TỐ workspace_name, dùng relative_path\n * KHÁC workspace → DÙNG NGUYÊN đường dẫn từ ai_interaction\n\n📁 WORKSPACE HANDLING EXAMPLES:\n- Cùng workspace: \“ALT-WebClientV3/src/components/login/index.js\” \n → Agent processes: \“src/components/login/index.js\”\n- Khác workspace: \“AI-interaction/ai_interaction_tool/description.py\” \n → Agent processes: \“AI-interaction/ai_interaction_tool/description.py\”\n\n⚠️ CRITICAL CONTROL TAGS:\n- **<AI_INTERACTION_CONTINUE_CHAT>**: true = MANDATORY recall ai_interaction tool\n- **<AI_INTERACTION_ATTACHED_FILES>**: Present only when files/folders attached\n- **<AI_INTERACTION_WORKSPACE>**: Present only when files/folders attached\n\n🚀 SYSTEM ARCHITECTURE:\n[User Input] → [ai_interaction Tool] → [Pseudo-Object] → [System Prompt Rules] → [Enhanced AI Response]\n\n⭐ DESIGN HIGHLIGHT:\nTool được thiết kế để integrate với system prompt rules framework, tạo ra effective AI interaction architecture!\n=======================================================================\n”,“inputSchema”:{“properties”:{},“title”:“ai_interaction_toolArguments”,“type”:“object”}}]}}

2025-12-09 11:35:24.971 [info] Found 0 tools, 0 prompts, and 0 resources

2025-12-09 11:35:32.372 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:35:32.373 [info] Connected to stdio server, fetching offerings

2025-12-09 11:35:32.381 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:36:06.390 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:36:06.390 [info] Connected to stdio server, fetching offerings

2025-12-09 11:36:06.398 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:36:21.326 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:36:21.326 [info] Connected to stdio server, fetching offerings

2025-12-09 11:36:21.333 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:36:52.465 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:36:52.466 [info] Connected to stdio server, fetching offerings

2025-12-09 11:36:52.472 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:37:13.895 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:37:13.896 [info] Connected to stdio server, fetching offerings

2025-12-09 11:37:13.905 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:37:37.248 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:37:37.248 [info] Connected to stdio server, fetching offerings

2025-12-09 11:37:37.256 [info] Found 1 tools, 0 prompts, and 0 resources

2025-12-09 11:38:13.891 [info] Handling ListOfferings action, server stored: true

2025-12-09 11:38:13.892 [info] Connected to stdio server, fetching offerings

2025-12-09 11:38:13.900 [info] Found 1 tools, 0 prompts, and 0 resources

{

“mcpServers”: {

"AI_interaction": {

  "command": "python",

  "args": \["E:/MCP-servers-github/AI-interaction/mcp_server.py"\],

  "stdio": true,

  "enabled": true,

  "autoApprove": \["ai_interaction_tool"\],

  "alwaysAllow": \["ai_interaction_tool"\]

},

"chrome-devtools": {

  "command": "npx",

  "args": \["-y", "chrome-devtools-mcp@latest"\]

}

}

}

link github: GitHub - KhaiHuynhVN/MCP-Server_AI-interaction

Thanks for the detailed info! I confirm this is a limitation in the current MCP implementation in Cursor - the elicitation timeout (user input requests) is about 60 seconds and not configurable.

I’ll create a ticket for the dev team with your request to increase or make the timeout configurable for interactive MCP servers. Your use case with ai_interaction_tool is a good example of needing longer timeouts.

For now, the only option is to complete input within a minute after the server request.

1 Like

Thank you!

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When calling a long running tool the mcp tool call correctly calls the tool but times out the tool call even when sending back a progress token.

Steps to Reproduce

Use a tool which takes more than a few min to execute fully.

Expected Behavior

The expected behavior is that the mcp tool will continue reset the timeout as long as a progress token is sent. Once a progress token hasn’t been sent for timeout X then the tool should be killed with the -32001.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.50 (Universal)
VSCode Version: 1.105.1

For AI issues: which model did you use?

Any Model, it doesn’t matter here.

Additional Information

Vscode’s tool calls do not have this issue. Is this due to a setting I can change in cursor? Does cursor have a means of allowing the user to configure the caller side settings of the mcp spec?

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

I’ve also encountered this problem. My MCP was being processed when it was forcibly terminated with a timeout message. Could you please fix this as soon as possible? It’s severely impacting usability and user experience.

2 Likes

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.