dsh-scrapling-mcp
foolfu86/dsh-scrapling-mcp
纯配置型 DSH bundle,通过 stdio 把 Scrapling 自带的 MCP 服务器接入 DeepSeek Harness,暴露其 HTTP 抓取与隐身浏览器抓取工具,用于页面提取、浏览器操作、截图与网络请求检查。需要 Python 3.10+ 装好 scrapling\[ai](scrapling-mcp 在 PATH 上)以及 Chromium 兼容浏览器(scrapling install)。
安装
dsh plugin --profile web add github:foolfu86/dsh-scrapling-mcpREADME
Scrapling MCP bundle for DeepSeek Harness
Wraps the MCP server that ships with Scrapling so the agent gets Scrapling's HTTP fetch and stealth-browser scraping tools in every session.
This bundle contains no runtime code of its own — it only inserts the generic MCP client
(@deepseek-ai/dsh-mcp-client) pointed at the scrapling-mcp console script over stdio.
It has no build step and no npm dependencies of its own.
Host prerequisites
-
Python 3.10+ with
scrapling[ai](the extras pull in the MCP server dependencies):pip install "scrapling[ai]"This puts the
scrapling-mcpconsole script on yourPATH;cordis.patch.ymlcalls it by name, so no absolute path has to be edited. -
A Chromium-compatible browser. Install one with Scrapling's own downloader:
scrapling install
failOnStartupError: false means the harness starts normally even when scrapling-mcp or
Chromium is not available yet; the tools simply become available once the prerequisites are
installed and the entry is reloaded.
What it adds
| Group | Tools |
|---|---|
| HTTP (no JS) | make_request, open_request_session, session_make_request |
| One-shot browser | browser_fetch_once |
| Browser sessions | browser_open, browser_fetch, browser_extract, browser_actions, browser_evaluate, browser_screenshot, browser_observe, browser_network_requests, browser_network_request, browser_save_state, browser_load_state |
| Housekeeping | list_sessions, close_session |
Files
cordis.patch.yml— inserts the MCP client entryscrapling-mcp(stdio transport).package.json— bundle metadata (dsh.bundle.patch, exported locale + icon).locale/en.json,locale/zh.json— plugin inventory title/description.icon.svg— inventory icon.
Install
Add the bundle from GitHub with the harness plugin manager:
dsh plugin add github:foolfu86/dsh-scrapling-mcp
To pin it to a specific profile (recommended, so you can verify the config without booting the app):
dsh plugin --profile desktop add github:foolfu86/dsh-scrapling-mcp
Use whichever profile name you want the tools available in (for example demo for a throwaway
test profile). Verify the config without booting the app:
dsh --profile desktop --dump-config
Remove it again with:
dsh plugin --profile desktop remove dsh-scrapling-mcp
You can also install through the agent tool plugin_manager (action install_bundle) or the
desktop plugin page, pointing at this directory. The MCP client is configured at entry load
time, so after editing cordis.patch.yml disable and re-enable the entry (or restart the app).
Portability
cordis.patch.yml contains no host-specific paths: it calls scrapling-mcp from PATH and
lets Scrapling find its own Chromium installation. Install the prerequisites on the target
machine and the same bundle works unchanged.