跳到正文
dsh-market 浏览插件 GitHub EN

Vladimir-Human/ru-marketplace-mcp#dsh

面向十一家电商平台的技能与可选 MCP 行:跨 Wildberries、Detsky Mir、Yandex Market 比价,以及各平台(含 Ozon、Avito、AliExpress)的搜索、商品卡与评论。安装后 14 个技能立即可用;两行 MCP 默认关闭,需将 RU_MARKETPLACE_MCP_DIR 指向本地克隆,该克隆需要 Python 3.12+ 与 uv。

Star 数 ★ 127 分类 技能包 收录于 2026-08-16

安装

在 DeepSeek Harness 里通过 dsh-market 安装

dsh plugin --profile web add dshmarket

或使用命令行

dsh plugin --profile web add github:Vladimir-Human/ru-marketplace-mcp#path:/dsh

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络。请先审阅源码,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Read-only MCP servers for Russian marketplaces: prices, stock, ratings, reviews and cross-marketplace price comparison. This bundle ships 15 Agent Skills plus three mutually exclusive MCP server rows that are off by default.

Why off by default

An MCP row that is always mounted is paid on every request, because the harness registers the schema of every tool in the session context. Measured over the stdio MCP wire with scripts/mcp_wire.py:

Mode Cost while mounted Model-facing tools
Skills only (default) 15 skill catalog entries; no MCP schemas 0
compare-mcp (recommended) ~1.8k tokens per request 4
decision-mcp (shortlist inspection) ~2.1k tokens per request 5
marketplace-mcp (full) ~16.3k tokens per request 40

The 11 *_selfcheck tools that previously inflated the full server to 45 tools are now CLI-only (marketplace-mcp doctor); only model-facing tools are published over MCP.

Requirements

  • DeepSeek Harness (dsh)
  • Python ≥ 3.12
  • uv
  • A local clone of this repository (the MCP rows launch it with uv run --directory <clone>)

Install (three steps)

  1. Add the bundle to a profile (web is the profile dsh ships with a UI; use whichever profile you actually run — a bare profile that dsh auto-creates on first use carries no app and cannot be launched):

    dsh plugin --profile web add github:Vladimir-Human/ru-marketplace-mcp#path:/dsh
    

    The 15 skills appear immediately. No MCP server starts yet.

  2. Clone the server and install its locked environment once:

    git clone https://github.com/Vladimir-Human/ru-marketplace-mcp.git
    cd ru-marketplace-mcp
    uv sync --frozen
    
  3. Set the gate/path variable so the profile can find the clone and restart the profile. On Windows PowerShell:

    $env:RU_MARKETPLACE_MCP_DIR = "C:\path\to\ru-marketplace-mcp"
    

    On POSIX shells:

    export RU_MARKETPLACE_MCP_DIR=/path/to/ru-marketplace-mcp
    

    With only RU_MARKETPLACE_MCP_DIR set, the recommended compare mode activates: compare_prices, compare_sources, compare_verify_offer, and compare_browser_snapshot (under the client's rumarket namespace).

Middle profile and native vision

Set RU_MARKETPLACE_MCP_DECISION=1 to add decision_inspect without mounting every source tool. If both decision and full flags are set, full wins. Only one MCP row is active: full, otherwise decision, otherwise compare.

With CHROME_CHALLENGE_HANDOFF_S=120, supported DOM challenges can retain their owned browser tab. A client/model that accepts MCP images can call compare_browser_snapshot(handoff_id) using the handle in the error or comparison outcome. It receives a bounded JPEG viewport and capture metadata directly; no separate OCR model or service is invoked. The handle only works in the same MCP session and does not extend expiry. Text-only clients should skip this tool.

Enabling the full server

Set one more variable before starting dsh:

$env:RU_MARKETPLACE_MCP_FULL = "1"   # PowerShell
export RU_MARKETPLACE_MCP_FULL=1     # POSIX shell

The enabled row then changes from compare-mcp (4 tools) to marketplace-mcp (40 tools). All three rows share serverName: rumarket, and their disabled conditions are mutually exclusive, so exactly one server instance runs at a time.

Uninstall

Remove the bundle from the profile and restart it:

dsh plugin --profile web remove ru-marketplace-mcp-dsh

No MCP process survives profile restart without RU_MARKETPLACE_MCP_DIR.

Docker alternative (published and CI-verified)

Since v1.8.0 every release tag builds a stdio image and proves it with a real MCP session over docker run --rm -i before publishing to the MCP Registry: initialize, tools/list and a marketplace_sources call. Use the published GHCR image instead of a local clone:

- id: ru-marketplace-docker
  name: '@deepseek-ai/dsh-mcp-client'
  disabled: false
  config:
    serverName: rumarket
    transport: stdio
    command: docker
    args:
      - run
      - --rm
      - -i
      - ghcr.io/vladimir-human/ru-marketplace-mcp:2.4.2
    failOnStartupError: false

The image defaults to the unified server. Its tool set matches that release tag; unreleased tools in this source checkout are not present in older images.

Source

Main repository: https://github.com/Vladimir-Human/ru-marketplace-mcp

内容来自项目 README(GitHub)↗

评论

评论存放在 GitHub Discussions。用 GitHub 账号登录后可发表评论或点表情。