Skip to content
Grok

DualSPHysics MCP for Grok

io.github.vegetableno1/dualsphysics

Agent toolchain for the DualSPHysics SPH solver: case prep, simulation runs, post-processing.

client:Grok transport:stdio runtime:pypi

Install DualSPHysics MCP in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "dualsphysics": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dualsphysics-mcp"
      ],
      "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

DualSPHysics MCP in other clients