期刊:Nature (2026-11-04) ·
DOI:10.1038/s41586-026-11234-8 ·
开源许可:MIT (allowed)
上游仓库:https://github.com/PMBio/spaceTree @ a9827306411c
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip spacetree-mcp.zip && cd spacetree-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add spacetree -- "$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
preprocess_spacetree_data
MCP Verified ✓
Preprocess single-cell clone annotations and latent representations for SpaceTree analysis.
{"n_cells": 27460, "n_clones": 6}fit_spacetree_model
MCP Verified ✓
Fit SpaceTree model or map cell states and clones across spatial domains.
{"epochs": 3, "niches": 3}plot_spatial_abundance
MCP Verified ✓
Generate and save spatial abundance plots of cell states and tumor subclones.
{"plots_generated": 1}