DSH Plugins Marketplace

DSH Plugins

Plugins

/

Security & Audit

/

dsh-context7-mcp

N

dsh-context7-mcp

Identified★ 1

Connect Context7 hosted MCP server to DeepSeek Harness

dsh-context7-mcp

CI npm License: MIT Node >=22.19 dsh topic: dsh-plugin powered by dsh

Third-party community plugin for DeepSeek Harness. Not an official DeepSeek or Context7 product. MIT licensed.

English | 中文

Connects Context7's hosted MCP server and registers the tools that server publishes. At release time those tools are resolve-library-id and query-docs. They show up as mcp__context7__*.

What it does

The agent can fetch current, version-specific library documentation without a local npx process. The plugin hands a Streamable HTTP connection to the built-in @deepseek-ai/dsh-mcp-client.

Context7 accepts anonymous calls at a lower rate limit. For a higher limit, create a key at context7.com/dashboard and save it as the CONTEXT7_API_KEY credential. The key is not stored in cordis.patch.yml. Saving or clearing the credential reconnects.

How it works

  1. Resolve apiKeyEnv (default CONTEXT7_API_KEY) through ctx.credentials. The store wins over the process environment. An empty value is not an error.
  2. Call https://mcp.context7.com/mcp. When a key is present it is sent only as Authorization: Bearer. It is never placed in the URL.
  3. Mount one @deepseek-ai/dsh-mcp-client child. Tool names, schemas, and results come from the server. This package does not reimplement them.
  4. When credentials/reference-updated fires for the same credential name, dispose that child and connect again.

Each tool call times out after 60 seconds. A dropped connection uses the MCP client's own reconnect policy.

Ask for docs the way Context7 expects: name the library, or pass a Context7 id such as /vercel/next.js. The agent should call resolve-library-id first unless the id is already known, then query-docs.

Install

From this checkout:

dsh plugin --profile web add D:\tools\dsh-plugins\dsh-context7-mcp

After the package is published:

dsh plugin --profile web add dsh-context7-mcp

The package declares dsh.bundle.patch, so dsh plugin add writes the bundle into the profile. Restart DeepSeek Harness if the tools do not appear in the current session.

CONTEXT7_API_KEY is optional. Set it in this plugin's settings, or export the same name in the environment that launches DeepSeek Harness.

Configuration

FieldDefaultMeaning
apiKeyEnvCONTEXT7_API_KEYCredential reference. The value is not kept in this config. Empty means anonymous access.
urlhttps://mcp.context7.com/mcpRemote MCP endpoint. http and https only. No user info, and no API key in the query string.
serverNamecontext7Namespace for tool names: mcp__<serverName>__<tool>. Must match [A-Za-z0-9_-]{1,32} and be unique among MCP clients in the same scope.

Example profile override. A later patch replaces the whole config object, so repeat every field you still want:

- id: context7-mcp
  config:
    apiKeyEnv: CONTEXT7_API_KEY
    url: https://mcp.context7.com/mcp
    serverName: context7

The Cordis row id is context7-mcp. The package name is dsh-context7-mcp.

Security

  • A saved key is sent only to the configured endpoint, as an Authorization header.
  • The key is not written into cordis.patch.yml or into this plugin's own log lines. Client errors are redacted when they contain the resolved key.
  • Library names and documentation questions are sent to Context7.
  • The plugin does not spawn a process and does not read the credentials file directly.

See SECURITY.md.

Compatibility

ItemValue
dsh>=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-0 <0.3.0-0
Node>=22.19.0
Verified ondsh 0.2.2-rc.1
Serverhttps://mcp.context7.com/mcp
Requirescredentials, tools, and the shipped @deepseek-ai/dsh-mcp-client

Display metadata is locale/en.json, locale/zh.json, and icon.svg. There is no Web UI and no build step.

Uninstall

dsh plugin --profile <name> remove dsh-context7-mcp

Removing the plugin disconnects the MCP server and unregisters its tools. It does not delete the CONTEXT7_API_KEY credential. Nothing else is stored on disk by this package.

Troubleshooting

No mcp__context7__* tools. The server rejected the connection, or another MCP client already reserved serverName context7. The plugin log says which case it hit and does not print the key.

Calls return 429. The anonymous rate limit was hit. Save CONTEXT7_API_KEY and wait for the reconnect.

serverName is already in use. Pick another serverName in config. That also changes the public tool names.

A call times out. The limit is 60 seconds per call and is not a config field in 0.1.0.

Development

node --test test/*.test.js
node --check src/index.js && node --check src/connection.js
npm run check:pack
src/connection.js  pure endpoint, header, and redaction helpers (unit-tested, no network)
src/index.js       Cordis plugin: resolve the credential and mount dsh-mcp-client
locale/            display metadata (en, zh)
test/              node:test suites, including packaging invariants

Comments

Loading…

From the same category

dsh-infinite-gen-3

System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status bad

Security & AuditManifest valid

★ 3.3k

MIT

C#

dsh plugin --profile web add dsh-infinite-gen-4

by ADWMC

DeepSeek Harness 破甲一体化安全分析插件:Android · Web · Native · Protocol · Malware · AI-Security 全领域聚合(9 bundle + 1 preset)

Security & AuditManifest valid

★ 1.1k

MIT

Python

Nov 4, 2026

Index only — not installable

by toby-bridges

Local security audit for AI API relays and LLM proxies: detects prompt injection, model substitution, tool-call rewriting, SSE anomalies, error leakage, and Web3 wallet risks.

Security & AuditManifest valid

★ 907

↓ 333/wk

AGPL-3.0

Python

Oct 27, 2026

dsh plugin --profile agent add dsh-api-relay-audit

by SeaOf0

基于dsh web实现的多种模式,目的是服务于redteam进行授权的安全研究,覆盖渗透测试、红队评估、代码审计等范围领域,请勿用于非法行为。(允许二开,赋予模块各位自己的业务逻辑,方法论只有自己熟练的才好用,好的方法论=好的生态)

Security & AuditManifest valid

★ 842

MIT

Python

Oct 27, 2026

dsh plugin --profile web add @dsh-external/dsh-redteam-model

by agentic-os-org

ANOLISA (Agentic Nexus Operating Layer & Interface System Architecture) | Agentic OS with runtime, security, observability, and Tokenless response compression for lower token usage and cost.

Security & Audit

★ 660

Apache-2.0

Rust

Nov 7, 2026

Index only — not installable

by howmp

面向 DeepSeek Harness(dsh)的渗透测试模式 @CloverSecLabs

Security & AuditManifest valid

★ 617

↓ 773/wk

NOASSERTION

JavaScript

Oct 9, 2026

dsh plugin --profile web add @howmp/dsh-pentest