Skip to content
VS Code

BioMCP-TS for VS Code

io.github.yeyuan98/biomcp-ts

Biomedical MCP server: genes, variants, trials, literature, patents, optional SQL/R/biowasm tools.

client:VS Code transport:stdio runtime:npm

Install BioMCP-TS in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "analysis-biowasm",
      "description": "ANALYSIS_BIOWASM",
      "password": true
    },
    {
      "type": "promptString",
      "id": "analysis-r",
      "description": "ANALYSIS_R",
      "password": true
    },
    {
      "type": "promptString",
      "id": "db-type",
      "description": "DB_TYPE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ncbi-api-key",
      "description": "NCBI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "s2-api-key",
      "description": "S2_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openfda-api-key",
      "description": "OPENFDA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oncokb-token",
      "description": "ONCOKB_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "disgenet-api-key",
      "description": "DISGENET_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "biomcp-ts": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "biomcp"
      ],
      "env": {
        "ANALYSIS_BIOWASM": "${input:analysis-biowasm}",
        "ANALYSIS_R": "${input:analysis-r}",
        "DB_TYPE": "${input:db-type}",
        "NCBI_API_KEY": "${input:ncbi-api-key}",
        "S2_API_KEY": "${input:s2-api-key}",
        "OPENFDA_API_KEY": "${input:openfda-api-key}",
        "ONCOKB_TOKEN": "${input:oncokb-token}",
        "DISGENET_API_KEY": "${input:disgenet-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

BioMCP-TS in other clients