mirror of
https://github.com/csunny/DB-GPT.git
synced 2026-07-17 01:58:47 +00:00
- Manager: branch on connector_type == 'custom_mcp', build pack from extra_config (server_uri + auth_type) instead of catalog. Add connector_id parameter for restore-from-DB id preservation. - Service: pass extra_config and connector_id through to manager on both create and after_start rehydration paths. Rehydration now reads config_json so custom_mcp connectors survive restart. - Frontend: align catalog type to backend (auth_fields), add select + default support, conditional token/header_name fields driven by auth_type, and submit a config payload alongside credentials for custom_mcp. - Confirmation: custom_mcp tools are NOT in any catalog.confirm_actions, so the existing ConfirmationInterceptor naturally returns False -- custom_mcp writes execute without confirmation (intentional MVP scope).