返回目录
模型与 MCP 待识别

deepseek_harness

rukazax/deepseek_harness

DeepSeek Harness plugins: MCP client + Sarex and Yandex Mail MCP servers. Bilingual RU/EN docs, diagrams, DSH-compatible packaging.

Stars
0
Forks
0
Issues
0
更新
6 天前

PROJECT TOPICS

项目标签

PROJECT README

README

DeepSeek Harness · Plugins

DeepSeek Harness plugins

license node python dsh languages

RU · English


О проекте

Репозиторий плагинов и MCP-серверов для DeepSeek Harness (DSH). Каждый пакет оформлен по правилам DSH: package.json с секцией dsh.bundle, cordis.patch.yml, документация, тестовый стенд, лицензия.

Комплект решает прикладную задачу: подключить к DSH внешние системы (Sarex, Яндекс.Почта, GitHub) через MCP-протокол и дать агентам единый, предсказуемый доступ к ним — без ручных скриптов на каждый случай.

Состав

Пакет Назначение Стек
dsh-mcp-client MCP-клиент для DSH: запускает MCP-серверы и регистрирует их инструменты как родные инструменты DSH Node.js (ESM)
mcp-sarex MCP-сервер Sarex: Keycloak-авторизация, уведомления, произвольные запросы к API, интерактивный вход с 2FA Python 3.12
mcp-yandex-mail MCP-сервер Яндекс.Почты: статус, папки, быстрый поиск по заголовкам, чтение, вложения, отправка Python 3.12
mcp-github-universal Универсальный доступ к GitHub по MCP: официальный удалённый сервер GitHub (репозитории, issues, PR, Actions, code security) + локальный Git-сервер Удалённый MCP + Python 3.12 (venv)
dsh-memory-hub Общая память всех чатов и workspace: векторный recall, кэш задач, авто-рутины, Obsidian, профиль стиля, недельный анализ Node.js 22 (node:sqlite)
mcp-cua Computer use для Windows: окна, UIA-дерево, скриншоты, клики и ввод через Cua Driver 0.28.0 Node.js (ESM)
dsh-locale-ru Русский язык веб-интерфейса: пункт «Русский» в настройках и словари для всех клиентских пакетов, откат ru → en Node.js (ESM), без сборки
dsh-auto-translate Опциональный автоперевод всех окон и страниц DSH сторонними сервисами в браузере, по умолчанию выключен: MyMemory/Google/Lingva без ключа, DeepL по ключу; выключение возвращает оригиналы; ноль токенов модели Node.js (ESM), без сборки
dsh-sync Двусторонняя синхронизация истории сессий DSH между Windows-установкой и Linux-инстансом: sha256, конвертация cwd в заголовке, push/pull, бэкапы конфликтов. Утилита, а не плагин: cordis.patch.yml не требуется PowerShell 5.1 + Node.js 22
dsh-profile-doctor Профиль DSH отдельно от ядра: находит копии официальных пакетов, устаревшие исключения совместимости и несовместимые плагины, чинит их — обновление ядра больше не ломает старт. Инструмент, а не плагин Node.js 22 (ESM)

Архитектура

Архитектура

flowchart LR
    U[Пользователь] --> DSH[DeepSeek Harness]
    DSH --> P[dsh-mcp-client]
    P -->|stdio JSON-RPC| S1[mcp-sarex]
    P -->|stdio JSON-RPC| S2[mcp-yandex-mail]
    P -->|streamable-http + PAT| S3[mcp-github-universal]
    S1 --> KC[Keycloak SSO<br/>realm sarex]
    S1 --> API[Sarex API]
    S2 --> IMAP[IMAP imap.yandex.ru]
    S2 --> SMTP[SMTP smtp.yandex.ru]
    S3 --> GH[GitHub API: repos · issues · PR · Actions]
    S3 --> LG[Локальный git: commit · diff · ветки]
    DSH --> MEM[dsh-memory-hub]
    MEM --> RU2[node:sqlite · вектор+BM25]
    MEM --> OBS[Obsidian vault · Факты и рутины]

Быстрый старт

1. Плагин MCP-клиента

# 1) скопировать пакет в профиль DSH
cp -r packages/dsh-mcp-client ~/.dsh/profiles/desktop/node_modules/dsh-mcp-client

# 2) добавить в профиль: package.json → dsh.profile.bundles, затем перезапустить DSH

В DSH появятся инструменты с префиксами sarex__*, mail__*, github__* и git__*.

2. MCP-серверы (отдельно от DSH)

python packages/mcp-sarex/server.py            # Sarex MCP (stdio)
python packages/mcp-yandex-mail/server.py      # Яндекс.Почта MCP (stdio)

Подключение в MCP-клиентах — см. README пакета.

Схемы и документация

Правила

  1. Плагины разрабатываются по контракту DSH: package.json → dsh.bundle.patch, cordis.patch.yml, README.
  2. Каждый пакет автономен: не тянет зависимости хоста без необходимости, не хранит секреты в коде.
  3. Все новые плагины, настройки и правила публикуются в этот репозиторий автоматически — вместе с ранее созданными, которые дополняются и поддерживаются — без отдельного запроса и подтверждения.
  4. Документация — двуязычная (RU/EN), в стиле GitHub: заголовки, таблицы, схемы, примеры команд; текст — человеческим языком, эмодзи — умеренно.
  5. Секреты — только в защищённом хранилище (_secrets), не в репозитории.

Безопасность

  • Учётные данные читаются из локального защищённого файла, который не коммитится.
  • Записывающие операции MCP-инструментов требуют явного confirm=true.
  • 2FA Sarex: API-токен выдаётся Keycloak без push-подтверждения; интерактивный вход — с подтверждением на телефоне.

Лицензия

MIT © 2026 rukazax


English

Repository of DeepSeek Harness (DSH) plugins and MCP servers. Every package follows DSH conventions: package.json with dsh.bundle, cordis.patch.yml, documentation, test harness, license.

The kit connects DSH to external systems (Sarex, Yandex Mail, GitHub) through MCP and gives agents a single, predictable access path — no ad-hoc scripts per task.

Package Purpose Stack
dsh-mcp-client MCP client for DSH: spawns MCP servers and registers their tools as native DSH tools Node.js (ESM)
mcp-sarex Sarex MCP server: Keycloak auth, notifications, generic API requests, interactive 2FA login Python 3.12
mcp-yandex-mail Yandex Mail MCP server: status, folders, fast header search, read, attachments, send Python 3.12
mcp-github-universal Universal GitHub access over MCP: the official remote GitHub server (repositories, issues, PRs, Actions, code security) + a local Git server Remote MCP + Python 3.12 (venv)
dsh-memory-hub Shared memory of all chats and workspaces: vector recall, task cache, auto-routines, Obsidian, style profile, weekly analysis Node.js 22 (node:sqlite)
mcp-cua Computer use for Windows: windows, UIA tree, screenshots, clicks and typing through Cua Driver 0.28.0 Node.js (ESM)
dsh-locale-ru Russian language for the web UI: a «Русский» entry in settings plus dictionaries for every client package, ru → en fallback Node.js (ESM), no build step
dsh-auto-translate Optional browser-side auto-translation of any window or page of DSH through third-party services, off by default: keyless MyMemory/Google/Lingva, DeepL with a key; switching off restores originals; zero model tokens Node.js (ESM), no build step
dsh-sync Two-way sync of DSH session history between a Windows install and a Linux instance: sha256, header cwd conversion, push/pull, conflict backups. A utility, not a plugin: no cordis.patch.yml needed PowerShell 5.1 + Node.js 22
dsh-profile-doctor Keeps a DSH profile isolated from the core: finds copies of official packages, stale compatibility exemptions and incompatible plugins, repairs them — a core update no longer breaks startup. A tool, not a plugin Node.js 22 (ESM)
flowchart LR
    U[User] --> DSH[DeepSeek Harness]
    DSH --> P[dsh-mcp-client]
    P -->|stdio JSON-RPC| S1[mcp-sarex]
    P -->|stdio JSON-RPC| S2[mcp-yandex-mail]
    P -->|streamable-http + PAT| S3[mcp-github-universal]
    S1 --> KC[Keycloak SSO]
    S1 --> API[Sarex API]
    S2 --> IMAP[IMAP]
    S2 --> SMTP[SMTP]
    S3 --> GH[GitHub API: repos · issues · PR · Actions]
    S3 --> LG[Local git: commit · diff · branches]
    DSH --> MEM[dsh-memory-hub]
    MEM --> RU2[node:sqlite · vector+BM25]
    MEM --> OBS[Obsidian vault · facts and routines]

Diagrams and documentation

Quick start

cp -r packages/dsh-mcp-client ~/.dsh/profiles/desktop/node_modules/dsh-mcp-client
# add "dsh-mcp-client" to dsh.profile.bundles in package.json, restart DSH
python packages/mcp-sarex/server.py
python packages/mcp-yandex-mail/server.py

Rules

  1. Plugins follow the DSH contract (dsh.bundle.patch, cordis.patch.yml, README).
  2. Every package is self-contained and keeps secrets out of code.
  3. New plugins, settings and rules are published to this repository automatically — together with previously created ones, which are backfilled and maintained — without a separate request or confirmation.
  4. Documentation is bilingual (RU/EN) in GitHub style: headings, tables, diagrams, command examples; the text is human-readable, emojis are used sparingly.
  5. Secrets live only in the local protected store (_secrets), never in the repository.

Security

  • Credentials are read from a local protected file that is never committed.
  • MCP write operations require explicit confirm=true.
  • Sarex 2FA: the API token is issued by Keycloak without a push prompt; interactive login requires phone approval.

License

MIT © 2026 rukazax

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: mcp、model-context-protocol、deepseek-harness。