Vai al contenuto principale
F

dsh-scrapling-mcp

foolfu86/dsh-scrapling-mcp

A configuration-only DSH bundle that connects the MCP server shipped with Scrapling to DeepSeek Harness over stdio, exposing its HTTP fetch and stealth-browser scraping tools for page extraction, browser actions, screenshots and network inspection. Requires Python 3.10+ with scrapling\[ai] (scrapling-mcp on PATH) and a Chromium-compatible browser (scrapling install).

Installazione

dsh plugin --profile web add github:foolfu86/dsh-scrapling-mcp

README

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-mcp console script on your PATH; cordis.patch.yml calls 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

GroupTools
HTTP (no JS)make_request, open_request_session, session_make_request
One-shot browserbrowser_fetch_once
Browser sessionsbrowser_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
Housekeepinglist_sessions, close_session

Files

  • cordis.patch.yml — inserts the MCP client entry scrapling-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.

Plugin correlati