Skip to main content
Glama

methods-mcp

Bioconductor method adapters for the md-lab substrate. Each adapter wraps one method (limma, fgsea, DESeq2, …) as an MCP tool backed by a small FastAPI-in-Docker container that runs R via rpy2.

Replaces the originally planned playbase-mcp. OmicsPlayground is CC BY-NC-ND (commercial-unsafe); we wrap Bioconductor directly. See md-lab/NOTES.md §3.

Status

v0.1.0 skeleton. Only limma is scaffolded, and its container doesn't exist yet — tool calls return status: "container_unavailable" until the container ships. This repo exists to prove the adapter pattern end-to-end.

Related MCP server: dynamic-mcp

Architecture

Cowork / Codex / Jupyter
    ↓ MCP tool call: limma(intensity_parquet=..., contrast=..., ...)
methods-mcp (FastMCP, this repo)
    ↓ HTTP POST /run
method-limma container (FastAPI + rpy2, separate repo)
    ↓ rpy2
R: limma::eBayes(limma::lmFit(...))
    ↑ result parquet
methods-mcp
    ↑ {results_parquet, summary, methods_sentence, provenance}
Caller

Each adapter has four files: manifest.yaml, adapter.py, Dockerfile, README.md. See src/methods_mcp/adapters/limma/ for the reference shape.

Core ship list (W2–W3)

Method

Status

Container

limma

skeleton

not built

fgsea

fisher_ora

DESeq2

WGCNA

glmnet + RF

survival (coxph)

sva + ComBat

Single-cell (Seurat, monocle3, Azimuth) is also in v0.1 scope per interview answers §Q4.

Install

pip install -e ".[dev]"
pytest
# run server
python mcp_server.py            # stdio transport
python mcp_server_http.py       # HTTP transport, port 7102

Community registry

Once the pattern holds, any contributor can ship an adapter package: manifest.yaml + adapter.py + Dockerfile + README.md. md-lab methods install <name> fetches from the central YAML index in webwebb56/md-methods-registry. Homebrew-style install-by-fetch, not npm-style auto-resolution.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides a natural language interface for single-cell RNA-Seq analysis using the decoupleR framework. It enables users to perform biological pathway inference, data clustering, and visualization through MCP-compatible AI clients.
    4
    -
  • A
    license
    B
    quality
    C
    maintenance
    Dynamic MCP server for Node.js enabling runtime tool creation, management, and execution in isolated sandboxes (Docker or Node).
    8
    11 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for RNA-seq downstream analysis, wrapping R scripts to generate plots and perform analyses like PCA, volcano, heatmap, enrichment, and WGCNA.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that wraps R scripts for microbiome and amplicon (16S/ITS) analysis, providing tools for alpha/beta diversity, differential abundance, networks, and more, with PNG/PDF outputs.
    MIT