期刊:Communications Biology (2026-01-07) ·
DOI:10.1038/s42003-025-09413-w ·
开源许可:MIT (allowed)
上游仓库:https://github.com/jiatingyu-amss/SCILD @ 683515043df1
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip scild-mcp.zip && cd scild-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add scild -- "$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
build_lr_database
MCP Verified ✓
Build the binary ligand x receptor database SCILD needs, from CellChat or CellPhoneDB, keeping pairs expressed in enough spots of a spatial AnnData.
{"n_ligands": 19, "n_receptors": 29, "n_lr_pairs": 44, "n_spots": 100, "database": "CellChat", "species": "human", "min_cell_pct": 0.05}run_scild_inference
MCP Verified ✓
Run SCILD (ligand diffusion plus optimal transport) and export, per spot and per ligand-receptor pair, the total signal sent (S) and received (R). Uses a sparse aggregation instead of the upstream dense tensor.
{"n_spots": 100, "n_ligands": 19, "n_receptors": 29, "n_lr_pairs": 44, "n_signal_columns": 88, "transport_plan_nnz": 440000, "final_relative_error": 0.12929358039054717, "iterations": 5, "total_transported_signal": 30.060592620142174}rank_spatial_lr_signals
MCP Verified ✓
Rank SCILD signals by spatial autocorrelation (Moran I) on a KNN spatial graph, for sent, received or both directions.
{"n_signals_tested": 88, "n_valid": 88, "n_significant_p05": 30, "top_signals": [["PRSS2->PARD3 (S)", 0.7386377566762554], ["MIF->CD74 (R)", 0.7064830558127722], ["PRSS1->PARD3 (S)", 0.6380216641694152], ["C3->ITGAX (S)", 0.592061014141195], ["SPP1->ITGB1 (S)", 0.5244481751918527], ["SPP1->ITGB6 (S)", 0.3946232609188659], ["C3->ITGB2 (S)", 0.30981089774689485], ["MDK->ITGA6 (R)", 0.30060807091766184], ["INS->INSR (S)", 0.2826366979650144], ["SPP1->ITGAV (S)", 0.28071638566266505]]}plot_spatial_lr_signal
MCP Verified ✓
Plot one SCILD signal over the tissue next to a cell annotation, as in the SCILD PDAC tutorial.
{"signal": "C3->ITGB2 (S)", "n_spots": 100, "signal_min": 4.584086763620215e-25, "signal_max": 0.1529750204962382, "signal_mean": 0.0319034533736249, "annotation_column": "cell_type"}

