Zum Hauptinhalt springen
M

dsh-exa-mcp

microherox/dsh-exa-mcp

Bindet den gehosteten Exa-Such-MCP-Endpunkt (https://mcp.exa.ai/mcp) über die integrierte @deepseek-ai/dsh-mcp-client-Brücke ein: web_search_exa- und web_fetch_exa-Tools, anonym auf der kostenlosen Stufe oder mit Ihrem eigenen EXA_API_KEY.

Installation

dsh plugin --profile web add github:microherox/dsh-exa-mcp

README

Exa Search MCP for DeepSeek Harness

中文

License: MIT dsh-plugin stars

A third-party plugin bundle that brings Exa — neural web search and full-page fetch — into DeepSeek Harness (dsh). It mounts Exa's hosted MCP endpoint (Streamable HTTP) through the MCP client bridge shipped with dsh, and registers Exa's tools as native agent tools under the exa namespace.

mcp__exa__web_search_exa   ·  mcp__exa__web_fetch_exa
mcp__exa__web_search_advanced_exa  ·  mcp__exa__agent_run   (whitelist; agent also needs a key)
  • No third-party code in the dsh process — the upstream is Exa's official hosted endpoint.
  • Pure configuration bundle — one patch row; no build step, no runtime module.
  • Display-ready — English/Chinese titles and descriptions plus an original SVG icon for the Plugin Manager.

Quick Start

1. Install

Option A — Plugin Manager (recommended). Open Settings → Plugins → Install and use the package name, a GitHub spec, or a local directory. The CLI equivalent:

npm install -g pnpm
dsh plugin --profile web add github:MicroHEROX/dsh-exa-mcp
dsh web

If GitHub is unstable, a github: install can silently miss the bundle layer. Verify with dsh --profile web --dump-config | grep -A2 "== dsh-exa-mcp"; local link:/file: installs and --patch overlays are unaffected. The full repair procedure is in docs/SOLUTIONS.md §1.7.

Option B — One-off overlay, no install:

dsh web --patch /path/to/dsh-exa-mcp/cordis.patch.yml

Option C — Permanent without a bundle: merge the single insert block from cordis.patch.yml into $DSH_HOME/profiles/<name>/cordis.patch.yml (or $DSH_HOME/cordis.patch.yml for every profile).

Installation packs only cordis.patch.yml, locale/, icon.svg, the READMEs, and LICENSE into your runtime; docs/ stays in this repository.

2. Provide an Exa API key (optional)

The endpoint works anonymously on Exa's free tier (rate-limited, basic tools only). For higher limits and advanced tools, create an API key and set it before launching dsh:

export EXA_API_KEY="your-key"        # macOS / Linux
$env:EXA_API_KEY = "your-key"        # Windows PowerShell

The plugin attaches x-api-key only when the variable is present; otherwise it falls back to anonymous access. Never put the key into a patch file.

3. Verify

  1. Start dsh web with the bundle or overlay applied.
  2. Ask: "Use Exa to find the latest DeepSeek Harness release notes and summarize them."
  3. Confirm the model called mcp__exa__web_search_exa (with query and objective) and, if needed, mcp__exa__web_fetch_exa.

What It Does

  • Connects https://mcp.exa.ai/mcp via @deepseek-ai/dsh-mcp-client (streamable-http), the official bridge shipped with dsh.
  • Registers every tool Exa advertises as mcp__exa__<tool>; re-syncs on tools/list_changed.
  • Attaches x-api-key only when EXA_API_KEY is set — no undefined header, no credential stored on disk.
  • Uses toolCallTimeoutMs: 180000 for long research calls; reconnect behavior stays at bridge defaults.
  • Keeps failOnStartupError: false: an Exa outage does not reject plugin activation; the bridge logs and reconnects.

Limits

  • Does not host, download, or supervise an Exa server.
  • Does not implement OAuth (?login); use an API key.
  • Does not bridge MCP resources or prompts — tools only.
  • Does not manage Exa billing or store your key.
  • Does not modify the dsh installation; install/uninstall only touches $DSH_HOME/profiles/.

Configuration

GoalHow
Anonymous search + fetchDo nothing; free tier, rate-limited, 2 tools
Higher limitsSet EXA_API_KEY and restart dsh
Enable advanced searchOverride url with ?tools=web_search_exa,web_fetch_exa,web_search_advanced_exa
Enable Exa AgentAdd agent_run to ?tools= and use an API key; billing applies
Change default search typeAdd ?defaultSearchType=fast to url

Override the mcp-exa row by id from a later patch layer (no insert; config is replaced wholesale). Full fields and examples: docs/API.md §2.

Uninstall

dsh plugin --profile <name> remove dsh-exa-mcp
dsh --profile <name> --dump-config | grep -c "dsh-exa-mcp"   # expect 0

For --patch overlays, drop the flag. For a merged patch, delete the mcp-exa block. Uninstalling never touches the dsh installation or other bundles.


Version Compatibility

ComponentVersionNotes
dsh-exa-mcp0.2.0See releases
DeepSeek Harness CLIdesigned for ≥ 0.1.0-rc.5; tested on 0.2.2-rc.3Ships the @deepseek-ai/dsh-mcp-client bridge
MCP bridgeresolved from dsh; tested 0.2.2-rc.3No separate install
Exa MCP endpointserver 3.5.1 (2026-11-16)Exa-managed; tools/list is authoritative
MCP protocol2025-06-18 (negotiated)Auto-negotiated
Node.jsdsh requires ≥ 24.9Plugin itself declares no engines
PlatformWindows / macOS / LinuxConfig-only; no platform code

dsh is in developer preview. After a dsh upgrade, re-run the checks in docs/SOLUTIONS.md §4.

Security

  • The only secret is EXA_API_KEY, read from the environment at load time and sent to Exa as x-api-key; the plugin never writes it to disk.
  • No third-party code executes inside the dsh process.
  • This repository contains no keys, no local paths, and no machine-specific data.

Documentation

License

MIT. Not an official DeepSeek or Exa product.

Acknowledgements

Built for DeepSeek Harness by DeepSeek AI — the "everything is a plugin" harness built on Cordis. Powered by:

Ähnliche Plugins