DeepSeek Harness
DeepSeek Harness (dsh) loads
plugins as bundles: a package whose manifest declares a Loader patch that
inserts plugin rows. The dsh-webrain bundle inserts one
@deepseek-ai/dsh-mcp-client row that spawns webrain mcp over stdio, so every
webrain tool reaches the agent as mcp__webrain__<tool> — the same tools, and
the same 19-tool surface, that webrain exposes to any other MCP client.
The bundle lives in
integrations/dsh-webrain.
Requirements
- A DeepSeek Harness profile. Every shipped profile already provides
@deepseek-ai/dsh-mcp-client. - The
webrainbinary on thePATHof the process that starts the harness —webrain --versionmust work there. Install it withscoop install webrain(Windows),brew install prokopis3/webrain/webrain(macOS), or a binary from Releases. - A browser engine, once:
webrain installdownloads Chrome for Testing into webrain’s engine cache. Without it the tool list is complete but navigation fails with an engine error.webrain doctordiagnoses the install. pnpmavailable to the harness process, because every third-party dsh plugin is installed with it. A Git subdirectory install additionally needs pnpm 11 or newer.
Install
In the Web UI: Plugins → Add plugin, paste a spec from below or choose the bundle directory. From the@ixnk scope on the npm registry (the Publish dsh-webrain
workflow publishes the package at each release tag):
:: form because pnpm 11 rejects the &path: spelling its own docs show;
pnpm 11 or newer is required either way:
dsh plugin forwards its arguments to pnpm, so the verb is add. A live
profile (patchReload: live) picks the bundle up without a restart.
What appears
- A bundle card named webrain browser tools, with its own icon and the
plugin name
webrain. - One enabled row titled MCP client (row id
webrain-mcp,serverName: webrain).@deepseek-ai/dsh-mcp-clientowns the row’s title and generic artwork; the webrain icon belongs to the bundle card. - The tools
mcp__webrain__webrain_navigate,mcp__webrain__webrain_extract,mcp__webrain__webrain_batch,mcp__webrain__webrain_observe,mcp__webrain__webrain_guide, and the rest of webrain’s 19-tool surface. The decision rules live in thewebrain_guidetool, not in the prompt.
Verify
- Plugins shows the webrain browser tools bundle and one enabled MCP client row.
-
Ask the agent to call
mcp__webrain__webrain_guide. It returns the browser/challenge/extraction decision guide. -
Then a real task:
Call
mcp__webrain__webrain_guide, then openhttps://example.comand extract the heading.
Configure
The bundle inserts a row with idwebrain-mcp. Override it with an
id-targeted patch in the profile’s cordis.patch.yml
($DSH_HOME/profiles/<profile>/cordis.patch.yml); a patch replaces config
wholly, so restate every field the row needs:
command matters on macOS when the harness is launched from
Finder: a GUI process sees a minimal PATH, so a Homebrew webrain is
invisible.
The bundle starts webrain with WEBRAIN_STEALTH_NOISE=0: the fingerprint-noise
block is off, the same choice webrain chat --serve makes for itself. It is the
documented fix for a page that renders but never mounts (an SPA grid stays empty
while a hand-opened tab of the same URL works). Set it to '1' to restore the
noise shim, for example to reproduce a stealth-related report.
One serverName can be registered once per scope. If you also kept a
hand-written webrain MCP entry (for example the HTTP form,
webrain mcp --http 9223), disable or remove it — otherwise the bundle’s row
fails with mcp-client: serverName "webrain" is already in use by another mcp-client instance.
Troubleshooting
Related
- MCP Server — transports and the raw client config every other editor uses
- Agent Decision Guide — which webrain tool for which task
- Browser selection — real Chrome vs obscura vs lightpanda

