期刊:Nature Communications (2026-05-05) ·
DOI:10.1038/s41467-026-72388-7 ·
开源许可:none (restricted)
上游仓库:https://github.com/Zafar-Lab/Renoir @ 2ea1c987ae52
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip renoir-mcp.zip && cd renoir-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add renoir -- "$PWD/.venv/bin/python" "$PWD/server.py"
# 3. 或启动远程 Streamable HTTP MCP 服务端供团队/网页直接调用
.venv/bin/python server.py --transport http --host 0.0.0.0 --port 8000
score_spatial_ligand_target
MCP Verified ✓
Compute spatial neighborhood activity scores for curated ligand-target pairs across Visium spots or single-cell spatial coordinates using Renoir.
{"n_spots": 144, "n_lt_pairs_scored": 20, "mean_activity": 2.661825, "max_activity": 11.311264, "top_lt_pair": "VEGFA:KDR", "top_lt_pairs": ["VEGFA:KDR", "TGFB1:PTGS2", "IL6:STAT3", "IL6:EPCAM", "COL18A1:FOXO1"]}cluster_lt_pathways
MCP Verified ✓
Group scored ligand-target pairs into pathway-guided sets (MSigDB) or de novo co-activity modules (DHC/HDBSCAN).
{"method": "pathway", "n_clusters": 4, "n_total_pairs_assigned": 19, "largest_cluster": "HALLMARK_ANGIOGENESIS_ONCOFETAL", "largest_cluster_size": 6}discover_communication_domains
MCP Verified ✓
Compute pathway-level SVD activity scores and delineate spatial communication domains via Leiden clustering.
{"n_spots": 144, "n_domains": 4, "domain_counts": {"0": 55, "1": 42, "2": 30, "3": 17}, "n_pathways": 4, "top_pathway_per_domain": {"0": "HALLMARK_TGF_BETA_SIGNALING", "1": "HALLMARK_ANGIOGENESIS_ONCOFETAL", "2": "WP_HEPATOCYTE_MACROPHAGE_AXIS", "3": "HALLMARK_TGF_BETA_SIGNALING"}}analyze_celltype_crosstalk
MCP Verified ✓
Correlate spot-level cell-type abundances with ligand-target activity and rank domain-specific ligands by downstream target impact.
{"target_domain": "0", "n_spots_in_domain": 55, "n_celltypes": 5, "dominant_celltypes_in_domain": {"Bipotent_Hep": 0.4469, "TAM_FOLR2": 0.3671, "CAF_POSTN": 0.0844}}plot_communication_sankey
MCP Verified ✓
Generate an interactive Sankey diagram linking sender cell types, ligands, targets, receiver cell types, and communication domains.
{"n_lt_pairs": 3, "lt_pairs": ["VEGFA:KDR", "IL6:PTGS2", "PLG:MARCO"], "n_nodes": 19, "n_links": 39, "n_domains": 4}

