期刊:Cell Reports Medicine (2026-10-02) ·
DOI:10.1016/j.xcrm.2026.103085 ·
开源许可:none (restricted)
上游仓库:https://github.com/shaoweinuaa/GCSS @ dc574a9a3c3e
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip gcss-mcp.zip && cd gcss-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add gcss -- "$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
imc_major_cluster
MCP Verified ✓
Preprocess Imaging Mass Cytometry (IMC) single-cell CSVs with asinh transformation, quantile winsorization, min-max scaling, Harmony batch correction, UMAP, and FastPG clustering (upstream 1_Major_cluster.R).
{"n_cells": 720, "n_markers": 25, "n_major_markers": 17, "n_pcs_95pct": 7, "n_clusters": 7, "n_batches": 3}imc_annotate_major
MCP Verified ✓
Annotate major IMC FastPG clusters into cell types, remove noise ('rm') clusters, and generate annotated UMAP and canonical marker heatmaps (upstream 2_Anno.R).
{"n_cells_retained": 720, "n_cells_removed": 0, "n_celltypes": 5, "celltype_counts": {"Endothelial": 48, "Fibroblast": 108, "Myeloid": 156, "Lymphocyte": 192, "Epithelial": 216}}imc_subcluster_compartment
MCP Verified ✓
Sub-cluster a major IMC compartment (Myeloid, Lymphocyte, or Epithelial) using lineage and functional markers with Harmony and FastPG (upstream 3_Sub_cluster.R).
{"cluster_label": "Myeloid", "n_cells": 156, "n_compartment_markers": 9, "n_pcs_95pct": 2, "n_subclusters": 6}imc_annotate_subclusters
MCP Verified ✓
Annotate compartment sub-clusters, perform cross-lineage correction, and merge refined subtypes back into the full SpatialExperiment object (upstream 4_Sub_Anno.R).
{"cluster_label": "Myeloid", "n_subtypes": 2, "n_reassigned_cells": 0, "n_total_merged_cells": 720, "subtype_counts": {"CD163_MΦ": 78, "HLA_DR_MΦ": 78}}gcss_train_and_predict
MCP Verified ✓
Train and evaluate the Graphical Classification based on Spatial Similarity (GCSS) model using group-sparse graphclass over pairwise cell-type SSIM features (upstream GCSS.R).
{"auc": 1, "accuracy": 1, "n_train": 54, "n_test": 30, "n_nodes": 7, "n_edges": 21, "nonzero_edges": 6, "node_sparsity": 0.1429, "intercept_b": -0.2049}


