
Piaso Mcp
io.github.genecell由 GitHub 账号 genecell 发布v0.1.1更新于 Oct 28, 2026
PIASO single-cell ecosystem docs (PIASO, COSG, cytome, LARIS, cytorete) + live PIASOmarkerDB
概览
本地 stdio MCP 服务器,为编码助手提供 PIASO 单细胞组学文档、教程索引、数据集注册表以及实时 PIASOmarkerDB 查询。
- 可以做什么
- 检索并阅读 PIASO 生态文档与 API 参考,比较各组件对同一任务的实现方式
- 给出安装方式,并对照已测试版本矩阵检查包版本
- 列出教程,浏览 PIASO-data 数据集注册表
- 查询实时 PIASOmarkerDB:搜索标记基因、获取标记基因、列出研究
- 适用场景
- 当助手协助进行 PIASO 生态(PIASO、COSG、cytome、LARIS、cytorete)的单细胞或空间转录组分析,需要准确的、与版本对应的 API 说明、安装步骤或标记基因查询时适用。
- 运行要求
- 通过 uvx 以 stdio 在本地运行,需先安装 uv 工具链并加入 PATH,首次启动会下载软件包。无需额外 Python 包、账号、API 密钥或环境变量。无法在 claude.ai 网页版使用,那里需改用单独的 Skill 上传。
安装
在 SourceWeft 中
- 打开 控制台中的 Piaso Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
PIASO-for-agents
Make the PIASO single-cell omics ecosystem first-class for any coding agent — Claude Code, Cursor, Copilot, Codex, Windsurf, Cline, Aider — from one canonical, agent-neutral knowledge pack.
Maintained by The Fishell Laboratory (Harvard
Medical School / Broad Institute). Every agent-specific format (Claude skill, Cursor rules, AGENTS.md,
llms.txt, MCP server) is a generated artifact built from canonical/ — never a
hand-maintained copy. A CI drift check (python build.py --check) fails the build if any
dist/ artifact is out of sync with canonical/, and the code-block test suite runs every
canonical block against the pinned component versions on every push, nightly, and on
component releases, so the guidance cannot silently rot.
Hub v0.2.2 · piaso-mcp 0.1.1 — tested against piaso-tools 1.2.6 · cosg 1.2.0 · cytome 0.3.6 · laris 0.14.0 · emergene 1.0.2 · cytorete 0.1.1 · COSGR 1.0.0 · cytome (R) 0.1.3 (2026-09-29).
The ecosystem
Independently-installable packages under github.com/genecell, in
four layers. Dependencies run one way (cytorete → piaso-tools → cosg + cytome; laris → cosg),
and pip install piaso-tools already brings COSG and cytome.
Each component is independently installable — a COSG-only, cytome-only or LARIS-only user is
a first-class citizen, and every canonical/components/*.md assumes nothing else is installed.
The hub's unique value is documenting how the components compose, and the cross-component
choices no single repo can make: SCALAR vs LARIS (dissociated vs spatial ligand–receptor —
same CellChatDB either way), AnnData vs .cytome (in memory vs streamed — same function
calls), COSG vs cytorete (marker genes vs the TFs that drive them), Python vs R (COSG →
COSGR, cytome → cytome (R); everything else via a .cytome handoff), and which annotation
route (marker sets, reference projection, joint embedding, or a gene list against PIASOmarkerDB).
Inside piaso-tools
Full reference: canonical/components/piaso.md. Every function
takes data= as an AnnData, an open cytome Dataset or a .cytome path.
Methods introduced by PIASO
Pipeline building blocks (scanpy-free)
What an agent gets
canonical/overview.md— the router: task → component table and the seven decision rules.canonical/components/— self-sufficient references for PIASO, COSG (+ COSGR), cytome (+ R), LARIS, Emergene, cytorete, with executed code blocks and the data-object contract of every call.canonical/workflows/— end-to-end scRNA-seq (scanpy-free), streaming on a.cytome, marker-based annotation + reference projection, PIASOmarkerDB annotation, ligand–receptor (SCALAR and LARIS), spatial transcriptomics, gene regulatory networks.canonical/gotchas.md(layer contracts, deprecated names, theas_dicttuple, species-cased prefixes),canonical/data.md(registry, fixtures), and the piaso.org tutorial index (generated into every target) so the agent can point the user at the executed tutorial for their platform.
Install (per agent)
Users work in their own analysis repos, so drop the right snippet into your setup. All of
these are generated from canonical/ and live under dist/.
Claude Code — add this repo as a plugin marketplace and install the piaso skill:
Claude.ai (web app) — upload the generated skill as a Skill (Pro/Max/Team/Enterprise, with
code execution enabled). Download the dist/claude/skills/piaso/
folder, zip it, then in claude.ai go to Settings → Capabilities → Skills → Create skill and
upload the zip:
The local MCP server below is stdio-only, so it does not work in the web app — use the Skill
upload (or the llms.txt URL) on claude.ai; use MCP in Claude Code / Cursor / Codex.
Cursor — download the rule into your project's .cursor/rules/:
GitHub Copilot — copy the instructions file into your repo:
OpenAI Codex — add the AGENTS.md pointer below to your project's AGENTS.md (Codex's
primary instructions file), and/or register the MCP server (see the MCP server section
below — Codex is covered there).
AGENTS.md (Aider / Zed / Codex / any AGENTS.md-aware agent) — append the hub pointer to
your project's AGENTS.md (or copy dist/agents/AGENTS.md):
This project uses the PIASO single-cell omics ecosystem. Agent-neutral, tested docs for every component (Python + R), plus the cross-component decision rules, live at https://github.com/genecell/PIASO-for-agents
llms.txt (any model with web access) — point the tool at:
These are the hub's dist/llms/piaso.org/ files (absolute links); the relative-link versions are
at dist/llms/.
MCP server
piaso-mcp serves the PIASO ecosystem docs, the piaso.org tutorial index, the PIASO-data
registry and the live PIASOmarkerDB — no Python packages required. Tools: search_docs,
get_api, compare_implementations, resolve_install, list_tutorials, version_matrix,
check_versions (PyPI vs tested versions), list_datasets / get_dataset (live registry), and
the live DB proxies query_marker_db, get_markers, list_studies. It is a local stdio
server (not a hosted remote endpoint), so it works in Claude Code / Cursor / VS Code / Windsurf /
Zed / Codex / Cline, but not in the claude.ai web app — use the Skill upload there.
Prerequisite (all clients): uv
The server runs via uvx, which ships with uv. This is the one thing "no packages
needed" doesn't cover — install it once:
Then confirm it's reachable: uvx --version. If that says "command not found", uv's bin
dir isn't on your PATH — either add it, or replace "uvx" in the configs below with the
absolute path from which uvx (Windows: where uvx). First launch downloads the package
(~30 s); later launches are cached.
The MCP config key and file location differ per client — pick your agent below.
Claude Code — key mcpServers
Easiest is the CLI (no hand-editing, and it handles the PATH issue in one line):
Or edit ~/.claude.json (user) / project .mcp.json:
Cursor — key mcpServers
File: ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Same shape as Claude Code:
Enable it under Settings → MCP.
Windsurf — key mcpServers
File: ~/.codeium/windsurf/mcp_config.json (open via Settings → Cascade → MCP Servers → Manage → raw config):
VS Code (GitHub Copilot, Agent mode) — key servers (note: not mcpServers)
Workspace file .vscode/mcp.json, or user settings.json under "mcp". VS Code also wants a type:
Or one-shot from the terminal:
Zed — key context_servers (different shape)
File: ~/.config/zed/settings.json. Zed nests under context_servers and marks custom servers with "source": "custom":
Codex (OpenAI Codex CLI) — TOML, table [mcp_servers.<name>] (not JSON!)
Codex is the odd one out: its config is TOML, in ~/.codex/config.toml. Add a table:
Or use the CLI (handles the file for you):
Cline / Continue (VS Code extensions) — key mcpServers
Cline: MCP Servers → Configure (writes cline_mcp_settings.json). Continue: ~/.continue/config (mcpServers). Both use the standard shape:
After configuring, restart the client — MCP tools are loaded at startup, so a running
session won't see the server until it's relaunched. If it doesn't connect, 99% of the time
it's the uv/PATH prerequisite above.
Repository layout
Related tooling (independent projects, listed on piaso.org's Agents and project tooling page): stato — structured expertise management for long computational projects; PlanDrop — plan-review-execute for Claude Code on remote machines.
Changelog
See CHANGELOG.md — hub content releases and piaso-mcp versions, with the component versions each was tested against.
Citation
Cite each component by its own paper — see canonical/meta.yaml.
PIASO: Wu, S.J., Dai, M. et al. Nature (2026), DOI 10.1038/s41586-025-09996-8. COSG /
COSGR: Dai M, Pei X, Wang X-J, Briefings in Bioinformatics 23(2):bbab579 (2022). LARIS: Dai M,
Török T, Sun D, et al., bioRxiv (2025), DOI 10.1101/2025.11.26.690796. cytome and cytorete have
no paper yet — cite the repositories.
Maintainers
Developed and maintained by The Fishell Laboratory (Harvard Medical School / Broad Institute). Contact: Min Dai — [email protected].
License
BSD-3-Clause. See LICENSE.
来源:README.md,提交 2f42f94
工具
0版本历史
2- v0.1.1最新Sep 29, 2026
- v0.1.0Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。