DualSPHysics MCP for VS Code
io.github.vegetableno1/dualsphysics
Agent toolchain for the DualSPHysics SPH solver: case prep, simulation runs, post-processing.
client:VS Code
transport:stdio
runtime:pypi
Install DualSPHysics MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "dsph-gencase",
"description": "DSPH_GENCASE",
"password": true
},
{
"type": "promptString",
"id": "dsph-solver",
"description": "DSPH_SOLVER",
"password": true
},
{
"type": "promptString",
"id": "dsph-partvtk",
"description": "DSPH_PARTVTK",
"password": true
},
{
"type": "promptString",
"id": "dsph-measuretool",
"description": "DSPH_MEASURETOOL",
"password": true
},
{
"type": "promptString",
"id": "dsph-jobs-dir",
"description": "DSPH_JOBS_DIR",
"password": true
},
{
"type": "promptString",
"id": "dsph-omp-threads",
"description": "DSPH_OMP_THREADS",
"password": true
}
],
"servers": {
"dualsphysics": {
"type": "stdio",
"command": "uvx",
"args": [
"dualsphysics-mcp"
],
"env": {
"DSPH_GENCASE": "${input:dsph-gencase}",
"DSPH_SOLVER": "${input:dsph-solver}",
"DSPH_PARTVTK": "${input:dsph-partvtk}",
"DSPH_MEASURETOOL": "${input:dsph-measuretool}",
"DSPH_JOBS_DIR": "${input:dsph-jobs-dir}",
"DSPH_OMP_THREADS": "${input:dsph-omp-threads}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs