Skip to content
Cursor

clinical trial design for Cursor

io.github.wei-ai-lab/clinical-trial-design

Phase 2/3 clinical trial design via gsDesign / gsDesign2: sample size, GS boundaries, multiplicity

client:Cursor transport:stdio runtime:npm

Install clinical trial design in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "clinical-trial-design": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<DESIGNR_LAUNCHER>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

clinical trial design in other clients