Bio_MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bio_MCP generate a volcano plot from minimal.csv with p=0.05"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
生信 MCP 平台
本项目把现有的 volcano.R 封装为一个可发现、可异步执行、可追踪产物的 MCP Plot 工具。当前聚焦单机 MVP:
MCP JSON-RPC:/mcp
REST 调试接口:/api
工具注册:扫描 bioinformatics/**/manifest.yaml
Job:SQLite 持久化、单 Worker、取消、超时和日志
执行器:local(直接调用 Rscript)或 docker(独立容器)
产物:本地 artifacts/,通过 artifact://job-id/path 引用
快速开始
python -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt
mkdir -p data/input artifacts data/work
cp bioinformatics/plots/volcano/examples/minimal.csv data/input/
export BIO_MCP_EXECUTOR=local
uvicorn apps.mcp_api.main:app --host 127.0.0.1 --port 8000健康检查和工具发现:
curl http://127.0.0.1:8000/health
curl http://127.0.0.1:8000/api/tools提交任务时,input_file 必须是 data/input 下文件的绝对 file URI:
curl -X POST http://127.0.0.1:8000/api/jobs \
-H 'content-type: application/json' \
-d '{
"unit": "volcano",
"inputs": {
"input_file": "file:///绝对路径/MCP/data/input/minimal.csv"
},
"parameters": {
"feature_column": "gene_id",
"p": 0.05,
"drawFC": 1
}
}'返回 job_id 后查询:
curl http://127.0.0.1:8000/api/jobs/<job-id>
curl http://127.0.0.1:8000/api/jobs/<job-id>/artifactsMCP Client 配置见 部署教程.md,完整约束见 开发规范.md。
Related MCP server: SPIRED-Stab MCP
目录
apps/mcp_api/ MCP API、注册表、Store、Runner
bioinformatics/plots/volcano volcano 单元、Schema、Dockerfile、样例
check/ 通用文件检查和 check_volcano_input
data/input/ 允许提交的本地输入根目录
data/work/ Job 临时工作目录
artifacts/ Job 产物
deploy/ Compose 和 API 镜像
tests/ 注册表、协议和契约测试
项目计划.md 分阶段架构和验收计划
文件流向图.md 输入检查、Runner、Docker 和产物流向
部署教程.md 本地、Compose、Docker 执行部署
开发规范.md manifest、CLI、测试和安全规范执行模式
local 模式适合开发:Runner 直接调用宿主机 Rscript,速度快但隔离较弱。
docker 模式适合验证容器契约:
docker build -f bioinformatics/plots/volcano/Dockerfile \
-t local/bio/volcano .
BIO_MCP_EXECUTOR=docker uvicorn apps.mcp_api.main:app \
--host 127.0.0.1 --port 8000Docker 模式要求 Docker CLI 可用,并且 Runner 能访问 Docker Engine。生产环境不要把 Docker Socket 直接暴露给公网 API,应拆出受策略约束的 Runner Service。
验证
python -m compileall -q apps
pytest -q
ruff check apps testsR 端到端测试需要安装 volcano.R 依赖;Docker 构建会在镜像内安装公开 R 包。
Available Tools
8 toolscancel_jobC
取消排队或正在运行的任务。
Inputs: job_id (required).
check_input_fileA
在投递前检查输入文件和业务列;不合规时返回给 AI 的修复建议。
Inputs: unit (required), inputs (required), version, parameters.
describe_toolC
查看工具版本、Schema、镜像和资源限制。
Inputs: name (required), version.
get_job_logsC
读取任务日志。
Inputs: job_id (required), offset.
get_job_statusC
查询任务状态和错误信息。
Inputs: job_id (required).
list_job_artifactsC
列出任务产物及 artifact URI。
Inputs: job_id (required).
list_toolsC
列出已注册的生信工具和绘图单元。
Inputs: category.
submit_jobC
异步提交一个工具任务并立即返回 job_id。
Inputs: unit (required), inputs (required), version, parameters, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a distinct purpose: listing tools, describing them, submitting jobs, checking input, monitoring status/logs, canceling, and listing artifacts. No overlaps.
All tools follow a consistent verb_noun pattern in snake_case (e.g., list_tools, submit_job, get_job_status). No deviations.
8 tools is well-scoped for a bioinformatics job submission and management server. Each tool serves a necessary function without bloat.
Covers the full lifecycle: discovery (list, describe), submission (check, submit), monitoring (status, logs, cancel), and retrieval (artifacts). No obvious gaps.
Related MCP Connectors
Scientific plotting for bioinformatics with about 160 free modules. Anonymous access supported.
Run ANUGA flood simulations, track progress, and retrieve results on Hydrata Cloud.
PhageAgent MCP: PhageScope phage database and analysis tasks. Sign up at phageagent.deepomics.org.
Annotate and classify human genetic variants with GeneBe (ACMG, gnomAD, ClinVar). Research use only.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables protein sequence analysis and structure prediction by extracting ESM-2 embeddings and batch processing FASTA files via Docker. It provides tools for large-scale embedding extraction, job monitoring, and model management within an MCP-compatible environment.-
- FlicenseNot gradedqualityDmaintenanceEnables protein stability prediction ($DeltaDelta$G and $Delta$Tm) and systematic mutation analysis using the SPIRED-Stab deep learning model. It supports single variant analysis, batch processing, and job monitoring via Docker-based inference.-
- FlicenseNot gradedqualityCmaintenanceEnables AI-powered protein structure prediction and variant analysis via Docker, with tools for submitting predictions, batch processing variants, and monitoring jobs.2-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate publication-quality bioinformatics visualizations (volcano plots, PCA, heatmaps, etc.) directly from raw biological data.MIT