nan1010082085/dsh-mcp-sync ↗★ 0
dsh-mcp-sync
DSH 插件:同步来自 Claude Code、Codex CLI 和 Cursor Agent 的 MCP 配置,支持去重与管理。
AI 分析
核心用途是自动扫描并同步多个本地 AI 客户端的 MCP(模型上下文协议)配置。适合需要统一管理和去重 MCP 工具链的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nan1010082085/dsh-mcp-sync说明文档
阅读完整 README ↗配置
默认零配置可用。需要调整时,在 profile 的 cordis.patch.yml(~/.dsh/profiles/web/cordis.patch.yml)按 id 覆盖:
- id: mcp-sync
config:
enabled: true
autoSync: true # 启动时自动同步
syncInterval: 60000 # 定时同步间隔(ms),0 关闭
dedupeByCommand: true # 按 command+args 去重
sources:
claude: true # 扫描 Claude Code 配置
codex: true # 扫描 Codex CLI 配置
cursor: true # 扫描 Cursor Agent 配置