MCP server initialization cannot be set via cli argument or env var.
see:
|
case <-time.After(10 * time.Second): |
This cause issue when the MCP server requires an external auth that can take more than 10 seconds.
This is also an issue when the MCP server is downloaded on the fly and crash for the first interaction because the download takes more than 10 seconds. In this situation, it can be fixed by calling the MCP servers a second time after the first timeout or pre-downloading it.
Thank you for this amazing tool.
MCPserver initialization cannot be set viacliargument or env var.see:
mcptools/cmd/mcptools/commands/utils.go
Line 85 in 6dbbc7e
This cause issue when the
MCPserver requires an external auth that can take more than 10 seconds.This is also an issue when the
MCPserver is downloaded on the fly and crash for the first interaction because the download takes more than 10 seconds. In this situation, it can be fixed by calling theMCPservers a second time after the first timeout or pre-downloading it.Thank you for this amazing tool.