qvasp MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
qvasp-skill
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.
Related MCP server: matmcp
What it gives the model
Layer | Tool | Purpose |
Skill |
| Exact 88-command reference, 10 workflow recipes, verified pitfalls — never invent a flag |
Skill |
| Convergence tests and the model decisions (ENCUT, k-mesh, smearing, functional, +U, dispersion, magnetism) |
Skill |
| VASP/qvasp failure signatures: what to grep for, why it happened, what to change |
Skill |
| The public VASP agent-skill landscape and the tools around qvasp, with licences, for cross-checking |
MCP |
| Run a whitelisted qvasp command with optional stdin; returns exit code, new files, stdout tail |
MCP |
| Look up any command's usage from the real binary |
MCP |
| 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 |
| Lint a workflow template against real stages/gates |
MCP |
| Symmetry + geometry sanity of a POSCAR (spglib space group, nearest neighbours, overlap/impossible-distance findings) |
MCP |
| Check a case directory's inputs before submitting: species vs POTCAR order, |
MCP |
| Pull numbers from OUTCAR/EIGENVAL/DOSCAR/… and compare against reference or literature values |
MCP |
| Verified reference values for known materials (Raman modes, band gaps, …) |
MCP |
| One call on a case directory → |
MCP |
| 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-skillor via npm:
npm install -g qvasp-skill
dsh plugin --profile <your-profile> add qvasp-skillor from GitHub releases:
dsh plugin --profile <your-profile> add github:Chaosheng-yiwc/qvasp-skillInstalling within a day of a release can give you the previous version. pnpm 11
defaults minimumReleaseAge to 1440 minutes, so a version published less than a day ago
is not resolved and a bare range falls back to the newest version older than that.
Measured here: ten minutes after 1.5.1 was published, pnpm add qvasp-skill installed
1.4.1, while --config.minimumReleaseAge=0 installed 1.5.1. This is a pnpm supply-chain
guard (docs), not a registry or packaging fault.
To get today's release, name it or lift the guard:
pnpm add qvasp-skill@1.5.1
# or: pnpm add qvasp-skill --config.minimum-release-age=0
# or, in pnpm-workspace.yaml: minimumReleaseAgeExclude: ['qvasp-skill@1.5.1']Use the dashed key on the command line: pnpm 12.3+ silently ignores
--config.minimumReleaseAge=0 (camelCase) while --config.minimum-release-age=0 is
honoured.
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 executable |
|
| Root directory the tools may operate under |
|
|
| 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 checkThree gates must exit 0 before a release:
python server/qvasp_mcp.py --argcheck # every tool answers {} without a traceback
python tools/preflight_fixtures.py # 19 input-lint rules
python tools/tool_smoke.py # all 18 tools with no qvasp and no schedulerThe third one is the one that matters on a fresh machine: it points QVASP_BIN at a name
that does not exist and fails if a tool raises instead of saying what to install.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Run sandboxed Python for calculations and PDFs; no other languages, installs or network.
Live GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.
Run verified read-only code tools: quant diagnostics + agent-ops preflight, no source exposure.
Scan, fix and justify your application code until it is approved to ship.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides secure filesystem operations, HTTP fetching with SSRF protection, JSON validation, artifact logging, and optional Redis key-value storage through both stdio and HTTP transports. Features production-ready security controls including sandbox enforcement, allowlist validation, and comprehensive input validation.Apache 2.0
- AlicenseBqualityCmaintenanceEnables LLM agents to run verified DFT materials workflows (structure fetch, relaxation, band/DOS) with automated convergence gates and physics validation, ensuring every result is machine-verified with a complete evidence trail.53MIT
- FlicenseBqualityBmaintenanceA fail-closed MCP verification layer for DFT-to-MLIP workflows, gating Quantum ESPRESSO data ingestion, MACE/RuNNer dry-run command plans, model comparison, and reference validation behind scientific, software, and numerical checks with explicit PASS/WARN/FAIL/QUARANTINE/NOT_RUN statuses.8-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to run materials computation workflows through tools for loading structures, relaxing potentials, screening doped variants, analyzing phonons and elasticity, sampling candidates, and replaying trajectories. It exposes these capabilities over stdio or streamable HTTP, adapting available engines and structure sources to the environment.MIT