Paper2MCP v2 Verified Deliverable

Deciphering the gene-centric spatial dynamics across tissue and time with GeneSPOT.

期刊:Nature Methods (2026-11-09) · DOI:10.1038/s41592-026-03308-2 · 开源许可:none (restricted)

上游仓库:https://github.com/YSTLab/GeneSPOT @ 2048d9ccb767

Pytest: passed MCP Stdio Selftest: passed Relocated Fresh Install: passed

一、一键安装与 MCP 接入(本地 / 远程统一接口)

# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip genespot-mcp.zip && cd genespot-mcp
bash install.sh
.venv/bin/python selftest.py

# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add genespot -- "$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

二、已验证科学工具清单(3 个工具)

preprocess_spatial_data MCP Verified ✓

Preprocess spatial transcriptomics AnnData files using GeneSPOT preprocessing.

Selftest Summary: Successfully preprocessed spatial AnnData with 150 observations and 80 variables.
Metrics: {"n_obs": 150, "n_vars": 80}
optimal_transport_distance MCP Verified ✓

Compute gene-centric optimal transport spatial distances using GeneSPOT.

Selftest Summary: Successfully computed optimal transport distance matrix of shape (20, 20).
Metrics: {"shape": [20, 20]}
spatial_graph_analysis MCP Verified ✓

Build spatial graph representation and analyze neighborhood topology using GeneSPOT.

Selftest Summary: Successfully built spatial graph with 150 nodes and 15 neighbors.
Metrics: {"n_nodes": 150, "n_neighbors": 15}

三、实测复现结果图展示

ot_cost_matrix.png
spatial_distribution.png
spatial_gene_expression.png