期刊:Nature (2026-01-21) ·
DOI:10.1038/s41586-025-09876-1 ·
开源许可:none (restricted)
上游仓库:https://github.com/JonathanSomer/osdr @ 7d049700ece9
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip osdr-mcp.zip && cd osdr-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add osdr -- "$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
fit_osdr_model
MCP Verified ✓
Fit a one-shot tissue dynamics (OSDR) model of two interacting cell types from a single-cell spatial snapshot with division labels.
{"n_cells": 10800, "n_tissues": 12, "cell_a": "F", "cell_b": "M", "observed_division_fraction": {"F": 0.4779292812572221, "M": 0.06590992310508971}, "death_probability": {"F": 0.4779292812572221, "M": 0.06590992310508971}, "xlim": [0.0, 6.3888126446548235], "ylim": [0.0, 5.596878899714772], "neighborhood_size_um": 80.0}find_osdr_fixed_points
MCP Verified ✓
Find and classify the stable, semi-stable and unstable fixed points of a fitted OSDR two-cell model.
{"counts": {"stable": 2, "semi-stable": 0, "unstable": 1}, "n_fixed_points": 3, "fixed_points": {"stable": [[5.683902667726859, 5.025815242922458], [0.0, 0.0]], "semi-stable": [], "unstable": [[5.386449542223618, 4.841966631786741]]}}plot_osdr_phase_portrait
MCP Verified ✓
Plot the phase portrait with flow field, nullclines and fixed points of a fitted OSDR model.
{"cell_a": "F", "cell_b": "M", "style": "stream", "mode": "cells"}simulate_osdr_trajectory
MCP Verified ✓
Integrate the fitted OSDR dynamics forward in time from a chosen starting neighbourhood composition.
{"final_state": {"F": 0.0001498266848446608, "M": 0.5615132753434152}, "n_steps": 42, "cell_a": "F", "cell_b": "M"}

