← Index

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

io.github.wei-ai-lab/clinical-trial-design·v0.0.12·Other
Quality Score
80
/100

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

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<designr_rscript>",
        "DESIGNR_LAUNCHER": "<designr_launcher>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<designr_rscript>",
        "DESIGNR_LAUNCHER": "<designr_launcher>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y clinical-trial-design
§02  Environment variables
DESIGNR_RSCRIPT

Optional override for the Rscript binary path. Defaults to whatever 'Rscript' resolves to on the system PATH. Set this if R isn't on PATH or you need a specific R version.

DESIGNR_LAUNCHER

Optional override for the R launcher path (the inst/launcher.R that sources the R sources and dispatches the JSON). Defaults to the bundled launcher. Set this only if you need to use a non-bundled R source tree.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
10
installability
25
documentation
15
stability
5
§04  Alternatives in Other