subject:%20Hosted%20MonkeyCode%20MCP%20Sync%20fails%20for%20ALL%20user%20MCP%20servers%20with%20generic%2010005%20error%0A%0AI%20am%20using%20the%20hosted%20MonkeyCode%20service%3A%0A%0Ahttps%3A//monkeycode-ai.net%0A%0AThe%20MCP%20and%20tools%20UI%20allows%20me%20to%20add%20MCP%20servers%20successfully,%20but%20clicking%20Sync%20always%20fails%20with:%0A%0A%22Database%20operation%20failed%22%0A%0AThe%20server%20remains%20%22No%20tools%22.%0A%0AThis%20happens%20with%20TWO%20completely%20unrelated%20MCP%20servers:%0A%0A1.%20Investigation%20Studio%0Ahttps://investigationstudio.lovable.app/api/public/v1/mcp%0A%0A2.%20MCP%20Test%0Ahttps://mcpplaygroundonline.com/mcp-complex-server%0A%0AThe%20MCP%20Test%20server%20is%20a%20public/no-auth%20MCP%20server,%20so%20this%20rules%20out%20Investigation%20Studio%20authentication%20as%20the%20cause.%0A%0AImportant%20observations:%0A%0A-%20Adding/creating%20the%20MCP%20server%20succeeds.%0A-%20Sync%20fails.%0A-%20Both%20unrelated%20MCP%20servers%20fail%20identically.%0A-%20No%20tools%20are%20persisted/displayed.%0A-%20The%20UI%20only%20reports%20%22Database%20operation%20failed%22.%0A-%20Multiple%20trace%20IDs%20have%20been%20generated.%0A%0AExample%20trace%20IDs:%0A%0A1a7303349160bf03cfa899636f7e9a0b%0A22ddcd536387a6a150436ef1313c5c92%0Ac3c3b1115d7e667bc53b12cd9cf8a92b%0A%0AI%20investigated%20the%20open-source%20MonkeyCode%20source.%0A%0AThe%20Sync%20path%20appears%20to%20be:%0A%0AMCPHandler.SyncUpstream%0A%E2%86%92%20userMCPUsecase.SyncUpstream%0A%E2%86%92%20MCP%20Hub%20/internal/upstreams/:id/sync%0A%E2%86%92%20syncer.Service.Sync%0A%E2%86%92%20ListTools%0A%E2%86%92%20ToolRepo.ReplaceByUpstream%0A%E2%86%92%20mcp_tools%20persistence%0A%0AThe%20handler%20wraps%20ALL%20SyncUpstream%20errors%20as%20ErrDatabaseOperation%20/%2010005,%20so%20the%20displayed%20error%20is%20not%20necessarily%20a%20database%20error.%0A%0ARelevant%20source%20locations:%0A%0Abackend/biz/setting/handler/v1/mcp.go:150-153%0Abackend/biz/setting/usecase/mcp.go:39-50%0Abackend/biz/setting/usecase/mcp.go:111-144%0Abackend/biz/mcphub/register.go:103-119%0Abackend/biz/mcphub/control/syncer/service.go%0Abackend/biz/setting/repo/tool.go%0A%0AThe%20source%20also%20shows%20that%20if%20the%20server-side%20configuration:%0A%0Amcp_hub.url%0Amcp_hub.token%0A%0Ais%20empty,%20SyncUpstream%20returns:%0A%0A%22mcp%20hub%20sync%20is%20not%20configured%22%0A%0Awhich%20is%20then%20wrapped%20into%20the%20exact%20same%2010005%20error.%0A%0AThese%20values%20are%20server-side%20configuration%20and%20are%20not%20exposed%20in%20the%20normal%20hosted%20UI.%0A%0APlease%20check%20the%20hosted%20monkeycode-ai.net%20deployment%20and%20confirm:%0A%0A1.%20Is%20mcp_hub.url%20configured?%0A2.%20Is%20mcp_hub.token%20configured?%0A3.%20Does%20the%20hosted%20deployment's%20MCP%20Hub%20respond%20successfully?%0A4.%20Is%20the%20hosted%20deployment%20running%20the%20MCP%20sync%20fixes%20currently%20present%20in%20main?%0A5.%20Has%20migration%20000022%20been%20applied%20to%20the%20hosted%20database?%0A6.%20Can%20you%20inspect%20the%20server%20logs%20for%20the%20trace%20IDs%20above%20and%20identify%20the%20underlying%20error?%0A%0AThe%20key%20point%20is%20that%20BOTH%20a%20public%20unauthenticated%20MCP%20server%20and%20my%20authenticated%20Investigation%20Studio%20MCP%20server%20fail%20during%20Sync.%0A%0AI%20am%20therefore%20requesting%20a%20server-side%20investigation/fix%20rather%20than%20further%20client-side%20MCP%20configuration%20instructions.%0A%0APlease%20let%20me%20know%20once%20MCP%20Sync%20is%20operational%20on%20the%20hosted%20service.
subject:%20Hosted%20MonkeyCode%20MCP%20Sync%20fails%20for%20ALL%20user%20MCP%20servers%20with%20generic%2010005%20error%0A%0AI%20am%20using%20the%20hosted%20MonkeyCode%20service%3A%0A%0Ahttps%3A//monkeycode-ai.net%0A%0AThe%20MCP%20and%20tools%20UI%20allows%20me%20to%20add%20MCP%20servers%20successfully,%20but%20clicking%20Sync%20always%20fails%20with:%0A%0A%22Database%20operation%20failed%22%0A%0AThe%20server%20remains%20%22No%20tools%22.%0A%0AThis%20happens%20with%20TWO%20completely%20unrelated%20MCP%20servers:%0A%0A1.%20Investigation%20Studio%0Ahttps://investigationstudio.lovable.app/api/public/v1/mcp%0A%0A2.%20MCP%20Test%0Ahttps://mcpplaygroundonline.com/mcp-complex-server%0A%0AThe%20MCP%20Test%20server%20is%20a%20public/no-auth%20MCP%20server,%20so%20this%20rules%20out%20Investigation%20Studio%20authentication%20as%20the%20cause.%0A%0AImportant%20observations:%0A%0A-%20Adding/creating%20the%20MCP%20server%20succeeds.%0A-%20Sync%20fails.%0A-%20Both%20unrelated%20MCP%20servers%20fail%20identically.%0A-%20No%20tools%20are%20persisted/displayed.%0A-%20The%20UI%20only%20reports%20%22Database%20operation%20failed%22.%0A-%20Multiple%20trace%20IDs%20have%20been%20generated.%0A%0AExample%20trace%20IDs:%0A%0A1a7303349160bf03cfa899636f7e9a0b%0A22ddcd536387a6a150436ef1313c5c92%0Ac3c3b1115d7e667bc53b12cd9cf8a92b%0A%0AI%20investigated%20the%20open-source%20MonkeyCode%20source.%0A%0AThe%20Sync%20path%20appears%20to%20be:%0A%0AMCPHandler.SyncUpstream%0A%E2%86%92%20userMCPUsecase.SyncUpstream%0A%E2%86%92%20MCP%20Hub%20/internal/upstreams/:id/sync%0A%E2%86%92%20syncer.Service.Sync%0A%E2%86%92%20ListTools%0A%E2%86%92%20ToolRepo.ReplaceByUpstream%0A%E2%86%92%20mcp_tools%20persistence%0A%0AThe%20handler%20wraps%20ALL%20SyncUpstream%20errors%20as%20ErrDatabaseOperation%20/%2010005,%20so%20the%20displayed%20error%20is%20not%20necessarily%20a%20database%20error.%0A%0ARelevant%20source%20locations:%0A%0Abackend/biz/setting/handler/v1/mcp.go:150-153%0Abackend/biz/setting/usecase/mcp.go:39-50%0Abackend/biz/setting/usecase/mcp.go:111-144%0Abackend/biz/mcphub/register.go:103-119%0Abackend/biz/mcphub/control/syncer/service.go%0Abackend/biz/setting/repo/tool.go%0A%0AThe%20source%20also%20shows%20that%20if%20the%20server-side%20configuration:%0A%0Amcp_hub.url%0Amcp_hub.token%0A%0Ais%20empty,%20SyncUpstream%20returns:%0A%0A%22mcp%20hub%20sync%20is%20not%20configured%22%0A%0Awhich%20is%20then%20wrapped%20into%20the%20exact%20same%2010005%20error.%0A%0AThese%20values%20are%20server-side%20configuration%20and%20are%20not%20exposed%20in%20the%20normal%20hosted%20UI.%0A%0APlease%20check%20the%20hosted%20monkeycode-ai.net%20deployment%20and%20confirm:%0A%0A1.%20Is%20mcp_hub.url%20configured?%0A2.%20Is%20mcp_hub.token%20configured?%0A3.%20Does%20the%20hosted%20deployment's%20MCP%20Hub%20respond%20successfully?%0A4.%20Is%20the%20hosted%20deployment%20running%20the%20MCP%20sync%20fixes%20currently%20present%20in%20main?%0A5.%20Has%20migration%20000022%20been%20applied%20to%20the%20hosted%20database?%0A6.%20Can%20you%20inspect%20the%20server%20logs%20for%20the%20trace%20IDs%20above%20and%20identify%20the%20underlying%20error?%0A%0AThe%20key%20point%20is%20that%20BOTH%20a%20public%20unauthenticated%20MCP%20server%20and%20my%20authenticated%20Investigation%20Studio%20MCP%20server%20fail%20during%20Sync.%0A%0AI%20am%20therefore%20requesting%20a%20server-side%20investigation/fix%20rather%20than%20further%20client-side%20MCP%20configuration%20instructions.%0A%0APlease%20let%20me%20know%20once%20MCP%20Sync%20is%20operational%20on%20the%20hosted%20service.
subject:%20Hosted%20MonkeyCode%20MCP%20Sync%20fails%20for%20ALL%20user%20MCP%20servers%20with%20generic%2010005%20error%0A%0AI%20am%20using%20the%20hosted%20MonkeyCode%20service%3A%0A%0Ahttps%3A//monkeycode-ai.net%0A%0AThe%20MCP%20and%20tools%20UI%20allows%20me%20to%20add%20MCP%20servers%20successfully,%20but%20clicking%20Sync%20always%20fails%20with:%0A%0A%22Database%20operation%20failed%22%0A%0AThe%20server%20remains%20%22No%20tools%22.%0A%0AThis%20happens%20with%20TWO%20completely%20unrelated%20MCP%20servers:%0A%0A1.%20Investigation%20Studio%0Ahttps://investigationstudio.lovable.app/api/public/v1/mcp%0A%0A2.%20MCP%20Test%0Ahttps://mcpplaygroundonline.com/mcp-complex-server%0A%0AThe%20MCP%20Test%20server%20is%20a%20public/no-auth%20MCP%20server,%20so%20this%20rules%20out%20Investigation%20Studio%20authentication%20as%20the%20cause.%0A%0AImportant%20observations:%0A%0A-%20Adding/creating%20the%20MCP%20server%20succeeds.%0A-%20Sync%20fails.%0A-%20Both%20unrelated%20MCP%20servers%20fail%20identically.%0A-%20No%20tools%20are%20persisted/displayed.%0A-%20The%20UI%20only%20reports%20%22Database%20operation%20failed%22.%0A-%20Multiple%20trace%20IDs%20have%20been%20generated.%0A%0AExample%20trace%20IDs:%0A%0A1a7303349160bf03cfa899636f7e9a0b%0A22ddcd536387a6a150436ef1313c5c92%0Ac3c3b1115d7e667bc53b12cd9cf8a92b%0A%0AI%20investigated%20the%20open-source%20MonkeyCode%20source.%0A%0AThe%20Sync%20path%20appears%20to%20be:%0A%0AMCPHandler.SyncUpstream%0A%E2%86%92%20userMCPUsecase.SyncUpstream%0A%E2%86%92%20MCP%20Hub%20/internal/upstreams/:id/sync%0A%E2%86%92%20syncer.Service.Sync%0A%E2%86%92%20ListTools%0A%E2%86%92%20ToolRepo.ReplaceByUpstream%0A%E2%86%92%20mcp_tools%20persistence%0A%0AThe%20handler%20wraps%20ALL%20SyncUpstream%20errors%20as%20ErrDatabaseOperation%20/%2010005,%20so%20the%20displayed%20error%20is%20not%20necessarily%20a%20database%20error.%0A%0ARelevant%20source%20locations:%0A%0Abackend/biz/setting/handler/v1/mcp.go:150-153%0Abackend/biz/setting/usecase/mcp.go:39-50%0Abackend/biz/setting/usecase/mcp.go:111-144%0Abackend/biz/mcphub/register.go:103-119%0Abackend/biz/mcphub/control/syncer/service.go%0Abackend/biz/setting/repo/tool.go%0A%0AThe%20source%20also%20shows%20that%20if%20the%20server-side%20configuration:%0A%0Amcp_hub.url%0Amcp_hub.token%0A%0Ais%20empty,%20SyncUpstream%20returns:%0A%0A%22mcp%20hub%20sync%20is%20not%20configured%22%0A%0Awhich%20is%20then%20wrapped%20into%20the%20exact%20same%2010005%20error.%0A%0AThese%20values%20are%20server-side%20configuration%20and%20are%20not%20exposed%20in%20the%20normal%20hosted%20UI.%0A%0APlease%20check%20the%20hosted%20monkeycode-ai.net%20deployment%20and%20confirm:%0A%0A1.%20Is%20mcp_hub.url%20configured?%0A2.%20Is%20mcp_hub.token%20configured?%0A3.%20Does%20the%20hosted%20deployment's%20MCP%20Hub%20respond%20successfully?%0A4.%20Is%20the%20hosted%20deployment%20running%20the%20MCP%20sync%20fixes%20currently%20present%20in%20main?%0A5.%20Has%20migration%20000022%20been%20applied%20to%20the%20hosted%20database?%0A6.%20Can%20you%20inspect%20the%20server%20logs%20for%20the%20trace%20IDs%20above%20and%20identify%20the%20underlying%20error?%0A%0AThe%20key%20point%20is%20that%20BOTH%20a%20public%20unauthenticated%20MCP%20server%20and%20my%20authenticated%20Investigation%20Studio%20MCP%20server%20fail%20during%20Sync.%0A%0AI%20am%20therefore%20requesting%20a%20server-side%20investigation/fix%20rather%20than%20further%20client-side%20MCP%20configuration%20instructions.%0A%0APlease%20let%20me%20know%20once%20MCP%20Sync%20is%20operational%20on%20the%20hosted%20service.
subject:%20Hosted%20MonkeyCode%20MCP%20Sync%20fails%20for%20ALL%20user%20MCP%20servers%20with%20generic%2010005%20error%0A%0AI%20am%20using%20the%20hosted%20MonkeyCode%20service%3A%0A%0Ahttps%3A//monkeycode-ai.net%0A%0AThe%20MCP%20and%20tools%20UI%20allows%20me%20to%20add%20MCP%20servers%20successfully,%20but%20clicking%20Sync%20always%20fails%20with:%0A%0A%22Database%20operation%20failed%22%0A%0AThe%20server%20remains%20%22No%20tools%22.%0A%0AThis%20happens%20with%20TWO%20completely%20unrelated%20MCP%20servers:%0A%0A1.%20Investigation%20Studio%0Ahttps://investigationstudio.lovable.app/api/public/v1/mcp%0A%0A2.%20MCP%20Test%0Ahttps://mcpplaygroundonline.com/mcp-complex-server%0A%0AThe%20MCP%20Test%20server%20is%20a%20public/no-auth%20MCP%20server,%20so%20this%20rules%20out%20Investigation%20Studio%20authentication%20as%20the%20cause.%0A%0AImportant%20observations:%0A%0A-%20Adding/creating%20the%20MCP%20server%20succeeds.%0A-%20Sync%20fails.%0A-%20Both%20unrelated%20MCP%20servers%20fail%20identically.%0A-%20No%20tools%20are%20persisted/displayed.%0A-%20The%20UI%20only%20reports%20%22Database%20operation%20failed%22.%0A-%20Multiple%20trace%20IDs%20have%20been%20generated.%0A%0AExample%20trace%20IDs:%0A%0A1a7303349160bf03cfa899636f7e9a0b%0A22ddcd536387a6a150436ef1313c5c92%0Ac3c3b1115d7e667bc53b12cd9cf8a92b%0A%0AI%20investigated%20the%20open-source%20MonkeyCode%20source.%0A%0AThe%20Sync%20path%20appears%20to%20be:%0A%0AMCPHandler.SyncUpstream%0A%E2%86%92%20userMCPUsecase.SyncUpstream%0A%E2%86%92%20MCP%20Hub%20/internal/upstreams/:id/sync%0A%E2%86%92%20syncer.Service.Sync%0A%E2%86%92%20ListTools%0A%E2%86%92%20ToolRepo.ReplaceByUpstream%0A%E2%86%92%20mcp_tools%20persistence%0A%0AThe%20handler%20wraps%20ALL%20SyncUpstream%20errors%20as%20ErrDatabaseOperation%20/%2010005,%20so%20the%20displayed%20error%20is%20not%20necessarily%20a%20database%20error.%0A%0ARelevant%20source%20locations:%0A%0Abackend/biz/setting/handler/v1/mcp.go:150-153%0Abackend/biz/setting/usecase/mcp.go:39-50%0Abackend/biz/setting/usecase/mcp.go:111-144%0Abackend/biz/mcphub/register.go:103-119%0Abackend/biz/mcphub/control/syncer/service.go%0Abackend/biz/setting/repo/tool.go%0A%0AThe%20source%20also%20shows%20that%20if%20the%20server-side%20configuration:%0A%0Amcp_hub.url%0Amcp_hub.token%0A%0Ais%20empty,%20SyncUpstream%20returns:%0A%0A%22mcp%20hub%20sync%20is%20not%20configured%22%0A%0Awhich%20is%20then%20wrapped%20into%20the%20exact%20same%2010005%20error.%0A%0AThese%20values%20are%20server-side%20configuration%20and%20are%20not%20exposed%20in%20the%20normal%20hosted%20UI.%0A%0APlease%20check%20the%20hosted%20monkeycode-ai.net%20deployment%20and%20confirm:%0A%0A1.%20Is%20mcp_hub.url%20configured?%0A2.%20Is%20mcp_hub.token%20configured?%0A3.%20Does%20the%20hosted%20deployment's%20MCP%20Hub%20respond%20successfully?%0A4.%20Is%20the%20hosted%20deployment%20running%20the%20MCP%20sync%20fixes%20currently%20present%20in%20main?%0A5.%20Has%20migration%20000022%20been%20applied%20to%20the%20hosted%20database?%0A6.%20Can%20you%20inspect%20the%20server%20logs%20for%20the%20trace%20IDs%20above%20and%20identify%20the%20underlying%20error?%0A%0AThe%20key%20point%20is%20that%20BOTH%20a%20public%20unauthenticated%20MCP%20server%20and%20my%20authenticated%20Investigation%20Studio%20MCP%20server%20fail%20during%20Sync.%0A%0AI%20am%20therefore%20requesting%20a%20server-side%20investigation/fix%20rather%20than%20further%20client-side%20MCP%20configuration%20instructions.%0A%0APlease%20let%20me%20know%20once%20MCP%20Sync%20is%20operational%20on%20the%20hosted%20service.