NestDaddy

DualSPHysics MCP

io.github.vegetableno1/dualsphysics ยท v0.2.0

Agent toolchain for the DualSPHysics SPH solver: case creation, runs, post-processing, validation.

Connect Runs on your machine

Terminal
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
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
DSPH_GENCASE
Optional
Path to the GenCase_linux64 executable (auto-discovered if unset)
DSPH_SOLVER
Optional
Path to the DualSPHysics CPU solver executable (auto-discovered if unset)
DSPH_PARTVTK
Optional
Path to the PartVTK_linux64 executable (auto-discovered if unset)
DSPH_MEASURETOOL
Optional
Path to the MeasureTool_linux64 executable (auto-discovered if unset)
DSPH_JOBS_DIR
Optional
Directory for simulation job outputs (defaults to ./jobs)
DSPH_OMP_THREADS
Optional
OpenMP threads for the CPU solver (defaults to CPU count)

Details

Package[email protected] (PYPI, stdio)
First published25 Sep 2026
Last updated25 Sep 2026
Registry nameio.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.