dsh-mcp-sync
v0.2.1 · 0 天前发布
DSH plugin: sync MCP configs from Claude Code, Codex CLI, and Cursor Agent with dedup and management
README
dsh-mcp-sync
DSH(DeepSeek Harness)插件:自动同步本地 Claude Code / Codex CLI / Cursor Agent 的 MCP 配置,去重过滤,集中管理,支持自定义 MCP。
功能
| 能力 | 说明 |
| --- | --- |
| 三源同步 | 自动扫描 Claude Code、Codex CLI、Cursor Agent 的 MCP 配置文件 |
| 智能去重 | 按 command + args 或 url 去重,相同服务只显示一次,标注来源 |
| 集中展示 | 侧边栏「MCP 配置」标签页,统一查看所有 MCP 服务 |
| 来源标注 | 每个服务显示来源徽标(Claude / Codex / Cursor / 自定义) |
| 自定义 MCP | 支持添加自定义 MCP 服务(stdio 或 sse 类型),存储在 ~/.dsh/mcp-sync/custom.json |
| 设置集成 | 在设置页面中配置同步选项(启用/禁用源、去重策略等) |
| 实时刷新 | 支持手动刷新,配置文件变更后自动更新 |
数据源
| 源 | 配置路径 | 格式 |
| --- | --- | --- |
| Claude Code | ~/.claude/claude_desktop_config.json | JSON (mcpServers) |
| Cursor Agent | ~/.cursor/mcp.json | JSON (mcpServers) |
| Codex CLI | ~/.codex/config.toml | TOML ([mcp_servers]) |
| 自定义 | `~/.dsh/mcp-sync/custom.json
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-mcp-sync
- Repo
- git+https://github.com/nan1010082085/dsh-plugins.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings"],"platform":"web"}}