{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.wei-ai-lab/clinical-trial-design",
  "slug": "io.github.wei-ai-lab.clinical-trial-design",
  "title": "clinical-trial-design",
  "summary": "Phase 2/3 clinical trial design via gsDesign / gsDesign2: sample size, GS boundaries, multiplicity",
  "version": "0.0.12",
  "serverKey": "clinical-trial-design",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.wei-ai-lab.clinical-trial-design",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.wei-ai-lab.clinical-trial-design/install.md",
  "trust": {
    "score": 76,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T17:03:12.102888328Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=clinical-trial-design@0.0.12",
        "clinical-trial-design-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add clinical-trial-design -- npx -y --package=clinical-trial-design@0.0.12 clinical-trial-design-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"clinical-trial-design\": {\n      \"args\": [\n        \"-y\",\n        \"--package=clinical-trial-design@0.0.12\",\n        \"clinical-trial-design-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"clinical-trial-design\": {\n      \"args\": [\n        \"-y\",\n        \"--package=clinical-trial-design@0.0.12\",\n        \"clinical-trial-design-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"clinical-trial-design\": {\n      \"args\": [\n        \"-y\",\n        \"--package=clinical-trial-design@0.0.12\",\n        \"clinical-trial-design-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.clinical-trial-design]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=clinical-trial-design@0.0.12\", \"clinical-trial-design-mcp\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "DESIGNR_RSCRIPT",
      "required": false,
      "secret": false,
      "description": "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.",
      "help": "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.",
      "placeholder": "<DESIGNR_RSCRIPT>"
    },
    {
      "name": "DESIGNR_LAUNCHER",
      "required": false,
      "secret": false,
      "description": "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.",
      "help": "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.",
      "placeholder": "<DESIGNR_LAUNCHER>"
    }
  ],
  "expectedTools": [
    "design_binary",
    "design_continuous",
    "design_survival",
    "design_co_primary",
    "design_multi_population",
    "design_graphical_multiplicity",
    "validate_against_benchmark",
    "verify_design",
    "design_report"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: design_binary, design_continuous, design_survival, design_co_primary, design_multi_population, design_graphical_multiplicity, validate_against_benchmark, verify_design, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T17:03:12.102888328Z"
}
