Restore Desktop Search MCP settings form with Bailian defaults.

Keep boot safe on DSH 0.2 while registering a distinct settings section,
lazy remote.credentials wiring, and credential badge state that survives
describe redaction after Save.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-10 04:24:13 +08:00
parent 8fdb55b025
commit d729b03f70
7 changed files with 733 additions and 412 deletions

View file

@ -6,6 +6,17 @@
* `custom` is the only kind whose connection details come from the user.
*/
export const SEARCH_MCP_CATALOG = {
bailian: {
transport: 'http',
url: 'https://dashscope.aliyuncs.com/api/v1/mcps/WebSearch/mcp',
authStyle: 'header',
authParam: 'Authorization',
authPrefix: 'Bearer ',
toolName: 'bailian_web_search',
countArg: '',
apiKeyEnv: 'DASHSCOPE_API_KEY',
needsKey: true,
},
tavily: {
transport: 'http',
url: 'https://mcp.tavily.com/mcp/',