Skip to main content
Glama
nan1010082085

dsh-mcp-sync

dsh-mcp-sync

DSH(DeepSeek Harness)プラグイン:ローカルの Claude Code / Codex CLI / Cursor Agent の MCP 設定を自動同期し、重複を除去・フィルタリングして一元管理。カスタム MCP もサポート。

機能

機能

説明

3元同期

Claude Code、Codex CLI、Cursor Agent の MCP 設定ファイルを自動スキャン

スマート重複除去

command + args または url で重複除去。同一サービスは1回のみ表示し、出典を明記

一覧表示

サイドバー「MCP 設定」タブで、すべての MCP サービスを統一的に表示

出典表示

各サービスに出典バッジ(Claude / Codex / Cursor / カスタム)を表示

カスタム MCP

カスタム MCP サービス(stdio または sse タイプ)の追加をサポート。~/.dsh/mcp-sync/custom.json に保存

設定統合

設定ページで同期オプション(ソースの有効/無効、重複除去ポリシーなど)を設定

リアルタイム更新

手動更新をサポートし、設定ファイルの変更を自動検出して更新

Related MCP server: 1mcpserver

データソース

ソース

設定パス

形式

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

JSON

動作原理

  • サーバーサイドlib/index.jslib/sources.js + lib/routes.js):3つのソースの MCP 設定ファイルをスキャンし、JSON/TOML 形式を解析、(mtime) でキャッシュ。GET /api/dsh-mcp-sync/* でステータス、サービス一覧、生設定の3つの読み取り専用インターフェースを提供。

  • 重複除去ロジックcommand + args(stdio タイプ)または url(sse タイプ)でフィンガープリントを生成。同一フィンガープリントのサービスは1つにまとめ、すべての出典を保持。

  • ブラウザサイドlib/client.js、ゼロビルド手書き ModuleLoader ファクトリ):dsh-better-sidebar のタブとして登録。重複除去後の MCP サービス一覧を表示し、ソースによるフィルタリングと検索をサポート。

インストール

# 从 npm 安装(推荐)
dsh plugin --profile web add dsh-mcp-sync

# 重启 dsh web 生效

dsh plugin は、dsh.bundle を宣言したパッケージを自動的にプロファイルの dsh.profile.bundles に追加します。

依存関係

dsh-better-sidebar プラグイン(サイドバータブシステムを提供)が必要です。

設定

デフォルトで設定不要で使用可能。調整が必要な場合は、プロファイルの 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)

ルート

説明

GET /api/dsh-mcp-sync/status

各ソースの可用性 / サービス数 / 最終同期時刻

GET /api/dsh-mcp-sync/servers?source=

重複除去後の MCP サービス一覧(ソースでフィルタリング可能)

GET /api/dsh-mcp-sync/config?source=

各ソースの生設定ファイルの内容

GET /api/dsh-mcp-sync/custom

カスタム MCP サービス一覧

POST /api/dsh-mcp-sync/custom

カスタム MCP サービスを追加(body: {name, config}

DELETE /api/dsh-mcp-sync/custom?name=

カスタム MCP サービスを削除

開発

node --check lib/index.js lib/sources.js lib/routes.js lib/client.js

ライセンス

MIT

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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