methods-mcp
methods-mcp
md-lab基盤のためのBioconductorメソッドアダプターです。各アダプターは、rpy2を介してRを実行する小さなFastAPI-in-DockerコンテナによってバックアップされたMCPツールとして、1つのメソッド(limma、fgsea、DESeq2など)をラップします。
当初計画されていたplaybase-mcpに代わるものです。OmicsPlaygroundはCC BY-NC-ND(商用利用不可)であるため、Bioconductorを直接ラップします。md-lab/NOTES.mdの§3を参照してください。
ステータス
v0.1.0 スケルトン。 limmaのみがスキャフォールドされており、そのコンテナはまだ存在しません。コンテナが出荷されるまで、ツール呼び出しはstatus: "container_unavailable"を返します。このリポジトリは、アダプターパターンをエンドツーエンドで証明するために存在します。
Related MCP server: dynamic-mcp
アーキテクチャ
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各アダプターには、manifest.yaml、adapter.py、Dockerfile、README.mdの4つのファイルがあります。リファレンス形状については、src/methods_mcp/adapters/limma/を参照してください。
主要な実装リスト (W2–W3)
メソッド | ステータス | コンテナ |
limma | スケルトン | 未構築 |
fgsea | — | — |
fisher_ora | — | — |
DESeq2 | — | — |
WGCNA | — | — |
glmnet + RF | — | — |
survival (coxph) | — | — |
sva + ComBat | — | — |
シングルセル(Seurat、monocle3、Azimuth)も、インタビュー回答 §Q4に従い、v0.1のスコープに含まれています。
インストール
pip install -e ".[dev]"
pytest
# run server
python mcp_server.py # stdio transport
python mcp_server_http.py # HTTP transport, port 7102コミュニティレジストリ
パターンが確立されれば、誰でもアダプターパッケージ(manifest.yaml + adapter.py + Dockerfile + README.md)を出荷できます。md-lab methods install <name>は、webwebb56/md-methods-registryの中央YAMLインデックスからフェッチします。npmスタイルの自動解決ではなく、Homebrewスタイルのフェッチによるインストールです。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP gateway federating 30 biomedical MCP servers behind one endpoint: gnomAD, ClinVar, HPO, VEP.
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides 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-
- AlicenseBqualityDmaintenanceDynamic MCP server for Node.js enabling runtime tool creation, management, and execution in isolated sandboxes (Docker or Node).825 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for RNA-seq downstream analysis, wrapping R scripts to generate plots and perform analyses like PCA, volcano, heatmap, enrichment, and WGCNA.MIT
- AlicenseNot gradedqualityDmaintenanceAn 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