dsh-mcp-sync
dsh-mcp-sync
DSH(DeepSeek Harness)插件:自动同步本地 Claude Code / Codex CLI / Cursor Agent 的 MCP 配置,去重过滤,集中管理,支持自定义 MCP。
功能
能力 | 说明 |
三源同步 | 自动扫描 Claude Code、Codex CLI、Cursor Agent 的 MCP 配置文件 |
智能去重 | 按 |
集中展示 | 侧边栏「MCP 配置」标签页,统一查看所有 MCP 服务 |
来源标注 | 每个服务显示来源徽标(Claude / Codex / Cursor / 自定义) |
自定义 MCP | 支持添加自定义 MCP 服务(stdio 或 sse 类型),存储在 |
设置集成 | 在设置页面中配置同步选项(启用/禁用源、去重策略等) |
实时刷新 | 支持手动刷新,配置文件变更后自动更新 |
Related MCP server: 1mcpserver
数据源
源 | 配置路径 | 格式 |
Claude Code |
| JSON ( |
Cursor Agent |
| JSON ( |
Codex CLI |
| TOML ( |
自定义 |
| JSON |
工作原理
服务端半(
lib/index.js→lib/sources.js+lib/routes.js):扫描三源 MCP 配置文件,解析 JSON/TOML 格式,按(mtime)缓存;GET /api/dsh-mcp-sync/*提供状态、服务列表、原始配置三个只读接口。去重逻辑:按
command + args(stdio 类型)或url(sse 类型)生成指纹,相同指纹的服务合并为一条,保留所有来源。浏览器半(
lib/client.js,零构建手写 ModuleLoader 工厂):注册为dsh-better-sidebar的标签页,展示去重后的 MCP 服务列表,支持按来源过滤和搜索。
安装
# 从 npm 安装(推荐)
dsh plugin --profile web add dsh-mcp-sync
# 重启 dsh web 生效dsh plugin 会自动把声明了 dsh.bundle 的包追加进 profile 的 dsh.profile.bundles。
依赖
需要安装 dsh-better-sidebar 插件(提供侧边栏标签页系统)。
配置
默认零配置可用。需要调整时,在 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 配置API(均 loopback-only)
路由 | 说明 |
| 各源可用性 / 服务数 / 最后同步时间 |
| 去重后的 MCP 服务列表(可按来源过滤) |
| 各源的原始配置文件内容 |
| 自定义 MCP 服务列表 |
| 添加自定义 MCP 服务(body: |
| 删除自定义 MCP 服务 |
开发
node --check lib/index.js lib/sources.js lib/routes.js lib/client.jsLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP tool that synchronizes user preferences, personal details, and code standards across multiple Claude interfaces, allowing users to maintain consistent personalized AI interactions without repeating themselves.7
- AlicenseNot gradedqualityDmaintenanceMCP of MCPs. Automatic discovery and configure MCP servers on your local machine. Integration with Claude and Cursor.53Apache 2.0
- AlicenseBqualityFmaintenanceEnables orchestrating multiple AI CLI agents (Claude Code, Codex, Gemini CLI, Copilot CLI) through a unified MCP interface for task delegation, cross-agent comparison, and specialized tools like code review and debugging.141814MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLM-powered code analysis, generation, debugging, and context management through MCP integration with IDEs like Cursor and Claude Desktop.
Related MCP Connectors
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
One shared context your team's AI tools read & write over MCP. No re-explaining. Free.
Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted FTS.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nan1010082085/dsh-mcp-sync'
If you have feedback or need assistance with the MCP directory API, please join our Discord server