mirror of
https://github.com/hansjone/dsh-search-mcp.git
synced 2026-10-11 00:30:50 +08:00
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>
31 lines
1,001 B
YAML
31 lines
1,001 B
YAML
# dsh-search-mcp bundle layer (Desktop 0.2 boot-safe).
|
|
#
|
|
# IMPORTANT: Do NOT set `web.searchProvider: search-mcp` or disable
|
|
# `web-search-deepseek` in this patch. On Desktop 0.2 that creates a
|
|
# load-order deadlock (web waits for search-mcp, search-mcp waits for web)
|
|
# and freezes the UI on "Loading plugins…".
|
|
#
|
|
# The host `apply` registers the provider and then soft-switches the web
|
|
# row via settings when available. Removing this package restores the
|
|
# previous composition (no searchProvider pin left behind by this file).
|
|
|
|
- insert:
|
|
- id: search-mcp
|
|
name: 'dsh-search-mcp'
|
|
config:
|
|
defaultServer: bailian
|
|
maxResults: 8
|
|
searchTimeoutMs: 30000
|
|
servers:
|
|
- id: bailian
|
|
kind: bailian
|
|
apiKeyEnv: DASHSCOPE_API_KEY
|
|
|
|
# Raise tool-web caps so search-mcp maxResults can take effect.
|
|
- id: tool-web
|
|
disabled: false
|
|
config:
|
|
fetch: false
|
|
searchTimeoutMs: 60000
|
|
searchMaxResults: 50
|
|
searchMaxQueries: 4
|