Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Agent toolchain for the DualSPHysics SPH solver: case creation, runs, post-processing, validation.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
DSPH_GENCASE, DSPH_SOLVER, DSPH_PARTVTK, DSPH_MEASURETOOL, DSPH_JOBS_DIR, DSPH_OMP_THREADS필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 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"
}
}
}
}터미널에서 이 명령어를 실행하세요
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-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.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"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"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"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
DSPH_GENCASE envDSPH_SOLVER envDSPH_PARTVTK envDSPH_MEASURETOOL envDSPH_JOBS_DIR envDSPH_OMP_THREADS env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 vegetableno1 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.0)은 43일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Zoo MCP
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
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 that provides access to the Zoo API for various CAD operations and tools.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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.