Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
Agent toolchain for the DualSPHysics SPH solver: case creation, runs, post-processing, validation.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
DSPH_GENCASE, DSPH_SOLVER, DSPH_PARTVTK, DSPH_MEASURETOOL, DSPH_JOBS_DIR, DSPH_OMP_THREADSYou need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"dualsphysics": {
"command": "uvx",
"args": [
"dualsphysics-mcp"
],
"env": {
"DSPH_GENCASE": "your-value",
"DSPH_SOLVER": "your-value",
"DSPH_PARTVTK": "your-value",
"DSPH_MEASURETOOL": "your-value",
"DSPH_JOBS_DIR": "your-value",
"DSPH_OMP_THREADS": "your-value"
}
}
}
}Run this in your terminal
claude mcp add dualsphysics --env DSPH_GENCASE=your-value --env DSPH_SOLVER=your-value --env DSPH_PARTVTK=your-value --env DSPH_MEASURETOOL=your-value --env DSPH_JOBS_DIR=your-value --env DSPH_OMP_THREADS=your-value -- uvx dualsphysics-mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"dualsphysics": {
"command": "uvx",
"args": [
"dualsphysics-mcp"
],
"env": {
"DSPH_GENCASE": "your-value",
"DSPH_SOLVER": "your-value",
"DSPH_PARTVTK": "your-value",
"DSPH_MEASURETOOL": "your-value",
"DSPH_JOBS_DIR": "your-value",
"DSPH_OMP_THREADS": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"dualsphysics": {
"type": "stdio",
"command": "uvx",
"args": [
"dualsphysics-mcp"
],
"env": {
"DSPH_GENCASE": "your-value",
"DSPH_SOLVER": "your-value",
"DSPH_PARTVTK": "your-value",
"DSPH_MEASURETOOL": "your-value",
"DSPH_JOBS_DIR": "your-value",
"DSPH_OMP_THREADS": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
DSPH_GENCASE envDSPH_SOLVER envDSPH_PARTVTK envDSPH_MEASURETOOL envDSPH_JOBS_DIR envDSPH_OMP_THREADS envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account vegetableno1, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.2.0) reached the registry 43 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Spec Driven Development, Remote Desktop Commander, Georgia MCP
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
An MCP server for Georgian public data, read from the organizations that publish it.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Language: English | 中文
Design, run, and verify DualSPHysics simulations from an AI agent — not just stare at them.
Ten Model Context Protocol tools wrap a local DualSPHysics SPH toolchain end to end: design cases as structured parameters (no hand-written XML, no solver needed to iterate), run them as background CPU jobs with progress, throughput and the solver's own ETA on tap, post-process into ParaView-ready VTK and CSV time series, and verify a 2D dam-break against the Koshizuka & Oka (1996) experiment with per-time errors and MAE / RMSE / max.
The server only launches the DualSPHysics command-line tools as subprocesses; DualSPHysics itself is not distributed here — it is free LGPL-2.1-or-later software, this package neither links nor redistributes its code or binaries, so the MIT licence carries no extra obligations. If you publish work using DualSPHysics, cite *Dominguez et al. (2022), Computational Particle Mechanics 9:867–895, doi:10.1007/s40571-021-00404-2.*
| Tool | What it does |
|---|---|
check_environment | Find the four DualSPHysics tools on this machine: resolved path, provenance (env var, PATH, scan), version, solver feature flags; install hints when one is missing. |
create_case | Describe a 2D dam-break experiment in plain parameters and get a GenCase *_Def.xml back — no XML by hand, no solver needed. Returns a particle-count estimate for self-checking. |
edit_case | Change parameters of an existing case (in place or to a save_path), re-validating the merged result. |
describe_case | Read a case file back as a summary: dp, domain, column/tank/obstacle, timing, gauges, particle estimate. |
gencase | Discretise the case into Case.xml + Case.bi4 (plus preview VTK) and report the real particle counts. |
run_case | Start the CPU solver in the background (jobs/ directory, Run.out, Part_*.bi4) and return a job_id immediately. |
job_status | Poll a job: state, t/tmax, percent, the solver's Time/Sec throughput and projected finish, Run.out tail. |
partvtk | Turn Part_*.bi4 output into VTK particle files for ParaView; filters and variables pass through. |
measure_tool | Probe the solution at points and get CSV time series back (comma separator enforced for deterministic parsing). |
validate_dambreak | Reconstruct the dam-tip surge front from the CSV and score it against the embedded Koshizuka & Oka (1996) series: per-time errors + MAE/RMSE/max. |
Working chain: check_environment → create_case → describe_case → gencase → run_case → poll job_status → partvtk + measure_tool → validate_dambreak. Vocabulary, three guards and particle-estimate arithmetic: docs/case-generation.md.
Behaviours of the wrapped tools that their -h output does not tell you:
create_case containment-checks every domain.measure_tool forces commas unless the caller passes their own -csvsep.# comment lines; MeasureTool errors print on stdout, not stderr.Time/Sec in Run.out is wall-clock seconds per simulated second — not steps/second; the row tail is the solver's projected finish.Run.out row formats differ between solver v5.0/v5.2 and v5.4; the parser handles both.All fourteen contracts (formats, exit codes): docs/domain-contracts.md.
Python 3.10+. The binaries are discovered from DSPH_* environment variables, PATH, or conventional install roots (/opt, /usr/local, ~/softwares, ~, cwd → /DualSPHysics*/bin/linux).
uv sync # or: python -m venv .venv && .venv/bin/pip install -e .
Getting the solver (the GitHub repository ships GenCase / PartVTK / MeasureTool prebuilt but not the solver):
git clone https://github.com/DualSPHysics/DualSPHysics and build the CPU solver with make -f Makefile_cpu (g++ only, no CUDA needed), then copy the prebuilt tools from bin/linux/.Configure through environment variables (no .env parsing; see .env.example — the same paths appear in examples/mcp_config.example.json):
DSPH_GENCASE=/home/<user>/softwares/DualSPHysics/bin/linux/GenCase_linux64
DSPH_SOLVER=/home/ /softwares/DualSPHysics/bin/linux/DualSPHysics5.4CPU_linux64 DSPH_PARTVTK=/home/ /softwares/DualSPHysics/bin/linux/PartVTK_linux64 DSPH_MEASURETOOL=/home/ /softwares/DualSPHysics/bin/linux/MeasureTool_linux64 DSPH_JOBS_DIR=/abs/path/to/jobs # optional, default ./jobs DSPH_OMP_THREADS=8 # optional, default all cores
.venv/bin/python mcp_server.py # hub-style entry point (stdio)
.venv/bin/dualsphysics-mcp # console script uvx dualsphysics-mcp # published on PyPI
Client registration templates: examples/mcp_config.example.json:
{ "mcpServers": { "dualsphysics-mcp": { "command": "uvx", "args": ["dualsphysics-mcp"] } } }
claude mcp add dualsphysics-mcp -- /abs/repo/path/.venv/bin/python /abs/repo/path/mcp_server.py
examples/dambreak_val2d/ holds the showcase: the official validation layout (dp = 0.01 m; 1 m × 2 m water column in a 4 m × 3 m tank; TimeMax = 2 s, TimeOut = 0.01 s; Verlet / Wendland / artificial viscosity 0.02 / Fourtakas DDT 0.1), regenerated by gen_dambreak_val2d.py (MIT), a surge-front MeasureTool points file (401 points along z = 0.03 m), and the digitised experiment.
Measured on this case (GenCase v5.4.354 / solver v5.4.355, 8 CPU threads, i5-10210U):
| Quantity | Value |
|---|---|
| Total particles | 21,001 (fluid 20,000 + bound 1,001) |
| Part files | 201 (Part_0000 … Part_0200) |
| Solver wall time (TimeMax = 2 s) | ≈ 14 min |
| Dam-tip MAE vs experiment (0.09–0.75 s) | 0.220 m (22.0 % of the column); RMSE 0.240 m |
| Dam-tip error, early collapse (t ≤ 0.2 s) | within ±0.01–0.16 m |
| Wall impact | front pins at 3.98 m at t ≈ 0.67 s |
The residual is SPH physics, not a measurement artefact: the front extraction tracks the solver's own SWL gauge (mean deviation 8 mm < 10 mm point spacing), and the experiment ends at X/a ≈ 4.13 — beyond the 4 m tank — so the comparison saturates after wall impact (validate_dambreak notes impact_time_s).
Agent transcript:
check_environment() # all four tools found
gencase("examples/dambreak_val2d/CaseDambreakVal2D_Def.xml") -> particle_counts: total=21001 fluid=20000 bound=1001 run_case(" /CaseDambreakVal2D") # returns job_id job_status(job_id) # poll until percent=100 partvtk(job_id=job_id) # 201 fluid VTK files measure_tool(job_id=job_id, points_file="examples/dambreak_val2d/points_damtip.txt") validate_dambreak(csv_path=" ", points_file="examples/dambreak_val2d/points_damtip.txt")
validate_dambreak reports per-time errors plus MAE / RMSE / max in metres and as % of the 1 m column. The figure comes from examples/make_validation_figure.py; examples/render_dambreak.py turns the same run's Part_*.vtk into an MP4 animation (dev dependencies).
uv run pytest -q # or: .venv/bin/python -m pytest
uv run ruff check .
The suite is green without any solver installed (discovery, command construction, log-fixture parsing, validation math, case generation, stdio end-to-end). Tests marked solver exercise a real local toolchain and auto-skip otherwise.
src/dualsphysics_mcp/ — MCP server, tool discovery and config, error codes, the ten tools in tools/.examples/ — validation case, create_case_demo.py, figure + animation scripts, client template.tests/ — pytest suite (solver tests auto-skip)..env, job outputs and generated results.examples/dambreak_val2d/ are digitised facts cited to Koshizuka & Oka (1996) as shipped with the DualSPHysics examples; the generated case XML and all code here are original MIT content — details in CONTRIBUTING.md.