PluginBench
MCP Server

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

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

What is the io.github.wei-ai-lab/clinical-trial-design MCP server?

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

How to install io.github.wei-ai-lab/clinical-trial-design

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • 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.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "clinical-trial-design": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
      }
    }
  }
}
Claude Code
claude mcp add clinical-trial-design --env DESIGNR_RSCRIPT=<YOUR_DESIGNR_RSCRIPT> --env DESIGNR_LAUNCHER=<YOUR_DESIGNR_LAUNCHER> -- npx -y clinical-trial-design

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →
io.github.wei-ai-lab/clinical-trial-design MCP Server | PluginBench