DeepSeek Harness 插件

littleblakew/msds-chain-mcp#dsh

Star 数 ★ 0 分类 工具与能力 收录于 2026-08-17

通过托管的 MSDS Chain MCP 端点接入化学品安全数据:23 个工具覆盖相容性与投料顺序、GHS 危害、PPE、储存、废弃处置、职业接触限值、运输分类、多法域合规、SDS 查询与版本比对、签名审计报告;每条回答都标注其依据的供应商 SDS 与版本日期。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:littleblakew/msds-chain-mcp#path:/plugins/dsh

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Chemical safety intelligence for DeepSeek Harness. This bundle mounts the hosted MSDS Chain MCP endpoint through the in-box @deepseek-ai/dsh-mcp-client bridge — no server to run locally.

MCP tools covering compatibility and mixing-order checks, GHS hazard analysis, PPE recommendations, storage and waste-disposal guidance, occupational exposure limits, transport classification, multi-region regulatory compliance (EU/US/CN/JP/KR/CA/AU/TW/SG), safer alternatives, protocol text parsing, SDS section lookup and version diffs, and signed audit reports. Every answer cites the supplier SDS and revision date it is grounded in.

Install

dsh plugin --profile web add github:littleblakew/msds-chain-mcp#path:/plugins/dsh

Configure

An API key is required — there is no anonymous tier on this endpoint. Create one at msdschain.lagentbot.com → API Keys (free plan available), then:

export MSDS_API_KEY=sk-msds-your-key

Start dsh with that variable set. The tools register on ctx.tools under the msds-chain namespace, so the model sees mcp__msds-chain__ask_chemical_safety, mcp__msds-chain__check_chemical_compatibility, and so on.

Verifying it loaded

⚠️ A missing or invalid key fails silently. The endpoint answers 401, no tools register, and dsh prints nothing to the console — the harness starts normally and the model simply has no mcp__msds-chain__* tools. (Measured against dsh 0.1.0-rc.6.)

So check the key itself rather than watching for an error:

curl -s -o /dev/null -w '%{http_code}\n' -X POST https://mcp.lagentbot.com/mcp \
  -H "Authorization: Bearer $MSDS_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"probe","version":"0"}}}'

200 means the key works; 401 means it does not.

This bundle deliberately leaves failOnStartupError at its default (false). Setting it to true does surface the 401 loudly — but it aborts the whole plugin tree, so dsh refuses to boot at all. A chemical-safety plugin should not be able to take down your harness because our endpoint had a bad minute.

Which tool to use

For a broad safety question — hazards, PPE, first aid, spill response, storage, disposal — call ask_chemical_safety. It returns one answer grounded in a specific supplier SDS. The granular tools are for when you want that one structured field.

Self-hosting

To point at your own core instead of the hosted endpoint, override the row from a later layer (profile cordis.patch.yml or --patch) — see the comment block in cordis.patch.yml.

Links

MIT licensed.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。