dsh-mcp-tavily: Connecting DSH Web Search to Tavily and Bridging Remote MCP

Introduction

When performing tasks that require real-time information in DeepSeek Harness (DSH), the model typically calls the built-in web_search. According to the plugin README, this path goes through DeepSeek’s own search endpoint: each retrieval counts as a complete auxiliary model request, billed to your DeepSeek account by token. If you prefer to use Tavily’s quota for “everyday research” while also needing capabilities like site crawling, site mapping, and multi-source research, you need to connect the harness’s search seam with Tavily’s remote MCP.

The following introduces the community plugin dsh-mcp-tavily (maintainer wjh-ux), which combines the above two things into a plugin bundle under a web profile: no local service required, no npx needed, no build steps required.

What Is This

dsh-mcp-tavily is positioned as: providing Tavily web search for DSH and bridging Tavily-hosted remote MCP servers within the harness.

The two halves are divided as follows:

  1. Search supply: The built-in tool name remains web_search, with no change to the model-facing interface; actual responses are provided by the Tavily API.
  2. MCP bridging: Additionally mounts Tavily’s remote MCP, exposing tools like crawl, map, research, etc.

API Keys are entered in a small card in the DSH plugin panel; keys are written to the credentials plane (TAVILY_API_KEY), not to the repository or regular settings files. Outbound traffic is HTTPS only: remote MCP is at https://mcp.tavily.com/mcp/, and search goes through api.tavily.com (subject to Tavily’s terms of service).

The plugin is categorized as a web tool; source code and documentation are at GitHub repository, and the community directory entry is at skillhub.cn. The DeepSeek Harness community plugin directory is an independent site with no official affiliation with DeepSeek / High-Flyer.

Core Features

Built-in web_search switched to Tavily

The model continues to call the familiar web_search; the plugin directs the implementation to Tavily through the ctx.web search-provider seam. After configuring a valid API Key, everyday searches can consume Tavily’s free tier quota (README states 1,000 credits/month); when not configured, Tavily’s keyless mode is still available (rate-limited, with a subset of capabilities as described below).

New MCP Tools

In addition to the built-in web_search, the bundle also registers tools with the mcp__tavily__ prefix (actual names subject to what the harness displays):

Tool Function
mcp__tavily__tavily_search Web search; supports include_domains, exclude_domains, time_range, search_depth: advanced, etc.
mcp__tavily__tavily_extract Extract readable content from a given URL (markdown / text)
mcp__tavily__tavily_map List site URL structure
mcp__tavily__tavily_crawl Crawl entire site and extract content
mcp__tavily__tavily_research Multi-source in-depth research report

When the remote MCP exposes resources, you can also use them in conjunction with the harness’s list_mcp_resources / read_mcp_resource.

Key Resolution and Activation Timing

Keys are resolved in the same order (shared by both halves):

  1. apiKey explicitly provided in plugin config (if configured in the settings surface);
  2. The item pointed to by apiKeyEnv in the credentials plane (default TAVILY_API_KEY);
  3. The same-named variable in the process environment;
  4. Otherwise, enter Tavily keyless mode.

Activation timing (from README):

  • The built-in web_search re-resolves the key on every request; saving in the card takes effect immediately.
  • MCP tools fix the Authorization header at client mount time; newly saved keys in the card require restarting dsh to take effect for MCP tools.

When no key is configured at all, both halves can still work via keyless mode, but the README states keyless only supports search and extract, not including crawl / map / research, and with lower rate limits.

Installation and Activation

Recommended to install from GitHub to the web profile:

dsh plugin --profile web add github:wjh-ux/dsh-mcp-tavily

If using a local checkout, you can install via link (change the path to the absolute path on your machine):

dsh plugin --profile web add link:/absolute/path/to/dsh-mcp-tavily

The bundle and patches are resolved at startup; dsh must be restarted once after installation.

Open the card in the plugin panel Plugins → dsh-mcp-tavily (also accessible from the Configure button on the corresponding row), fill in the Tavily API Key (format tvly-...), use Save to save or Clear key to clear. The status row indicates whether the key comes from the card, credentials, or the startup environment’s read-only TAVILY_API_KEY.

If not using the card, you can set the environment variable in the shell and fully restart dsh:

# Windows
setx TAVILY_API_KEY "tvly-..."
# macOS / Linux
export TAVILY_API_KEY=tvly-...

Free keys can be applied at app.tavily.com (README: 1,000 credits/month, no credit card required). Billing details are subject to Tavily: basic search costs 1 credit, advanced costs 2 credits; beyond the free tier is billed per credit (README example is $0.008/credit, subject to change), and usage can be viewed in the same console.

Typical Usage

After installation, restart, and Key configuration, usage is divided into two layers:

  1. In-conversation retrieval: Let the model use web_search as usual; no need to change the tool name in the prompt, as the underlying response is already provided by Tavily.
  2. Explicit MCP capabilities: In tasks, let the model call mcp__tavily__tavily_search (with domain filtering or search_depth: advanced), tavily_extract (extract body text from a given URL), tavily_map / tavily_crawl (site structure or full-site crawl), tavily_research (multi-source report). These capabilities require a valid API Key; do not use crawl / map / research in keyless mode.

The README does not provide a fixed one-line CLI demo; the reproduction path is: enable web profile plugin → restart → fill in Key → describe retrieval or crawling needs in natural language in the harness session, and let the model choose the appropriate tool.

Use Cases and Notes

Who it’s for

  • Already developing agents in the DSH web environment, wanting to reduce token costs from the built-in web_search going through DeepSeek’s endpoint, and unify on Tavily for grounding.
  • Need Tavily’s extract / map / crawl / research, accept remote MCP (mcp.tavily.com), and don’t want to set up their own MCP or local npx process.

Compatibility

The README states it has been tested on dsh 0.2.0-rc.2 (Windows, @deepseek-ai/dsh-mcp-client 0.2.0-rc.2). Older dsh versions may still work with both halves of the host, but lack configuration cards supporting plugins.bundle.config and dsh.client manifest.

Security and Permissions

  • The plugin accesses Tavily outbound with the permissions of the current dsh process; review the source code and the MIT license (see package.json in the repository) before installing.
  • Keys do not go into the repository or patch URLs; prefer using the card or $DSH_HOME/.credentials.yaml (or your mounted credential store).
  • No install scripts, no compilation steps; but it is still a third-party community plugin, so evaluate in production environments in conjunction with Tavily’s terms and internal network policies.

Conclusion

dsh-mcp-tavily uses a small bundle to simultaneously replace the provider of DSH’s built-in web_search and connect to Tavily’s remote MCP, linking search, extraction, site mapping, crawling, and research through a single credentials resolution chain. If you frequently run web-connected tasks in the harness, you can install it to the web profile according to the README, fill in the Key in the panel, and use it in sessions after restart.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye