在 DeepSeek Harness 中使用 qvasp:技能包收录 qvasp(VASP 前后处理工具)全部 88 条命令的用法与坑,MCP 服务端可运行 qvasp 命令、执行 10 个标准多阶段工作流(弛豫、能带、DOS、声子、光学、弹性、MD、表面、虚频修复)、用 spglib 做结构核查、抽取并交叉核对计算结果、生成报告——流程标准化,常规计算更省 token 也更不易出错。
安装
# npm 包(预构建)
dsh plugin --profile web add qvasp-skill
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:Chaosheng-yiwc/qvasp-skill
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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 只有英文版本。
qvasp toolkit for DeepSeek Harness: a skill pack (88-command reference, standard workflows, verified pitfalls, a VASP failure-signature table, and a survey of the wider VASP skill ecosystem) plus a stdio MCP server (18 tools) that turns the model from "guessing qvasp flags" into "running standard, checked procedures".
- Author: Wencai Yi, Qufu Normal University (yiwc@qfnu.edu.cn)
- qvasp itself: https://qvasp.com — single Fortran executable for VASP input
preparation and post-processing, 88 commands via
qvasp -h.
Citation
If this pack helps your work, cite the tool it wraps:
W. Yi, G. Tang, X. Chen, B. Yang, X. Liu, "qvasp: A flexible toolkit for VASP users in materials simulations", Computer Physics Communications 257, 107535 (2020). doi:10.1016/j.cpc.2020.107535
The program itself is archived at doi:10.17632/2v4m39dt3n.1.
What it gives the model
| Layer | Tool | Purpose |
|---|---|---|
| Skill | qvasp (skill library) |
Exact 88-command reference, 10 workflow recipes, verified pitfalls — never invent a flag |
| Skill | references/parameters.md |
Convergence tests and the model decisions (ENCUT, k-mesh, smearing, functional, +U, dispersion, magnetism) |
| Skill | references/errors.md |
VASP/qvasp failure signatures: what to grep for, why it happened, what to change |
| Skill | references/ecosystem.md |
The public VASP agent-skill landscape and the tools around qvasp, with licences, for cross-checking |
| MCP | qvasp_run |
Run a whitelisted qvasp command with optional stdin; returns exit code, new files, stdout tail |
| MCP | qvasp_help |
Look up any command's usage from the real binary |
| MCP | workflow_plan / workflow_run / workflow_status / workflow_resume |
Drive multi-stage calculations (10 templates: band-pbe, band-hse, dos-pbe, phonon-pbe, optics-hse, elastic-pbe, relax-only, md-pbe, surface-pbe, freqfix-molecule) with gates (ionic/scf convergence, no VASP error, …) |
| MCP | workflow_check |
Lint a workflow template against real stages/gates |
| MCP | structure_check |
Symmetry + geometry sanity of a POSCAR (spglib space group, nearest neighbours, overlap/impossible-distance findings) |
| MCP | preflight |
Check a case directory's inputs before submitting: species vs POTCAR order, ENCUT vs ENMAX, MAGMOM/LDAU lengths, tags VASP silently ignores, smearing vs the task, missing CHGCAR |
| MCP | result_extract / result_compare |
Pull numbers from OUTCAR/EIGENVAL/DOSCAR/… and compare against reference or literature values |
| MCP | reference_lookup / literature_record |
Verified reference values for known materials (Raman modes, band gaps, …) |
| MCP | report_build |
One call on a case directory → report.md: provenance, structure check, every value with the file it came from, comparison, verdict |
| MCP | diagnose_log |
Explain a failed or non-converged run: matched signature, cause, fix |
Standard procedures + gates + independent cross-checks make results reproducible and token-cheap: the model runs one tool call instead of paging through raw VASP output.
Install
Inside DeepSeek Harness (plugin market or CLI):
dsh plugin --profile <your-profile> add qvasp-skill
or via npm:
npm install -g qvasp-skill
dsh plugin --profile <your-profile> add qvasp-skill
or from GitHub releases:
dsh plugin --profile <your-profile> add github:Chaosheng-yiwc/qvasp-skill
On startup the bundle:
- syncs the
qvaspskill into your skill library (~/.agents/skills/qvasp, refreshed on a version bump or when the packaged files change — your own edits are kept); - mounts the MCP server (
mcp__qvasp__*tools) using python:QVASP_PYTHONif set, elsepython/python3on PATH, else a common install location (~/anaconda3,~/miniconda3,C:\ProgramData\anaconda3,/usr/bin, …) — python is often installed without being on the PATH the app inherits.
Configuring the MCP server
The tools talk to a real qvasp binary. Point them at yours with environment
variables (read by server/qvasp_mcp.py):
| Variable | Meaning | Default |
|---|---|---|
QVASP_BIN |
qvasp executable | qvasp on PATH |
QVASP_WORKROOT |
Root directory the tools may operate under | $HOME |
QVASP_SCHEDULER |
pbs / slurm / none |
auto |
If no python is found at boot the MCP tools are skipped with a warning and the
skill still works (set QVASP_PYTHON to the interpreter and restart the session).
Local development
git clone https://github.com/Chaosheng-yiwc/qvasp-skill
cd qvasp-skill
python server/qvasp_mcp.py --selftest # needs qvasp on PATH for full check
node --check index.js # syntax check
The server is dependency-free Python ≥ 3.8 (stdlib only) and speaks newline-delimited
JSON-RPC 2.0 over stdio (initialize, tools/list, tools/call, ping).
License
MIT — see LICENSE.
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 38236
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37190
dsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
superdesigndev/treg★ 9111
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
T-Auto/dsh-ops★ 6016
为 Windows 的 DSH 提供 bash、PowerShell 7 及 Rust 高性能工具,减少 token 消耗。
helloHub1212/dsh-windows-mcp★ 2563
通过官方 MCP 客户端桥接层把 CursorTouch/Windows-MCP 桌面自动化服务器接入 DSH,把截屏、UI 树快照、鼠标键盘输入、剪贴板、进程与注册表等工具注册成 mcp__windows__* 供模型调用,并附带 windows_mcp_doctor 诊断工具;Computer Use 默认关闭,需在插件面板里打开。
sixtysevenlf/dsh-blender-plugin★ 2280
让 DSH agent 通过直连 TCP 通道驱动本地 Blender,提供 15 个工具:视口帧、自定义视角渲染、Python 执行、无头与作业卸载、事务回滚,以及 34 个 family / 228 个 op 的规划层。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。