STAMP
by KatherLab·★ 119·综合分 47
STAMP 是一个支持 MCP 的计算病理学工具,用于组织病理图像分析和生物标志物预测。
概述
STAMP 是一个端到端的弱监督深度学习管道,专为组织病理学图像分析设计。它提供从全幻灯片图像处理到生物标志物预测的完整工作流,不需要像素级标注。该工具支持多种基础模型,可处理分类、回归和生存分析任务。通过 MCP 支持,STAMP 可作为智能工具集成到 AI 工作流中,用于计算病理学研究。
试试问 AI
装完之后,这里有 7 个你可以让 AI 做的事:
什么时候选它
病理研究人员需要经过验证且同行评审的工作流程,从全幻灯片图像中发现生物标志物。
什么时候不要选它
如果您需要立即集成 MCP;STAMP 仅将 MCP 支持作为未来功能提及,尚未实现。
此 server 暴露的工具
从 README 抽取出 9 个工具initCreate a new STAMP configuration file
preprocessPreprocess whole-slide images into feature vectors
encode_slidesEncode patch-level features into slide-level embeddings
encode_patientsEncode features into patient-level embeddings
trainTrain a Vision Transformer model
crossvalTrain a Vision Transformer model with cross validation
deployDeploy a trained Vision Transformer model
statisticsGenerate AUROCs and AUPRCs with 95%CI for a trained model
heatmapsGenerate heatmaps for a trained model
说明:Tool names extracted from CLI documentation but no MCP-specific tool signatures provided. MCP support is mentioned but not detailed in this README.
可对比工具
安装
安装
STAMP 需要 [uv](https://docs.astral.sh/uv/) 进行安装。项目支持 CPU 和 GPU 安装,有以下选项:
# 安装 uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# 克隆并设置 STAMP
git clone https://github.com/KatherLab/STAMP.git
cd STAMP
# GPU 安装
uv sync --extra gpu
source .venv/bin/activate
# CPU 安装
uv sync --extra cpu
source .venv/bin/activate对于 Claude Desktop 集成:
{
"mcpServers": {
"stamp": {
"command": "uv",
"args": ["run", "--package", "stamp", "--", "mcp"],
"env": {
"PYTHONPATH": "/path/to/STAMP"
}
}
}
}FAQ
- 运行 STAMP 需要什么计算资源?
- STAMP 可以在 CPU 和 GPU 系统上运行。GPU 安装需要 CUDA 13.0 和兼容的 NVIDIA 驱动程序(版本 580 或更高)。该工具旨在处理大型数据集,并可在配备 SLURM 的 HPC 系统上部署。
- STAMP 的 MCP 集成如何工作?
- STAMP 包含一个 'mcp/' 模块,能够与模型上下文协议 (MCP) 集成。这使得该工具可以作为 MCP 服务器运行,将其计算病理学功能暴露给 AI 工作流。
STAMP 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。