i have succesfully implemented the integration, however when triggering mcp server it frequently hangs or does 1 task quit fast and then it stops responding which makes me restart the remote mcp manually. i know this is still beta but are there workarounds for this?
thanks for your quick response, i appreciate it!!
tasks are triggered sequentially, that's what supprises me, that 1 tasks works and a few seconds later it does not respond anymore.
in the mean time i found out that i was using an initial version 0.0.1 which never got update, i now stepped up to 1.0.0 but having the same problems.
i will implement an auto restart script, let you know if it works!
Hey @Dirk Verstraete
Congrats on getting the integration running! Since MCP is still in beta, these hang-ups are common—the server might freeze or quit after one task due to network, config, or resource hiccups. For now, check your logs, keep an eye on server resource usage, and consider upping timeout settings or optimizing your config to minimize manual restarts. You're not alone—tweaks and monitoring usually smooth things out!
thanks for the timeout tip!
i added this now to the mcp config in visual code:
{
"chat.mcp.requestTimeout": 30000, // 30 seconds in milliseconds
"chat.mcp.connectionTimeout": 10000 // 10 seconds
}
these settings has apparantly no impact, any suggestions for better implementation?
Increase timeouts: request Timeout to 120,000 m/s, connection Timeout to 15,000 m/s. Add a simple health check endpoint that returns server status and memory usage. Monitor server resources (CPU, memory, network) to avoid overload. Implement automatic health pings to detect hangs and auto-restart the MCP. Use community tools/extensions for stuck MCP refresh. Use community tools/extensions for stuck MCP refresh. Try this if it works kindly plz let me know. @Dirk Verstraete