After a MCP server is launched, thv attempts to connect to the server. Since optimizer takes a long time to initialize before the server process is launched, thv proxy reports errors and warning messages like below.
10:58AM INFO MCP server not initialized yet, skipping health check for http://127.0.0.1:22262
10:58AM INFO MCP server not initialized yet, skipping health check for http://127.0.0.1:22262
10:58AM INFO MCP server not initialized yet, skipping health check for http://127.0.0.1:22262
To address this issue, we need to launch the server process early and move the server initialization steps out of that execution path.