Agent toolchain for the DualSPHysics SPH solver: case creation, runs, post-processing, validation.
Connect Runs on your machine
claude mcp add dualsphysics -e DSPH_GENCASE=<DSPH_GENCASE> -e DSPH_SOLVER=<DSPH_SOLVER> -e DSPH_PARTVTK=<DSPH_PARTVTK> -e DSPH_MEASURETOOL=<DSPH_MEASURETOOL> -e DSPH_JOBS_DIR=<DSPH_JOBS_DIR> -e DSPH_OMP_THREADS=<DSPH_OMP_THREADS> -- uvx dualsphysics-mcp==0.2.0
{
"mcpServers": {
"dualsphysics": {
"command": "uvx",
"args": [
"dualsphysics-mcp==0.2.0"
],
"env": {
"DSPH_GENCASE": "<DSPH_GENCASE>",
"DSPH_SOLVER": "<DSPH_SOLVER>",
"DSPH_PARTVTK": "<DSPH_PARTVTK>",
"DSPH_MEASURETOOL": "<DSPH_MEASURETOOL>",
"DSPH_JOBS_DIR": "<DSPH_JOBS_DIR>",
"DSPH_OMP_THREADS": "<DSPH_OMP_THREADS>"
}
}
}
}
{
"mcpServers": {
"dualsphysics": {
"command": "uvx",
"args": [
"dualsphysics-mcp==0.2.0"
],
"env": {
"DSPH_GENCASE": "<DSPH_GENCASE>",
"DSPH_SOLVER": "<DSPH_SOLVER>",
"DSPH_PARTVTK": "<DSPH_PARTVTK>",
"DSPH_MEASURETOOL": "<DSPH_MEASURETOOL>",
"DSPH_JOBS_DIR": "<DSPH_JOBS_DIR>",
"DSPH_OMP_THREADS": "<DSPH_OMP_THREADS>"
}
}
}
}
{
"servers": {
"dualsphysics": {
"type": "stdio",
"command": "uvx",
"args": [
"dualsphysics-mcp==0.2.0"
],
"env": {
"DSPH_GENCASE": "<DSPH_GENCASE>",
"DSPH_SOLVER": "<DSPH_SOLVER>",
"DSPH_PARTVTK": "<DSPH_PARTVTK>",
"DSPH_MEASURETOOL": "<DSPH_MEASURETOOL>",
"DSPH_JOBS_DIR": "<DSPH_JOBS_DIR>",
"DSPH_OMP_THREADS": "<DSPH_OMP_THREADS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
DSPH_GENCASEOptional | Path to the GenCase_linux64 executable (auto-discovered if unset) |
DSPH_SOLVEROptional | Path to the DualSPHysics CPU solver executable (auto-discovered if unset) |
DSPH_PARTVTKOptional | Path to the PartVTK_linux64 executable (auto-discovered if unset) |
DSPH_MEASURETOOLOptional | Path to the MeasureTool_linux64 executable (auto-discovered if unset) |
DSPH_JOBS_DIROptional | Directory for simulation job outputs (defaults to ./jobs) |
DSPH_OMP_THREADSOptional | OpenMP threads for the CPU solver (defaults to CPU count) |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 25 Sep 2026 |
| Last updated | 25 Sep 2026 |
| Registry name | io.github.vegetableno1/dualsphysics |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
