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 기준으로 중복 제거, 동일 서비스는 한 번만 표시하고 출처 표시

중앙 표시

사이드바 '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): 세 소스의 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 plugindsh.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 전용)

라우트

설명

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

License

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